david-m-m opened a new issue #6:
URL: https://github.com/apache/incubator-age-viewer/issues/6


   **Description**
   I am trying to connect the agviewer to a remote postgres which is enforcing 
TLS. 
   
   The database connection fails with this error message:
   
   ```
   Database Connection Failed
   
   Failed to connect to the database. Are you sure the database is running on 
the server?
   no pg_hba.conf entry for host "<my local IP address>", user "age_user", 
database "age", SSL off
   ```
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Set up remote postgres running AGE with TLS enabled, use an internal CA 
or self signed certificate
   2. Run ageviewer locally 
   > docker run --publish=3001:3001--name=agviewer bitnine/agviewer
   3. Open ageviewer FE in browser and enter data for DB
   4. See above error
   
   **Expected behavior**
   The error message should be more informative and propose actionable items. 
(No pg_hba.conf exists in ageviewer image...)
   
   Ideally the error should not occur and the connection to the DB should be 
established.
   
   **Additional context**
   To my understanding these factors could play a role:
   * TLS (vs. unencrypted)
   * internal CA / self signed certificate for DB (How would I inject the new 
CA in the image)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@age.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to