A casual look for similar messages using your search engine of choice should show similar historical threads and bugs being filed with different clients.
Client is sending invalid or unexpected messages to PostgreSQL.
Where I would start:
1. Ensure pgBouncer and npgsql versions are latest supported for server version.
2. npgsql (.net library?) may also use an ODBC or JDBC driver, ensure that is up to date for server version as well if applicable.
Checking client versions is probably less effort than performing packet capture(s) to try to determine which thing is sending bogus messages (pgBouncer or applications).
On Fri, May 12, 2023, 04:57 fatih abztn <fatihabztn@xxxxxxxxx> wrote:
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 formatFATAL: invalid frontend message type 0FATAL: invalid frontend message type 32FATAL: invalid frontend message type 101FATAL: invalid frontend message type 34FATAL: 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.4I am waiting for your comments...