Test if your server resolves its own hostname correctly by running this commands on the server’s terminal: nslookup something.de or dig something.de.
If DNS resolution fails, consider adjusting the server’s /etc/hosts file to map something.de to 127.0.0.1 or the local IP address. This will make sure the server can resolve its own domain locally.
Ensure that your server is not blocking curl requests. Sometimes firewalls can prevent outgoing HTTP/HTTPS connections, especially if they’re meant for internal use. Double-check that your server allows outgoing connections to its own hostname or loopback (127.0.0.1).
The error may be related to the curl configuration on your server. To test curl directly, run the following command from the terminal: curl -I https://something.de/config/config.ini.php
If curl times out, it confirms there is a connectivity issue. Test whether using localhost instead of the domain name works (try curl -I https://localhost/config/config.ini.php).
The timeout error indicates that curl is waiting only 2 seconds (2001/2002 milliseconds) for the connection. You could increase this timeout limit by adding a custom setting in config.ini.php under the [General] section:
I have no knowledge about matomo for docker, but I know that in general container network configuration can be a problem source when trying to access an internal ressource using an external name. I had that in other cases myself which I solved using a reverse proxy. whatever this info might do for you.
Thanks for the input! I agree that container network configurations can often cause issues when trying to access internal services via external names. I’ve encountered similar problems before, and using a reverse proxy like Nginx or Traefik could be a good solution to handle traffic routing and resolve DNS name resolution issues. I’ll try configuring a reverse proxy in front of the Matomo container and see if that improves access. Appreciate the suggestion!