Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed - Mailing list pgsql-jdbc

From Kevin Grittner
Subject Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Date
Msg-id 4B97934A020000250002FBC9@gw.wicourts.gov
Whole thread Raw
In response to Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed  (Major Services <services.major@gmail.com>)
List pgsql-jdbc
Major Services <services.major@gmail.com> wrote:

> "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=
> major"

> *root cause*
>
> org.postgresql.util.PSQLException: Protocol error.  Session setup
> failed.
> org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(
> ConnectionFactoryImpl.java:402)
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(
> ConnectionFactoryImpl.java:108)

What happens if you try to connect with:

psql -h localhost -p 5432 postgres postgres

and type major as the password when prompted?

-Kevin

pgsql-jdbc by date:

Previous
From: Major Services
Date:
Subject: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Next
From: Maciek Sakrejda
Date:
Subject: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed