GoogleChrome / lighthouse-ci

Automate running Lighthouse for every commit, viewing the changes, and preventing regressions
Apache License 2.0
6.41k stars 644 forks source link

Environment Variable for SSL doesn't seem to work #955

Open henrysachs opened 11 months ago

henrysachs commented 11 months ago

Describe the bug A clear and concise description of what the bug is.

I try to connect to a Postgres ssl database with lighthouse ci server

To Reproduce Steps to reproduce the behavior:

I created a AWS RDS Database with force_ssl=1 Start Docker Container with: LHCI_STORAGE__SQL_CONNECTION_SSL="true" I also tried: LHCI_STORAGE__SQL_CONNECTION_SSL="1"

Expected behavior A clear and concise description of what you expected to happen. The application connects to the database

Logs/Screenshots If applicable, add LHCI logs or screenshots to help explain your problem.

SequelizeConnectionError: no pg_hba.conf entry for host xxx, user xxx, database "lighthouse", no encryption

the error indicates that ssl is still not used

Environment (please complete the following information):

Additional context Add any other context about the problem here.