silly-room-64336
07/28/2022, 9:12 AMsql:
datasource:
host: "<http://xxx.privatelink.azure.com:5432|xxx.privatelink.azure.com:5432>"
hostForpostgresqlClient: "<http://xxx.privatelink.azure.com|xxx.privatelink.azure.com>"
port: "5432"
url: "jdbc:<postgresql://xxx.privatelink>..<http://azure.com:5432/datahub?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8|azure.com:5432/datahub?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8>"
driver: "org.postgresql.Driver"
username: "pgadmin"
password:
secretRef: mysql-secrets
secretKey: password
Error that i am getting
2022/07/28 10:48:26 Waiting for: <tcp://xxx.privatelink.postgres.database.azure.com:5432>
2022/07/28 10:48:26 Connected to <tcp://xxx.privatelink.postgres.database.azure.com:5432>
psql: error: connection to server at "<http://xxx.privatelink.postgres.database.azure.com|xxx.privatelink.postgres.database.azure.com>" , port 5432 failed: FATAL: password authentication failed for user "datahub"
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
connection to server at "<http://xxx.privatelink.postgres.database.azure.com|xxx.privatelink.postgres.database.azure.com>" , port 5432 failed: FATAL: SSL connection is required. Please specify SSL options and retry.
I verified pgadmin password is correct and able to login with the same password in PGADMIN4 app
Please help heregentle-hamburger-31302
08/02/2022, 7:54 AMbumpy-needle-3184
08/02/2022, 8:28 AMurl: "jdbc:<postgresql://xxx.privatelink>..<http://azure.com:5432/datahub?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8|azure.com:5432/datahub?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8>"
to
url: "jdbc:<postgresql://xxx.privatelink>..<http://azure.com:5432/pgadmin?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8|azure.com:5432/pgadmin?verifyServerCertificate=false&useSSL=true&useUnicode=yes&characterEncoding=UTF-8>"
you can follow this thread for same issue
https://datahubspace.slack.com/archives/CV2UVAPPG/p1658173279061999