com.atlassian.sal.api.net.ResponseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • *Stacktrace:* {code}2015-02-03 14:52:00,123 WARN [http-bio-8080-exec-2] [internal.integration.jira.DefaultJiraService] communicateWithJira Problem communicating with JIRA -- url: /confluence/rest/jira-integration/1.0/servers/c823ccbc-bcca-3d5d-9169-3f12fb15e747/projects | userName: admin | referer: http://localhost:8080/confluence/pages/createpage.action?spaceKey=ds&fromPageId=589832 com.atlassian.sal.api.net.ResponseException: java.net.SocketTimeoutException: Read timed out at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:376) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:84) at com.atlassian.applinks.core.auth.oauth.ThreeLeggedOAuthRequest.execute(ThreeLeggedOAuthRequest.java:54) at com.atlassian.internal.integration.jira.DefaultJiraService$5.apply(DefaultJiraService.java:451) at com.atlassian.internal.integration.jira.DefaultJiraService$5.apply(DefaultJiraService.java:445) at com.atlassian.internal.integration.jira.DefaultJiraService.communicateWithJira(DefaultJiraService.java:702) at com.atlassian.internal.integration.jira.DefaultJiraService.getProjectsAsJson(DefaultJiraService.java:445) at com.atlassian.internal.integration.jira.rest.JiraServerResource.getProjectsMeta(JiraServerResource.java:43) 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:606) {code} *Steps to Reproduce:* # Start up JIRA from source in debug mode. # Start up Confluence, and create an application link between the two instances # Set the Socket Timeout in General Configuration to, for example, 20000 (20 seconds) # Create a project and issue in JIRA # Set a breakpoint in JIRA anywhere that's convenient and hit the breakpoint # Create a new page in Confluence and open up the network tab of your Browser # Create a JIRA Issues Macro in Confluence and search for the new project. Looking in the network tab of the browser's inspector, you'll see the following URL timing out after 10 seconds: {code}http://localhost:8090/jira/rest/api/2/issue/createmeta?projects.issuetypes{code} (Even after applying the workaround from https://jira.atlassian.com/browse/CONF-36316) If you apply the {{plugin.jira-integration.remote.timeout.socket}} system property, the timeout remains at 10 seconds, as the {{ConfluenceJiraSettings}} class doesn't provide a useful implementation of {{getProperty()}}
    via by Lachlan Dally,
  • *Stacktrace:* {code}2015-02-03 14:52:00,123 WARN [http-bio-8080-exec-2] [internal.integration.jira.DefaultJiraService] communicateWithJira Problem communicating with JIRA -- url: /confluence/rest/jira-integration/1.0/servers/c823ccbc-bcca-3d5d-9169-3f12fb15e747/projects | userName: admin | referer: http://localhost:8080/confluence/pages/createpage.action?spaceKey=ds&fromPageId=589832 com.atlassian.sal.api.net.ResponseException: java.net.SocketTimeoutException: Read timed out at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:376) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:84) at com.atlassian.applinks.core.auth.oauth.ThreeLeggedOAuthRequest.execute(ThreeLeggedOAuthRequest.java:54) at com.atlassian.internal.integration.jira.DefaultJiraService$5.apply(DefaultJiraService.java:451) at com.atlassian.internal.integration.jira.DefaultJiraService$5.apply(DefaultJiraService.java:445) at com.atlassian.internal.integration.jira.DefaultJiraService.communicateWithJira(DefaultJiraService.java:702) at com.atlassian.internal.integration.jira.DefaultJiraService.getProjectsAsJson(DefaultJiraService.java:445) at com.atlassian.internal.integration.jira.rest.JiraServerResource.getProjectsMeta(JiraServerResource.java:43) 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:606) {code} *Steps to Reproduce:* # Start up JIRA from source in debug mode. # Start up Confluence, and create an application link between the two instances # Set the Socket Timeout in General Configuration to, for example, 20000 (20 seconds) # Create a project and issue in JIRA # Set a breakpoint in JIRA anywhere that's convenient and hit the breakpoint # Create a new page in Confluence and open up the network tab of your Browser # Create a JIRA Issues Macro in Confluence and search for the new project. Looking in the network tab of the browser's inspector, you'll see the following URL timing out after 10 seconds: {code}http://localhost:8090/jira/rest/api/2/issue/createmeta?projects.issuetypes{code} (Even after applying the workaround from https://jira.atlassian.com/browse/CONF-36316) If you apply the {{plugin.jira-integration.remote.timeout.socket}} system property, the timeout remains at 10 seconds, as the {{ConfluenceJiraSettings}} class doesn't provide a useful implementation of {{getProperty()}}
    via by Lachlan Dally,
    • com.atlassian.sal.api.net.ResponseException: java.net.SocketTimeoutException: Read timed out at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:376) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:84) at com.atlassian.applinks.core.auth.oauth.ThreeLeggedOAuthRequest.execute(ThreeLeggedOAuthRequest.java:54) at com.atlassian.internal.integration.jira.DefaultJiraService$5.apply(DefaultJiraService.java:451) at com.atlassian.internal.integration.jira.DefaultJiraService$5.apply(DefaultJiraService.java:445) at com.atlassian.internal.integration.jira.DefaultJiraService.communicateWithJira(DefaultJiraService.java:702) at com.atlassian.internal.integration.jira.DefaultJiraService.getProjectsAsJson(DefaultJiraService.java:445) at com.atlassian.internal.integration.jira.rest.JiraServerResource.getProjectsMeta(JiraServerResource.java:43) 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:606)
    No Bugmate found.