From: Matthias Apitz <guru@unixarea.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: PostgreSQL client hangs sometimes on 'EXEC SQL PREPARE sid_sisisinst FROM :select_anw;'
Date: Tue, 12 May 2020 07:49:34 +0200
Message-ID: <20200512054934.GF5413@sh4-5.1blu.de> (raw)
In-Reply-To: <26028.1589222489@sss.pgh.pa.us>
References: <20200427130618.GA24964@sh4-5.1blu.de>
<20200427131955.GB24964@sh4-5.1blu.de>
<20200428081018.GB4007@sh4-5.1blu.de>
<20200510105226.GA14033@sh4-5.1blu.de>
<9787.1589124821@sss.pgh.pa.us>
<20200511065450.GA20181@sh4-5.1blu.de>
<29382.1589205012@sss.pgh.pa.us>
<20200511162452.GA3930@sh4-5.1blu.de>
<20200511181810.GC3930@sh4-5.1blu.de>
<26028.1589222489@sss.pgh.pa.us>
El día Montag, Mai 11, 2020 a las 02:41:29 -0400, Tom Lane escribió:
> Matthias Apitz <guru@unixarea.de> writes:
> > Below is the exchange. The visible strings are: 'sisis' (the PG user),
> > 'sisis123' (its password in PG, a dummy password used for testing) and
> > 'srap32dxr1' the hostname. The server is terminating the connection with
> > a F-pkg:
>
> [ squint... ] That looks nothing like a Postgres-protocol exchange
> to me. If it weren't for the runs of zeroes, I'd wonder if the
> connection had SSL encryption turned on. Perhaps you captured the
> wrong session?
It turned out, that the messages:
2020-05-12 05:33:06.828 CEST [6271] LOG: invalid length 33554940 of startup packet
2020-05-12 05:33:08.305 CEST [6291] LOG: invalid length 33554940 of startup packet
2020-05-12 05:34:07.495 CEST [6596] LOG: invalid length 33554940 of startup packet
2020-05-12 05:34:09.710 CEST [6927] LOG: invalid length 33554940 of startup packet
have been caused by a misconfiguration of the component in question: the
application used the Sybase JDBC driver to talk to the PostgreSQL server
:-(
This part of the thread is hereby solved.
Remaining is still:
2020-04-30 15:14:03.367 CEST [3843] LOG: bogus received message length: 1650422894
2020-04-30 15:57:48.926 CEST [10380] LOG: bogus received message length: 1650422894
2020-04-30 15:58:31.851 CEST [10380] LOG: incomplete message from client
2020-04-30 15:58:53.578 CEST [10439] LOG: bogus received message length: 1650422894
2020-04-30 16:00:13.500 CEST [10439] LOG: incomplete message from client
matthias
--
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
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: guru@unixarea.de
Subject: Re: PostgreSQL client hangs sometimes on 'EXEC SQL PREPARE sid_sisisinst FROM :select_anw;'
In-Reply-To: <20200512054934.GF5413@sh4-5.1blu.de>
References: <20200427130618.GA24964@sh4-5.1blu.de> <20200427131955.GB24964@sh4-5.1blu.de> <20200428081018.GB4007@sh4-5.1blu.de> <20200510105226.GA14033@sh4-5.1blu.de> <9787.1589124821@sss.pgh.pa.us> <20200511065450.GA20181@sh4-5.1blu.de> <29382.1589205012@sss.pgh.pa.us> <20200511162452.GA3930@sh4-5.1blu.de> <20200511181810.GC3930@sh4-5.1blu.de> <26028.1589222489@sss.pgh.pa.us> <20200512054934.GF5413@sh4-5.1blu.de>
* 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