Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Loading GitHub Repo "Invalid Username." Error

Daniel Dura June 1, 2012

I have setup a Bamboo instance locally to start experimenting with the software and I am trying to get a plan to pull from my organization's GitHub repository.

In the Plan configuration's Source Repositories page, if I put in my username without a password it seems to load all of my public repositories for selection just fine. But if I set a password, it returns with an Invalid Username error and it does not show any repositories.

Is there a step I am missing in configuring Bamboo to load my private organization's repositories?

7 answers

0 votes
James Dumay
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2012

Bamboo 4.1.2 is now available from www.atlassian.com

0 votes
Marcelo Maidana June 21, 2012

Hi, Do you guys know if this was fixed?

Thanks

Marcelo

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 14, 2012

GitHub disabled the old API. The new one is located at a different host, has different calls and a completely different response format. We hope to introduce support for new GitHub API with Bamboo 4.1.1.

0 votes
Andrew Laden June 14, 2012

Similar problem. Opened ticket BSP-7464

The tech asked me to run the following curl command

curl -u your_username:your_password -X GET http://github.com/api/v2/json/repos/show/your_repo_name

Given that github turned off the v2 API at the beginning of June, I think I see the problem......

https://github.com/blog/1090-github-api-moving-on

0 votes
Daniel Dura June 2, 2012

I contacted support, but they were unable to resolve my particular use case. The guy didn't seem to fully understand the issue as well. But in any case the workaround was to create a second GitHub account and provide it access to the organization's repository that I needed and then use those credentials when using the GitHub connector. Using that account seemed to work fine and I was able to see the repositories I needed.

The only difference between the account that wasn't working and the new one that is, is that the original non-working GitHub account has access to three organizations instead of the one that the new account does. That is the only thing I can think of off the top of my head that would maybe cause the issues.

In either case, this workaround worked for me for the time being. Hope it helps someone else.

PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 7, 2012

Daniel,

Any possibility I could ask you for your help in determining the root of the problem? If so, could I ask you to review my comments on your support ticket?

Sorry if I over-nag you :)

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 1, 2012

Which version of Bamboo is it and which protocol? I am guessing it's ssh and Bamboo older than 4.1, right?

If you upgrade to 4.1 or switch to HTTPS protocol, the problem will be gone.

0 votes
PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2012

Seems to me you're not missing any step and this might be a bug in Bamboo. You should probably contact with http://support.atlassian.com to sort that out.

Daniel Dura June 1, 2012

Thanks for the sanity check. Ill submit a support request and update this answer with the reply.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events