Error connecting to postgresql instance on Azure
See original GitHub issueI have postgresql instance on Azure with ssl disabled.
and this is my connection string
HASURA_GRAPHQL_DATABASE_URL: postgres://name%40development-postgresql:pass@development-postgresql.postgres.database.azure.com:5432/name?sslmode=disable
and I keep getting
{"internal":"FATAL: no pg_hba.conf entry for host \"xxx.xx.xx.xx\", user \"interxpgadmin\", database \"interx\", SSL on\nFATAL: no pg_hba.conf entry for host \"190.10.10.147\", user \"interxpgadmin\", database \"interx\", SSL on\n","path":"$","error":"connection error","code":"postgres-error"}
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Troubleshoot connections - Azure Database for PostgreSQL
Learn how to troubleshoot connection issues to Azure Database for PostgreSQL - Single Server.
Read more >Unable to connect to Azure Postgres Server 11 - Stack Overflow
1 Answer 1 · Try Adding a VNet rule under "Connection security" -> "VNET Rules". · Try switching Allow access to Azure services...
Read more >Error Connecting to Azure Database for PostgreSQL server
Hello everyone, I am using windows fusion Auth server. Installation was done successfully. Now I am trying to connect it with the Database....
Read more >Connections to Azure PostgreSQL fail due to org ... - Jira
Setup an Azure PostgreSQL instance; Attempt to test a connection in the Confluence setup wizard to ... 2021-01-06 19:17:56,961 ERROR [http-nio-8090-exec-8] ...
Read more >Create a Azure Database PostgreSQL Instance on Azure
If you do not want to use secure connections between Tableau Server and External Repository, you should configure the Azure Database to allow...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@shahidhk you said (here: https://docs.hasura.io/1.0/graphql/manual/deployment/kubernetes/index.html) that if the password has special characters we need to escape them, but what if the user name has @ or other characters? is hasura able to manage that type of usernames in the database? I have the same trouble and maybe is because azure creates the user with “@”
This is the log output:
{“timestamp”:“2019-05-18T03:19:20.770+0000”,“level”:“info”,“type”:“startup”,“detail”:{“kind”:“serve_options”,“info”:{“auth_hook_mode”:null,“use_prepared_statements”:true,“unauth_role”:null,“stringify_numeric_types”:false,“enable_telemetry”:true,“enable_console”:true,“auth_hook”:null,“cors_config”:{“allowed_origins”:“*”,“disabled”:false,“ws_read_cookie”:null},“admin_secret_set”:true,“port”:8080}}} Fatal Error: JWT conf: Error in $: endOfInput
and the IP of hasura is already in the firewall of postgresql in azure
I’m closing this issue now. Should any of you have any more questions regarding this, please do feel free to re-open it 🙂