I am not able connect github from bamboo. Installed lastest version

Pipeline testing May 24, 2019

Bamboo_error.PNG

1 comment

Victor Debone
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2019

Hello @Pipeline testing welcome to the community!

On the file `atlassian-bamboo.log`, located in the `[Bamboo home]/log` folder you might be able to find more information about the error. If you need more help, please share the lines that showed the error here :)

Pipeline testing May 24, 2019

Thank you for the response..

ERROR 

 2019-05-24 10:45:27,046 INFO [http-nio-8085-exec-3] [AccessLogFilter] kavi PUT http://localhost:8085/rest/api/latest/repository/testConnection 541503kb
2019-05-24 10:45:27,050 INFO [http-nio-8085-exec-3] [RepositoryResource] Testing connection to repository (type: GitHub repository, location: https://github.com/kaviproject/DEVOPS_Application_BAMBOOTest1.git)
2019-05-24 10:45:27,065 INFO [http-nio-8085-exec-3] [RepositoryResource] Failed to connect to repository (type: GitHub repository, location: 

https://github.com/kaviproject/DEVOPS_Application_BAMBOOTest1.git, time: 14.42 ms, errors: [Git credentials storage exception.])

This is public repository.

I am not able to connect through my GItHUB username/password credentials .. I tried connect through GIt still did not worked. Can you please help for cloning repository issue.. I installed latest version bamboo. Please let me know if you need more information

Victor Debone
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2019

I may give a deeper look into why this happening. Meanwhile, have you tried use a simple "Git" repository, without authentication?

Pipeline testing May 24, 2019

Thank you .. I tried git with username/password and none also ..NO LUCK

I provided remote git URL and same error..

 ERROR LOGS:

2019-05-24 11:27:15,487 INFO [http-nio-8085-exec-3] [AccessLogFilter] kavi GET http://localhost:8085/chain/admin/config/editRepository.action?planKey=DEV-DEV&repositoryId=851972&decorator=nothing&confirm=true&_=1558711632783 326481kb
2019-05-24 11:27:20,705 INFO [9-BAM::PlanExec:pool-15-thread-4] [DefaultErrorHandler] Recording an error: Unable to detect changes : DEV-DEV : : Git credentials storage exception.
2019-05-24 11:27:20,976 INFO [http-nio-8085-exec-11] [AccessLogFilter] kavi GET http://localhost:8085/chain/admin/config/viewChainRepositorySelectors.action?planKey=DEV-DEV&returnUrl=%2Fchain%2Fadmin%2Fconfig%2FeditChainRepository.action%3FbuildKey%3DDEV-DEV&decorator=nothing&confirm=true&_=1558711632785 291592kb
2019-05-24 11:27:23,841 INFO [http-nio-8085-exec-17] [AccessLogFilter] kavi GET http://localhost:8085/chain/admin/config/addRepository.action?planKey=DEV-DEV&selectedRepository=com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git:gitv2&decorator=nothing&confirm=true&_=1558711632786 286600kb
2019-05-24 11:27:51,998 INFO [http-nio-8085-exec-19] [AccessLogFilter] kavi PUT http://localhost:8085/rest/api/latest/repository/testConnection 516903kb
2019-05-24 11:27:52,035 INFO [http-nio-8085-exec-19] [RepositoryResource] Testing connection to repository (type: Git, location: https://github.com/kaviproject/DEVOPS_Application_BAMBOOTest1.git)
2019-05-24 11:27:52,043 INFO [http-nio-8085-exec-19] [RepositoryResource] Failed to connect to repository (type: Git, location: https://github.com/kaviproject/DEVOPS_Application_BAMBOOTest1.git, time: 7.938 ms, errors: [Git credentials storage exception.])
2019-05-24 11:27:53,853 INFO [http-nio-8085-exec-20] [AccessLogFilter] kavi POST http://localhost:8085/rest/analytics/1.0/publish/bulk 515327kb

 

Bamboo Server Edition
Version : 6.9.0

Victor Debone
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2019

Maybe some questions that will help you troubleshoot:

- Do you have permissions to the Bamboo home folder?

- Does the user that is running Bamboo has the same permissions?

- Do you have shared credentials that is being used to the same repository/GitHub? 

Pipeline testing May 24, 2019

- Do you have permissions to the Bamboo home folder?

    YES its on my local machine 

- Does the user that is running Bamboo has the same permissions?

   I have admin access to bamboo 

- Do you have shared credentials that is being used to the same repository/GitHub? 

 YES I tried to use shared credentials option from bamboo.. same error

 

Git credentials storage exception

 

 

Victor Debone
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2019

Ok.

Are you able to test other repositories or users? Also, does your git works correctly locally? Can you double check if your git configuration is done mannerly? You can verify it under Bamboo administration > Server capabilities.

Pipeline testing May 24, 2019

I am able to pull the same repository from the Jenkins.. For some reason bamboo is not pulling my repository from the Bamboo..

Here is the public repository URL:

https://github.com/kaviproject/DEVOPS_Application_BAMBOOTest1.git

Pipeline testing May 24, 2019

I have other question.. can I copy code in to the Bamboo folder directly? .. I am having issues with git and bamboo pulling 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events