pgagroal icon indicating copy to clipboard operation
pgagroal copied to clipboard

Remove non_blocking configuration property

Open jesperpedersen opened this issue 7 months ago • 3 comments

jesperpedersen avatar Jun 05 '25 13:06 jesperpedersen

ACK.

hac-v avatar Jun 09 '25 21:06 hac-v

Have to build and test this... @Userfrom1995 have you had the opportunity?

hac-v avatar Jun 09 '25 21:06 hac-v

Have to build and test this... @Userfrom1995 have you had the opportunity?

YES

I tested on both Ubuntu and FreeBSD systems . TLS handshakes complete successfully in all cases, but running SQL queries leads to SSL errors.

Query Failures

Ubuntu (Ubuntu 24.04):

mydb=> \l
SSL error: wrong version number
The connection to the server was lost. Attempting reset: Succeeded.
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off, ALPN: none)
mydb=> \l
SSL error: wrong version number
The connection to the server was lost. Attempting reset: Succeeded.
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off, ALPN: none)
mydb=> \q

FreeBSD:

testdb=> \l
SSL SYSCALL error: EOF detected
The connection to the server was lost. Attempting reset: Succeeded.
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off, ALPN: none)
testdb=> du
testdb-> \du
SSL SYSCALL error: EOF detected
The connection to the server was lost. Attempting reset: Succeeded.
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off, ALPN: none)
testdb-> \q

I also did a network capture with Wireshark. If it would be helpful, I can share it on the discussion forum.

Userfrom1995 avatar Jun 10 '25 04:06 Userfrom1995