-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
Potential BugSomething that might be a bug, but needs validation and confirmation it can be reproduced.Something that might be a bug, but needs validation and confirmation it can be reproduced.triaged
Description
What happened?
By running php console diagnostics:run I get errors, although configuration is safe. Errors are repeated inside administration web page. All locations returned a 302 redirect.
In my situation, location are configured for a 403 error. But, before this there's a IAM cloack redirecting to authentication page. So, it's a false positive.
Also a curl timeout was detected.
What should happen?
Just throw an error, when locations return 2xx status code.
How can this be reproduced?
- Configure a 5.3.1 installation
- set a http server redirect rule
- check the console.
Matomo version
5.3.1
PHP version
8.1
Server operating system
Centos7
What browsers are you seeing the problem on?
Not applicable (e.g. an API call etc.)
Computer operating system
No response
Relevant log output
Required Private Directories:
- WARNING Checking the URL https://test-matomo.example.com/config/config.ini.php failed: curl_exec: Operation timed out after 2767 milliseconds with 0 out of -1 bytes received. Hostname requested was: test-matomo.example.com
- ERROR https://test-matomo.example.com/tmp/cache/tracker/matomocache_general.php
Recommended Private Directories:
- ERROR https://test-matomo.example.com/tmp/
- ERROR https://test-matomo.example.com/tmp/empty
- ERROR https://test-matomo.example.com/lang/en.json
- INFORMATIONAL We found that the above URLs are accessible via the browser, but we recommend they should not be. If possible, please restrict access to them. Read this to learn more.Validations
- Read our Contributing Guidelines.
- Follow our Security Policy.
- Check that there isn't already an issue that reports the same bug to avoid creating duplicates.
- The provided steps to reproduce is a minimal reproducible of the Bug.
Metadata
Metadata
Assignees
Labels
Potential BugSomething that might be a bug, but needs validation and confirmation it can be reproduced.Something that might be a bug, but needs validation and confirmation it can be reproduced.triaged