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

pg connection issue after node upgarde (possibly openssl related) #1019

Closed
eyalsach opened this issue May 16, 2016 · 2 comments
Closed

pg connection issue after node upgarde (possibly openssl related) #1019

eyalsach opened this issue May 16, 2016 · 2 comments

Comments

@eyalsach
Copy link

after upgrade to node v6.1.0, can't connect to postgres hosted on aws.

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?

it's likely related to nodejs/node#6551

(original issue: nodejs/node#6782)

@eyalsach eyalsach changed the title pg connection issue after node upgarde pg connection issue after node upgarde (possibly openssl related) May 16, 2016
@vitaly-t
Copy link
Contributor

vitaly-t commented May 16, 2016

Duplicate of #1000?

Long story short - just upgrade to the latest 4.5.5.

@eyalsach
Copy link
Author

Thanks, you're right. It's a dup. Solved after upgrading. Not sure how I missed this upgrade but thanks anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants