java.lang.RuntimeException: BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"]

Atlassian JIRA | Zulfadli Noor Sazali [Atlassian] | 3 years ago
  1. 0

    External gadgets do not work on JIRA 6.1.3 when Trusted Applications is configured between two applications. However, oAuth authentication seems to be working fine. This issue can occur in a variety of gadgets (i.e. [Overdue Review gadget|https://confluence.atlassian.com/display/CRUCIBLE/Using+Crucible+gadgets], [Confluence Page gadget|https://confluence.atlassian.com/display/DOC/Confluence+Page+Gadget]) among different products, follow is the description of how to replicate this issue with JIRA and Confluence. h4. Steps to reproduce # Setup JIRA 6.1.3 and Confluence 5.3.4 # Configure 'Trusted Application' application link between the two applications # Add "Show Confluence Page" gadget on JIRA # You will face error on the gadget as example in [^gadget.jpg] with HTTP Status 401 Unauthorized Error. If DEBUG is enabled on Confluence, the following will be thrown {noformat}2013-12-10 18:11:10,724 DEBUG [http-8090-17] [auth.trustedapps.filter.TrustedApplicationFilterAuthenticator] setFailureHeader BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] java.lang.RuntimeException: BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.setFailureHeader(TrustedApplicationFilterAuthenticator.java:247) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:73){noformat}

    Atlassian JIRA | 3 years ago | Zulfadli Noor Sazali [Atlassian]
    java.lang.RuntimeException: BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"]
  2. 0

    External gadgets do not work on JIRA 6.1.3 when Trusted Applications is configured between two applications. However, oAuth authentication seems to be working fine. This issue can occur in a variety of gadgets (i.e. [Overdue Review gadget|https://confluence.atlassian.com/display/CRUCIBLE/Using+Crucible+gadgets], [Confluence Page gadget|https://confluence.atlassian.com/display/DOC/Confluence+Page+Gadget]) among different products, follow is the description of how to replicate this issue with JIRA and Confluence. h4. Steps to reproduce # Setup JIRA 6.1.3 and Confluence 5.3.4 # Configure 'Trusted Application' application link between the two applications # Add "Show Confluence Page" gadget on JIRA # You will face error on the gadget as example in [^gadget.jpg] with HTTP Status 401 Unauthorized Error. If DEBUG is enabled on Confluence, the following will be thrown {noformat}2013-12-10 18:11:10,724 DEBUG [http-8090-17] [auth.trustedapps.filter.TrustedApplicationFilterAuthenticator] setFailureHeader BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] java.lang.RuntimeException: BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.setFailureHeader(TrustedApplicationFilterAuthenticator.java:247) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:73){noformat}

    Atlassian JIRA | 3 years ago | Zulfadli Noor Sazali [Atlassian]
    java.lang.RuntimeException: BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"]
  3. 0

    [JRA-36242] External gadgets on JIRA 6.1.3 do not work - Atlassian JIRA

    atlassian.com | 1 year ago
    java.lang.RuntimeException: BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 3617#131369704

    GitHub | 1 year ago | codeanticode
    java.lang.RuntimeException: Cannot compile vertex shader: ERROR: 0:1: '' : version '130' is not supported ERROR: 0:2: '' : #version required and missing.
  6. 0

    Failed to read old dictionary files

    GitHub | 1 year ago | mvysny
    java.lang.RuntimeException: Loader failed: java.lang.RuntimeException: Failed to run query jp:理科

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"]

      at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.setFailureHeader()
    2. com.atlassian.security
      TrustedApplicationFilterAuthenticator.setFailureHeader
      1. com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.setFailureHeader(TrustedApplicationFilterAuthenticator.java:247)
      1 frame