The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

The requested URL returned error: 401 while accessing https

Ymen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 30, 2016

This question is in reference to Atlassian Documentation: 403 while accessing https://{username}@bitbucket.org/{username}/{repo slug}.git/info/refs

#git push -u origin --all
Password:
error: The requested URL returned error: 401 while accessing https://username@bitbucket.org/username/reponame.git/info/refs

fatal: HTTP request failed

--Question : What could be the reason. This is my first upload

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Andrew Seidel
July 29, 2016

Did you end up resolving this Yash? In the past we had this error due to it being setup under a different origin account, so we'd switch it using this command:

git remote set-url origin https://username@bitbucket.org/username/cms.git

This is not working anymore to resolve this error.

Amod Kaveeshwar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2017

I have similar issue.

 

 Errors getting changes for BIOS-API0479-24 
(com.atlassian.bamboo.repository.RepositoryException : java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://bamboo-user03:********@git.okapi-np.in.telstra.com.au/BIOS/topology-service-okapi.git failed with code 128. Working directory was [.]., stderr: [error: The requested URL returned error: 401 while accessing https://bamboo-user03:********@git.okapi-np.in.telstra.com.au/BIOS/topology-service-okapi.git/info/refs, , fatal: HTTP request failed])

 

what could be the issue?

2 votes
ndamico-schnucks
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 26, 2018

I have this issue, and the first suggestion did not work. (git remote set-url origin https://username@bitbucket.org/username/cms.git)

Any ideas?

TAGS
AUG Leaders

Atlassian Community Events