Skip to content

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

Closed
@eyalsach

Description

@eyalsach

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions