Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-21961

Confluence Trusted Apps fails to parse IPv6 addresses

XMLWordPrintable

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      To reproduce: run Confluence behind an IIS 7.5 Application Request Routing (reverse proxy)
      which rewrites requests to http://my.confluence.domain:80 to http://localhost:8090 – then set up a Trusted Application in another app (for example JIRA Linker Plugin).

      When the app attempts to make an XMLRPC request to Confluence, it receives a 500 Internal Server Error, and the following IPAddressFormatException in the atlassian-confluence.log logs:

       com.atlassian.security.auth.trustedapps.IPAddressFormatException: "0:0:0:0:0:0:0:1" does not represent a valid IP address
      

      Also, IPv6 addresses cannot be added to the Trusted Application Details in Confluence.

      Full entry attached in log.txt

        1. log.txt
          12 kB
        2. DefaultIPMatcher.java
          9 kB
        3. DefaultIPMatcher.java
          8 kB

              shaffenden Steve Haffenden (Inactive)
              0d7677977624 Graham Poulter
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: