Describe the bug
When grout connects to a RomM instance over HTTPS using a self-signed SSL/TLS certificate, the initial login bypasses certificate verification, but subsequent artwork/cover downloads fail with a TLS verification error (tls: failed to verify certificate: x509: certificate signed by unknown authority).
Reproduction Steps
Steps to reproduce the behavior:
- Configure
grout to connect to a RomM server using an HTTPS URL with a self-signed certificate (e.g., https://rommserver.local:2356).
- Log in by choosing not to verify the SSL certificate during the initial setup.
- Login succeeds, but when triggering a sync or artwork download operation, the download fails.
- Check the logs and notice that the HTTP client used for downloading artwork still enforces strict x509 certificate verification.
Expected Behavior
The choice to skip certificate validation during initial setup should apply globally to all HTTP client requests, including artwork downloads, allowing media to download successfully.
Information
- CFW: Knulli
- CFW Version: 20260511
- Handheld Device: Powkiddy V90s
- Grout Version: v5.1.0.0
- RomM Version: 5.2.0
Additional Context / Logs
{"time":"2026-09-01T11:34:45.216558151+02:00","level":"DEBUG","msg":"Login successful, saving configuration"}
{"time":"2026-09-01T11:39:19.398668867+02:00","level":"ERROR","msg":"Failed to download artwork","path":"/assets/romm/resources/roms/4/4056/cover/small.png","name":"Airborne Ranger","timeout":0,"error":"Get \"[https://rommserver.local:2356/assets/romm/resources/roms/4/4056/cover/small.png?ts=2026-08-23%2001:01:01](https://rommserver.local:2356/assets/romm/resources/roms/4/4056/cover/small.png?ts=2026-08-23%2001:01:01)\": tls: failed to verify certificate: x509: certificate signed by unknown authority"}
Describe the bug
When
groutconnects to a RomM instance over HTTPS using a self-signed SSL/TLS certificate, the initial login bypasses certificate verification, but subsequent artwork/cover downloads fail with a TLS verification error (tls: failed to verify certificate: x509: certificate signed by unknown authority).Reproduction Steps
Steps to reproduce the behavior:
groutto connect to a RomM server using an HTTPS URL with a self-signed certificate (e.g.,https://rommserver.local:2356).Expected Behavior
The choice to skip certificate validation during initial setup should apply globally to all HTTP client requests, including artwork downloads, allowing media to download successfully.
Information
Additional Context / Logs
{"time":"2026-09-01T11:34:45.216558151+02:00","level":"DEBUG","msg":"Login successful, saving configuration"} {"time":"2026-09-01T11:39:19.398668867+02:00","level":"ERROR","msg":"Failed to download artwork","path":"/assets/romm/resources/roms/4/4056/cover/small.png","name":"Airborne Ranger","timeout":0,"error":"Get \"[https://rommserver.local:2356/assets/romm/resources/roms/4/4056/cover/small.png?ts=2026-08-23%2001:01:01](https://rommserver.local:2356/assets/romm/resources/roms/4/4056/cover/small.png?ts=2026-08-23%2001:01:01)\": tls: failed to verify certificate: x509: certificate signed by unknown authority"}