Hi guys,
I am very new to Git and Bamboo.. I have created a test repo on Git, able to access it from eclipse. Now I want to set up it in Bamboo. But somehow not able to connect. Getting error - "cannot open git-upload-pack"
The log file prints only below -
2018-09-17 12:22:23,835 INFO [http-nio-8085-exec-17] [RepositoryResource] Testing connection to repository (type: Git, location: http://bitbucket.org/devdatta_g/repo1.git)
2018-09-17 12:22:27,776 INFO [http-nio-8085-exec-13] [AccessLogFilter] dev POST http://localhost:8085/rest/analytics/1.0/publish/bulk 582108kb
2018-09-17 12:22:44,852 INFO [http-nio-8085-exec-17] [RepositoryResource] Failed to connect to repository (type: Git, location: http://bitbucket.org/devdatta_g/repo1.git, time: 21.02 s, errors: [http://bitbucket.org/devdatta_g/repo1.git: cannot open git-upload-pack])
Please assist. Thank you in advance.
Hi!
Could you try use the link git@bitbucket.org:devdatta_g/repo1.git or
git://bitbucket.org/devdatta_g/repo1.git instead of http link?
Cheers,
Gonchik Tsymzhitov
Hi Gonchik,
Thanks for your reply. After changing url to either of you suggested, I am getting
git://bitbucket.org/devdatta_g/repo1.git: Connection timed out: connect
The log say -
2018-09-17 18:50:56,224 INFO [http-nio-8085-exec-22] [RepositoryResource] Failed to connect to repository (type: Git, location: git://bitbucket.org/devdatta_g/repo1.git, time: 21.02 s, errors: [git://bitbucket.org/devdatta_g/repo1.git: Connection timed out: connect])
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dev,
Could you link repository as Bitbucket Cloud
https;//{base_url}/admin/configureLinkedRepositories!doDefault.action
Hope it helps.
Cheers,
Gonchik Tsymzhitov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gonchik,
Tried this way too.. Now getting below error.
Log say -
2018-09-17 19:15:24,738 ERROR [http-nio-8085-exec-13] [ThrowableExceptionMapper] Uncaught exception thrown by REST service: java.net.ConnectException: Connection timed out: connect
java.lang.RuntimeException: java.net.ConnectException: Connection timed out: connect
at com.atlassian.bamboo.rest.utils.RESTCall.execute(RESTCall.java:179)
at com.atlassian.bamboo.plugins.bitbucket.impl.BitbucketApiServiceImpl.getXmlResponseFromUrl(BitbucketApiServiceImpl.java:171)
at com.atlassian.bamboo.plugins.bitbucket.impl.BitbucketApiServiceImpl.getPublicRepositories(BitbucketApiServiceImpl.java:77)
at com.atlassian.bamboo.plugins.bitbucket.rest.resource.BitbucketResource.lambda$getAvailableRepositories$0(BitbucketResource.java:82)
at com.atlassian.bamboo.plugins.bitbucket.rest.resource.BitbucketResource.executeCall(BitbucketResource.java:261)
at com.atlassian.bamboo.plugins.bitbucket.rest.resource.BitbucketResource.getAvailableRepositories(BitbucketResource.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
Thanks for your time. Regards,
Dev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dev,
well, let's check from server connection like
telnet bitbucket.org 443
telnet bitbucket.org 22
If something broken, let's check firewall etc.
Cheers,
Gonchik Tsymzhitov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.