I can not "Commit and Push" from Eclipse 2021-12
Asked by Glyndwr:

I am using Eclipse 2021-12 and am trying to "Commit and Push" to my bitbucket; however, it will no longer work. I am using my user name (not email address) and Atlassian password. However I get the message:

'Push to AwardTracker_NJE - origin' has encountered a problem.

Can't connect to any repository:

https//Glyndwr@bitbucket.org/awardtrackeringapplication/butbucketstationlocations.git

(https//Glyndwr@bitbucket.org/awardtrackeringapplication/butbucketstationlocations.git: not authorized)

Details:

Can't connect to any repository: <https://Glyndwr@bitbucket.org/awardtrackingapplication/bitbucketstationlocations.git> (<https://Glyndwr@bitbucket.org/awardtrackingapplication/bitbucketstationlocations.git>: not authorized)


Answers:
author: Fabio Racobaldo _Herzum_
body: HI [@Glyndwr](/t5/user/viewprofilepage/user-id/4074695) ,

try to edit your git credentials and try again. In order to do that :

To specify credentials individually for each remote {#toc-hId--554671282}
-------------------------------------------------------------------------

1. Open Git repositories view,
2. open "`Remotes > origin > <your push url>`"
3. click "Change Credentials..."

![push menu](https://i.stack.imgur.com/42uod.png)

(From [User Guide - Resource Context Menu](http://wiki.eclipse.org/EGit/User_Guide#Resource_Context_Menu))

Hope this helps,

Fabio

comments: author: Glyndwr
body: Hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) ,

Thank you for your assistance; however, step 2 does not match with what I see on my screen when I select "Repositories". This is what I see:

![Screenshot 2022-05-22 170851.png](https://community.atlassian.com/t5/image/serverpage/image-id/198472i48887DFB85E6E4DC/image-size/large?v=v2&px=999 "Screenshot 2022-05-22 170851.png")

Kind regards,

Glyn


author: Glyndwr
body: Hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) ,

OK, I think you mean to do this in Eclipse. I did this and it requires me to enter my password. When I do I get and error message "Failed to write credentials for '<https://Glyndwr@bitbucket.org/awardtrackingapplication/bitbucketstationlocations.git>' to secure store  
No password provided."

Kind regards,

Glyn


author: Fabio Racobaldo _Herzum_
body: Hi [@Glyndwr](/t5/user/viewprofilepage/user-id/4074695) ,

yes, that operation is to Eclise side. Here a solution for your current issue <https://openwritings.net/pg/eclipse/eclipse-failed-write-credentials-your-git-repo-url-secure-store-no-password-provided>

Fabio


author: Glyndwr
body: Hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) ,

Thank you so much for your help. In my case it was untick the Windows 64 bit integration. I was then prompted to add a new password, which I did using the Atlassian password. However, I am still getting the following error when I try to Commit and Push.

Can't connect to any repository: <https://Glyndwr@bitbucket.org/awardtrackingapplication/bitbucketstationlocations.git> (<https://Glyndwr@bitbucket.org/awardtrackingapplication/bitbucketstationlocations.git>: not authorized)

Kind regards,

Glyn


author: Glyndwr
body: I still need help with this please.


author: Glyndwr
body: Some one suggest that https is no longer supported. So the git connection property in eclipse needs to change to ssh. How do I do this please?


author: Fabio Racobaldo _Herzum_
body: [@Glyndwr](/t5/user/viewprofilepage/user-id/4074695) if your bitbucket is in https you need to use https also in eclipse.

Are you sure that your account has privileges to write in that repository?


author: Glyndwr
body: [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) I was able to write to it before the resent changes. How do I check that my account has privileges to write in that repository please?


author: Glyndwr
body: This is still not working.


author: Glyndwr
body: This is still not working. Please help!


Tags: bitbucket-cloud

cloud

eclipse