ERROR: invalid message format and FATAL: invalid frontend message type XX logs

From: fatih abztn <fatihabztn(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: ERROR: invalid message format and FATAL: invalid frontend message type XX logs
Date: 2023-05-12 08:57:20
Message-ID: CA+JVnzUWT_iMU941T23945nDHt9jSaPGHoJh-+kRnXJ5xqZOcA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi;

We're seeing lots of errors in postgres server logs, we have no idea
about them. Especially under higher load, it seems to happen more
frequently. There are thousands:

ERROR: invalid message format
FATAL: invalid frontend message type 0
FATAL: invalid frontend message type 32
FATAL: invalid frontend message type 101
FATAL: invalid frontend message type 34
FATAL: invalid frontend message type XX
.....

What does it mean and how to solve this problem?

and our environment:

npgsql -> pgBouncer 1.17 ( in transaction mode )-> pg14.4

I am waiting for your comments...

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Dan Smith 2023-05-12 12:27:28 Re: ERROR: invalid message format and FATAL: invalid frontend message type XX logs
Previous Message Singh, Gambhir 2023-05-12 07:34:21 pgsql code is not working.