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:password@aws-postgres.XXX.us-west-2.rds.amazonaws.com: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?
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:password@aws-postgres.XXX.us-west-2.rds.amazonaws.com: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?