-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
None
-
Affects Version/s: 8.7.1, 7.19.21, 8.5.8
-
None
-
11
-
Severity 2 - Major
-
39
Issue Summary
Issue with Confluence Log analyser
This is reproducible on Data Center: yes
Steps to Reproduce
- 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
- Login as admin.
- Go to Allowlist.
- Add the url https://confluence.atlassian.com/download/attachments/179443532/confluence_regex_v2.xml with Type Exact match.
- Attempt again to run the Log Analyser.
Fix
Updating ATST plugin to the latest version will fix the issue .
- is duplicated by
-
CONFSERVER-94486 Log analyzer failed to scan the logs since Confluence 8.7.1
-
- Closed
-
- mentioned in
-
Page Loading...
- relates to
-
ATSTPLUS-335 Loading...