Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't connect to pg with ssl #6782

Closed
eyalsach opened this issue May 16, 2016 · 1 comment
Closed

can't connect to pg with ssl #6782

eyalsach opened this issue May 16, 2016 · 1 comment
Labels
invalid Issues and PRs that are invalid.

Comments

@eyalsach
Copy link

eyalsach commented May 16, 2016

Since upgrading to the latest node i can't connect to a postgres db using ssl.
Connection to pg on ssl on Node v 5.10.1 was working fine.

example code:
var pg = require('pg');
pg.connect(connectionString, function(err, client, done) {

where connectionString can be something like:
postgres://master:[email protected]:5432/db_demo?ssl=true

EDIT: the same happens even when omitting the ssl=true param.

I get: { error: password authentication failed for user "master"

(the password is the correct one, this error happens only on the latest node version)

is this a bug or a change that I need to handle differently?

@bnoordhuis
Copy link
Member

Can you post your question to the node-pg repository? This bug tracker is for node.js core issues only. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Issues and PRs that are invalid.
Projects
None yet
Development

No branches or pull requests

2 participants