Re: Unexpected ErrorMessage reply to SSLRequest

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Michał Muskała <michal(at)muskala(dot)eu>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Unexpected ErrorMessage reply to SSLRequest
Date: 2018-02-02 19:36:25
Message-ID: 03ea10e8-0c03-8af6-2b78-a8cc88a4e2f1@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/31/18 17:01, Michał Muskała wrote:
> I'm one of the maintainers of postgrex [1] - an Elixir client for
> Postgresql. We implement the wire protocol and connect directly through
> tcp. We got a bug report indicating we got an unexpected ErrorMessage
> packet in reply to SSLRequest.

What did the client error message say, and what did you see in the
server log?

> I wonder, if this is a bug or rather an omission in the docs that the
> ErrorMessage can happen under some failure scenarios other than lack of
> SSL support.

I'm not sure, but the documentation also says that you should handle it
nonetheless. ;-)

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2018-02-02 19:38:45 Re: Ensure extension exists
Previous Message Renzo Bertuzzi 2018-02-02 15:37:26 Postgres Planner "Inconsistency"?