Authentication failed to bitbucket

前端 未结 25 1133
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-22 23:29

I\'m trying to push my project via the https protocol on bitbucket using sourcetree.
But I can\'t connect to bitbucket with my login and password (which work on the webs

25条回答
  •  一整个雨季
    2020-12-23 00:15

    I recently had a similar issue with SourceTree: any time I tried to push/pull/fetch to/from the remote origin I would get an authentication error (using SourceTree with Stash). Sometimes I would be challenge in Stash with a CAPTCHA but it never made a difference if I provided the correct information or not.

    For me, we're using SourceTree and Stash in a corporate environment; user accounts are based on network credentials. Part of our network security requires us to change those passwords on a regular basis.

    I was operating under the assumption that SourceTree/Stash was "aware" of any change made to my network password. But apparently -- at least in this instance -- it was not.

    To fix, all I needed to do was:

    Tools > Options > Authentication > Edit (Edit Password)

    I set the password to match my current network password and everything began working as expected.

    Not sure if this helps the OP but I hope it may help someone else looking for answers to a similar issue.

提交回复
热议问题