Issue with Confluence Log analyser

XMLWordPrintable

    • 11
    • Severity 2 - Major
    • 39

      Issue Summary

      Issue with Confluence Log analyser
      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Go to Confluence Administration > General Configuration > Troubleshooting and support tools > Log analyser > Scan

      Expected Results

      Log analyser should run and show results

      Actual Results

      Scan failed with an Error message on Confluence UI

      The below exception is thrown in the atlassian.confluence.log file:

      2023-12-14 20:53:35,319 WARN [hercules] [api.impl.sal.ConfluenceHttpClientRequestFactory] checkOutboundWhitelistForUrl The provided url- https://confluence.atlassian.com/download/attachments/179443532/confluence_regex_v2.xml is not included in the whitelist!.Please add the url to whitelist to allow access
       -- url: /c871/plugins/servlet/troubleshooting/view/hercules/execute | userName: admin | referer: http://localhost:6871/c871/plugins/servlet/troubleshooting/view/ | traceId: ac984533382d0194
      2023-12-14 20:53:36,386 WARN [http-nio-6871-exec-6 url: /c871/plugins/servlet/troubleshooting/view/hercules/execute; user: admin] [troubleshooting.stp.hercules.SupportToolsHerculesScanAction] prepare Log scan failed
       -- url: /c871/plugins/servlet/troubleshooting/view/hercules/execute | userName: admin | referer: http://localhost:6871/c871/plugins/servlet/troubleshooting/view/ | traceId: b61719c07592589b
      java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: The provided url- https://confluence.atlassian.com/download/attachments/179443532/confluence_regex_v2.xml is not included in the whitelist!.Please add the url to whitelist to allow access
      	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
      Caused by: java.lang.IllegalArgumentException: The provided url- https://confluence.atlassian.com/download/attachments/179443532/confluence_regex_v2.xml is not included in the whitelist!.Please add the url to whitelist to allow access
      	at com.atlassian.confluence.api.impl.sal.ConfluenceHttpClientRequestFactory.checkOutboundWhitelistForUrl(ConfluenceHttpClientRequestFactory.java:73)
      	at com.atlassian.confluence.api.impl.sal.ConfluenceHttpClientRequestFactory.createRequest(ConfluenceHttpClientRequestFactory.java:55)
      

      Workaround

      1. Login as admin.
      2. Go to Allowlist.
      3. Add the url https://confluence.atlassian.com/download/attachments/179443532/confluence_regex_v2.xml with Type Exact match.
      4. Attempt again to run the Log Analyser.

      Fix

      Updating ATST plugin to the latest version will fix the issue .

            Assignee:
            Murillo Ichikawa
            Reporter:
            Sushree Shailaja Satapathy
            Votes:
            7 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: