# Unable to retry username/password for remote git repository

**URL:** <https://discourse.nodered.org/t/unable-to-retry-username-password-for-remote-git-repository/14842>\
**Category:** General\
**Created:** [28 August 2019 03:28 UTC](https://discourse.nodered.org/t/unable-to-retry-username-password-for-remote-git-repository/14842 "2019-08-28T03:28:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cuxcrider](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@cuxcrider](https://discourse.nodered.org/u/cuxcrider)\
**Post date:** [28 August 2019 03:28 UTC](https://discourse.nodered.org/t/unable-to-retry-username-password-for-remote-git-repository/14842/1 "2019-08-28T03:28:18Z")

</div>

I have a remote repository at bitbucket for my Node-RED project. I was trying to connect to the repository, but accidentally entered the wrong password in the popup that appears when you click on the branch in the "manage remote branch" dialog. Now if I click on the branch the popup just appears and says:

An unexpected error occurred:  
remote: Invalid username or password fatal: Authentication failed for '[https://bitbucket.org/](https://bitbucket.org/)......

It doesn't give me the option to retry the username/password.

This has happened in the past and one time I basically had to create a new project and then link to the repository...I'd like to avoid that this time.

thanks for any advice!

---

<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:** [28 August 2019 06:57 UTC](https://discourse.nodered.org/t/unable-to-retry-username-password-for-remote-git-repository/14842/2 "2019-08-28T06:57:19Z")

</div>

That is odd - we specifically look for that error message so we can reprompt for credentials.

Maybe the precise wording of the error is subtly different from bitbucket... Will investigate.

If you get into this state again, restart Node-RED. We only store git credentials in memory, so a restart will flush whatever we think is the right credentials and we'll reprompt for them.

---

<div class="post-metadata">

**Author:** ![cuxcrider](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@cuxcrider](https://discourse.nodered.org/u/cuxcrider)\
**Post date:** [28 August 2019 15:59 UTC](https://discourse.nodered.org/t/unable-to-retry-username-password-for-remote-git-repository/14842/3 "2019-08-28T15:59:31Z")

</div>

thanks, restarting nodered worked to get the password dialog up again. I also confirmed that the cause is definitely entering the correct username, but incorrect password, and I am using bitbucket.

---

<div class="post-metadata">

**Author:** ![boskoe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/boskoe/32/13208_2.png) [@boskoe](https://discourse.nodered.org/u/boskoe)\
**Post date:** [31 July 2020 00:18 UTC](https://discourse.nodered.org/t/unable-to-retry-username-password-for-remote-git-repository/14842/4 "2020-07-31T00:18:47Z")

</div>

I'm having the same problem with GitHub and Nodered 1.1.1
