com.atlassian.sal.api.net.ResponseStatusException: Unexpected response received. Status code: 500

Atlassian JIRA | Janet Albion [Atlassian] | 3 years ago
  1. 0

    Steps to reproduce: # install JIRA 6.1.5 # install Bamboo 5.3. Make sure the "Enable XSRF protection" is enabled via _Bamboo Admin > Security > Security Settings >_ # integrate JIRA with Bamboo using Oauth authentication OR Basic Access OR Trusted Application # in the JIRA UI, it will shows that JIRA can't connect to Bamboo as per screenshot Error1.png. However, after disabling the XSRF in Bamboo, it will works immediately and show some build of empty build as per shown in ExpectedBehaviour.png In JIRA logs: {code} 2013-12-17 21:26:02,588 http-bio-9615-exec-15 WARN admin 1286x511x1 n79bat 127.0.0.1 /secure/ViewBambooPanelContent.jspa [ext.bamboo.web.ViewBambooPanelContent] Unable to to connect to Bamboo server. Nothing will be shown. com.atlassian.sal.api.net.ResponseStatusException: Unexpected response received. Status code: 500 at com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle(ApplicationLinksStringReturningResponseHandler.java:19) at com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle(ApplicationLinksStringReturningResponseHandler.java:13) at com.atlassian.applinks.core.auth.oauth.OAuthApplinksReturningResponseHandler.handle(OAuthApplinksReturningResponseHandler.java:51) {code} In Bamboo log: {code} 2013-12-17 21:26:02,575 ERROR [http-bio-8085-exec-25] [FiveOhOh] 500 Exception was thrown. java.lang.IllegalArgumentException: XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_COOKIE). at com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor.doIntercept(BambooXsrfTokenInterceptor.java:64) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) {code}

    Atlassian JIRA | 3 years ago | Janet Albion [Atlassian]
    com.atlassian.sal.api.net.ResponseStatusException: Unexpected response received. Status code: 500
  2. 0

    Steps to reproduce: # install JIRA 6.1.5 # install Bamboo 5.3. Make sure the "Enable XSRF protection" is enabled via _Bamboo Admin > Security > Security Settings >_ # integrate JIRA with Bamboo using Oauth authentication OR Basic Access OR Trusted Application # in the JIRA UI, it will shows that JIRA can't connect to Bamboo as per screenshot Error1.png. However, after disabling the XSRF in Bamboo, it will works immediately and show some build of empty build as per shown in ExpectedBehaviour.png In JIRA logs: {code} 2013-12-17 21:26:02,588 http-bio-9615-exec-15 WARN admin 1286x511x1 n79bat 127.0.0.1 /secure/ViewBambooPanelContent.jspa [ext.bamboo.web.ViewBambooPanelContent] Unable to to connect to Bamboo server. Nothing will be shown. com.atlassian.sal.api.net.ResponseStatusException: Unexpected response received. Status code: 500 at com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle(ApplicationLinksStringReturningResponseHandler.java:19) at com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle(ApplicationLinksStringReturningResponseHandler.java:13) at com.atlassian.applinks.core.auth.oauth.OAuthApplinksReturningResponseHandler.handle(OAuthApplinksReturningResponseHandler.java:51) {code} In Bamboo log: {code} 2013-12-17 21:26:02,575 ERROR [http-bio-8085-exec-25] [FiveOhOh] 500 Exception was thrown. java.lang.IllegalArgumentException: XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_COOKIE). at com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor.doIntercept(BambooXsrfTokenInterceptor.java:64) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) {code}

    Atlassian JIRA | 3 years ago | Janet Albion [Atlassian]
    com.atlassian.sal.api.net.ResponseStatusException: Unexpected response received. Status code: 500
  3. 0

    YACC Crashing for some users at push when matching JIRA ticket.

    GitHub | 1 year ago | pphilbey
    com.atlassian.sal.api.net.ResponseStatusException: Unexpected response received. Status code: 400
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    YACC Crashing for some users at push when matching JIRA ticket.

    GitHub | 1 year ago | pphilbey
    com.atlassian.sal.api.net.ResponseStatusException: Unexpected response received. Status code: 400

    Root Cause Analysis

    1. com.atlassian.sal.api.net.ResponseStatusException

      Unexpected response received. Status code: 500

      at com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle()
    2. com.atlassian.applinks
      OAuthApplinksReturningResponseHandler.handle
      1. com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle(ApplicationLinksStringReturningResponseHandler.java:19)
      2. com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle(ApplicationLinksStringReturningResponseHandler.java:13)
      3. com.atlassian.applinks.core.auth.oauth.OAuthApplinksReturningResponseHandler.handle(OAuthApplinksReturningResponseHandler.java:51)
      3 frames