pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michał Muskała <michal@muskala.eu>
To: pgsql-general@lists.postgresql.org
Subject: Re: Unexpected ErrorMessage reply to SSLRequest
Date: Fri, 2 Feb 2018 14:36:25 -0500
Message-ID: <03ea10e8-0c03-8af6-2b78-a8cc88a4e2f1@2ndquadrant.com> (raw)
In-Reply-To: <4ebe024e-3937-4320-adb4-1d7a29f4d783@Spark>
References: <4ebe024e-3937-4320-adb4-1d7a29f4d783@Spark>

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




view thread (2+ messages)

Message-ID: <03ea10e8-0c03-8af6-2b78-a8cc88a4e2f1@2ndquadrant.com>
Permalink:  ../03ea10e8-0c03-8af6-2b78-a8cc88a4e2f1@2ndquadrant.com/
Also on:    postgresql.org/message-id/03ea10e8-0c03-8af6-2b78-a8cc88a4e2f1@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, michal@muskala.eu
  Subject: Re: Unexpected ErrorMessage reply to SSLRequest
  In-Reply-To: <03ea10e8-0c03-8af6-2b78-a8cc88a4e2f1@2ndquadrant.com>
  References: <4ebe024e-3937-4320-adb4-1d7a29f4d783@Spark> <03ea10e8-0c03-8af6-2b78-a8cc88a4e2f1@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox