Wrong GitHub API is called from DVCS Connector.

Hola Guys!

Im getting the following exception with the DVCS Connector 1.2.2 on JIRA 5.1.2, when trying to add a github hosted organization.

The strange thing is that the connector seems to request an API v1 endpoint on github.com which doesn't exist anymore. But iwas under the impression the API calls have been changed to GitHub's API v3 in the dvcs connector v0.3. Is there a property or something which I have to change in order to get the connection to github working?

2012-11-22 10:21:18,280 http-8080-7 DEBUG jiraadmin 620x2880x2 s9glpx 141.66.19.31,141.66.17.31,127.0.0.1 /rest/bitbucket/1.0/accountInfo [bitbucket.clientlibrary.request.BaseRemoteRequestor] Failed to execute request: sun.net.www.protocol.https.DelegateHttpsURLConnection:https://github.com/api/1.0/users/escidoc

java.net.ConnectException: Connection timed out

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)

at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)

at java.net.Socket.connect(Socket.java:546)

at java.net.Socket.connect(Socket.java:495)

at sun.net.NetworkClient.doConnect(NetworkClient.java:174)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)

at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:289)

at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:346)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)

at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)

at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)

at com.atlassian.jira.plugins.dvcs.spi.bitbucket.clientlibrary.request.BaseRemoteRequestor.checkAndCreateRemoteResponse(BaseRemoteRequestor.java:136)

at com.atlassian.jira.plugins.dvcs.spi.bitbucket.clientlibrary.request.BaseRemoteRequestor.requestWithoutPayload(BaseRemoteRequestor.java:123)

at com.atlassian.jira.plugins.dvcs.spi.bitbucket.clientlibrary.request.BaseRemoteRequestor.get(BaseRemoteRequestor.java:45)

at com.atlassian.jira.plugins.dvcs.spi.bitbucket.clientlibrary.restpoints.AccountRemoteRestpoint.getUser(AccountRemoteRestpoint.java:28)

at com.atlassian.jira.plugins.dvcs.spi.bitbucket.BitbucketCommunicator.getAccountInfo(BitbucketCommunicator.java:126)

at com.atlassian.jira.plugins.dvcs.service.remote.CachingCommunicator.getAccountInfo(CachingCommunicator.java:173)

at com.atlassian.jira.plugins.dvcs.service.remote.DvcsCommunicatorProvider.getAccountInfo(DvcsCommunicatorProvider.java:30)

at com.atlassian.jira.plugins.dvcs.service.OrganizationServiceImpl.getAccountInfo(OrganizationServiceImpl.java:37)

at com.atlassian.jira.plugins.dvcs.rest.RootResource.accountInfo(RootResource.java:164)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

[...]

Thanks for you help...
Frank

1 answer

This widget could not be displayed.

Hello,

This case needs a more specific investigation. Please raise a support ticket at https://support.atlassian.com.

Lucas Lima

Atlassian Support

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

130 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you