# Node-red project: Cannot pull from remote when repository is private

**URL:** <https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473>\
**Category:** General\
**Created:** [11 May 2020 09:26 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473 "2020-05-11T09:26:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![opatiny](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/opatiny/32/21649_2.png) [@opatiny](https://discourse.nodered.org/u/opatiny)\
**Post date:** [11 May 2020 09:26 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473/1 "2020-05-11T09:26:32Z")

</div>

Hello,

I recently started to use Node-red projects in order to have version control of my projects, and especially to be able to have my code in GitHub.

For now, I had no problems with pushing to a GitHub repository.

However, I just modified my readme on GitHub, and I wanted to pull my changes to Node-red, which didn't work. Here is how my projects tab looks like:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/5640d4cda5102e5c5f533835543eaa7833685af4.png)

Every time I click on the pull button, nothing seems to be happening, but when I check in the console, I get an error.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/c/ac426674d45dc2b078952daa59097e418d118784.png)

Is this a known issue? Could it be a configuration problem?

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [11 May 2020 09:32 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473/2 "2020-05-11T09:32:56Z")

</div>

Hi @opatiny

That is odd - you've hit the "should never happen" level of error reporting in the editor.... which isn't ideal.

Can you check the Node-RED logs to see if there's a corresponding error in there?

---

<div class="post-metadata">

**Author:** ![opatiny](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/opatiny/32/21649_2.png) [@opatiny](https://discourse.nodered.org/u/opatiny)\
**Post date:** [11 May 2020 09:40 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473/3 "2020-05-11T09:40:04Z")

</div>

Hmm, this sounds bad...

I just tried to pull from the command line and it worked perfectly.

I checked the logs and here is the error message:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/c/5c7681c01dba237ca92bfc48e923a0ef6e9bd5ac.png)

---

<div class="post-metadata">

**Author:** ![opatiny](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/opatiny/32/21649_2.png) [@opatiny](https://discourse.nodered.org/u/opatiny)\
**Post date:** [11 May 2020 09:43 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473/4 "2020-05-11T09:43:09Z")

</div>

I forgot to tell you that it is a **private repository** that I am currently working on.

Don't know if it might have any impact.

---

<div class="post-metadata">

**Author:** ![opatiny](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/opatiny/32/21649_2.png) [@opatiny](https://discourse.nodered.org/u/opatiny)\
**Post date:** [11 May 2020 09:47 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473/5 "2020-05-11T09:47:00Z")

</div>

Ok, I just tested and pulling works for one of my repositories which is public.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [11 May 2020 09:51 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473/6 "2020-05-11T09:51:32Z")

</div>

> [@opatiny](#):
>
> just tested and pulling works for one of my repositories which is public.

That is interesting. I hadn't tested with a GitHub private repo as I didn't have access to any at the time.

How are you authenticating? HTTPS or SSH keys?

---

<div class="post-metadata">

**Author:** ![opatiny](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/opatiny/32/21649_2.png) [@opatiny](https://discourse.nodered.org/u/opatiny)\
**Post date:** [11 May 2020 09:57 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473/7 "2020-05-11T09:57:29Z")

</div>

I am using SSH.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [11 May 2020 10:01 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473/8 "2020-05-11T10:01:37Z")

</div>

Thanks - I think that's enough info to try to recreate it locally, but that's going to take a bit of time. Not going to have a quick answer for you on this. Thanks for reporting. As you've already discovered, you will be able to resort to the command-line for the time being.

---

<div class="post-metadata">

**Author:** ![opatiny](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/opatiny/32/21649_2.png) [@opatiny](https://discourse.nodered.org/u/opatiny)\
**Post date:** [11 May 2020 10:03 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473/9 "2020-05-11T10:03:38Z")

</div>

That's alright, thank you for your help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [10 July 2020 10:03 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473/10 "2020-07-10T10:03:39Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
