I am currently working on integrating TimescaleDB into my website’s backend, but I’ve run into an unexpected issue. I followed the documentation provided by TimescaleDB, but I’m encountering difficulties in establishing a successful connection and performing basic operations.
Error Details:
When attempting to connect to the TimescaleDB database from my web application, I receive the following error:
Error: could not establish connection to database ‘mydatabase’ on host ‘localhost’ with user ‘myuser’: FATAL: no pg_hba.conf entry for host “x.x.x.x”, user “myuser”, database “mydatabase”, SSL off
Steps Taken:
- I verified that the TimescaleDB extension is properly installed on my PostgreSQL database server.
- Checked the database connection parameters in my web application configuration file and confirmed their accuracy.
- Examined the PostgreSQL server logs for any additional error messages, but the provided message seems to be the main issue.
I would greatly appreciate any insights or suggestions from the TimescaleDB community on how to address this connection issue. If anyone has encountered a similar problem or has recommendations for troubleshooting, your assistance would be invaluable. Thank you!
4 posts - 2 participants