Re: error message "psql: expected authentication request from server, but received " when using psql to connect remote database - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: error message "psql: expected authentication request from server, but received " when using psql to connect remote database
Date
Msg-id 48341222.8020307@enterprisedb.com
Whole thread Raw
In response to error message "psql: expected authentication request from server, but received " when using psql to connect remote database  ("TIAN Justin" <yongjuntian@alcatel-lucent.com>)
Responses Re: error message "psql: expected authentication request from server, but received " when using psql to connect remote database  ("TIAN Justin" <yongjuntian@alcatel-lucent.com>)
List pgsql-bugs
TIAN Justin wrote:
> I met an error, when psql client version is 8.1.4, I use it to connect
> to remote database or local database, such as "psql -U name -p <port> -d
> <database> -h <ip>", it will prompt error message "psql: expected
> authentication request from server, but received ", but if the client
> version is 8.0.3, there is no problem, I don't know why, does it the
> configuration problem?

Please post the exact output you're getting in both cases.

What version is the server?

You should upgrade to the latest minor version, which is 8.1.11 for the
8.1 series, and 8.0.15 for the 8.0 series

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

pgsql-bugs by date:

Previous
From: "TIAN Justin"
Date:
Subject: error message "psql: expected authentication request from server, but received " when using psql to connect remote database
Next
From: "Paul Jordan"
Date:
Subject: Getting the command line to work