-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Low
-
None
-
Affects Version/s: 8.8.0, 8.7.1, 8.7.2, 7.19.27
-
None
-
1
-
Severity 3 - Minor
Issue Summary
Log analyzer failed to scan the logs since Confluence 8.7.1
This is reproducible on Data Center: yes
Steps to Reproduce
- Install Confluence 8.7.1
- Setup Confluence normally
- Once setup is completed;
- Go to General Configuration > Troubleshooting and support tools
- Select Log analyzer tab
- Click Scan
Expected Results
Log analyzer proceeds to scan the selected log.
Actual Results
There's an error displaying "Scan failed" in the UI:
Error message below can be found in the log:
2024-02-12 15:27:11,078 WARN [http-nio-6871-exec-6 url: /c871/plugins/servlet/troubleshooting/view/hercules/view; user: admin] [troubleshooting.stp.hercules.SupportToolsHerculesScanAction] prepare Log scan failed -- url: /c871/plugins/servlet/troubleshooting/view/hercules/view | userName: admin | referer: http://localhost:6871/c871/plugins/servlet/troubleshooting/view/ | traceId: d877b43b9152355b 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 ... 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
Test Environments
Tested on the Confluence versions below:
- Confluence 8.5.5

- Confluence 8.6.2

- Confluence 8.7.1

- Confluence 8.7.2

- Confluence 8.8.0

ATST Version doesn't matter
Despite updating ATST, the affected Confluence versions above don't change:
- Confluence 8.6.2 with ATST v1.51.2

- Confluence 8.7.1 with ATST v1.51.2

Workaround
- Go to General Configuration > Allowlist
- Add a new entry with the attributes below:
Type Domain name Expression https://confluence.atlassian.com Allow incoming Not Required Allow anonymous users Not Required
Make sure the URL in Expression doesn't end with a trailing slash (/)
- duplicates
-
CONFSERVER-93645 Issue with Confluence Log analyser
-
- Closed
-