Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-21961

Confluence Trusted Apps fails to parse IPv6 addresses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • None
    • None
    • Confluence 3.4.9, JIRA 4.2.4, JDK 6u24 i586, reverse-proxied behind IIS 7.5 on Windows Server 2008 R2 64-bit.

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? 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. DefaultIPMatcher.java
          8 kB
        2. DefaultIPMatcher.java
          9 kB
        3. log.txt
          12 kB

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

                Created:
                Updated:
                Resolved: