omniti-labs / pg_amqp

AMQP Support for Postgres
https://labs.omniti.com/labs/pg_amqp
207 stars 63 forks source link

SERVER ALERT: Fatal - Unexpected Message #35

Open andrew-paes opened 3 years ago

andrew-paes commented 3 years ago

Hi,

I'm trying to "amqp.publish" a message from my Postgre under TLS, but I'm having the following error:

2021-09-22 18:18:42.990700-03:00 [notice] <0.2088.0> TLS server: In state hello at tls_record.erl:558 generated SERVER ALERT: Fatal - Unexpected Message 2021-09-22 18:18:42.990700-03:00 [notice] <0.2088.0> - {unsupported_record_type,65} 2021-09-22 18:19:09.154499-03:00 [notice] <0.2124.0> TLS server: In state hello at tls_record.erl:558 generated SERVER ALERT: Fatal - Unexpected Message 2021-09-22 18:19:09.154499-03:00 [notice] <0.2124.0> - {unsupported_record_type,65} 2021-09-22 18:23:15.848775-03:00 [notice] <0.2530.0> TLS server: In state hello at tls_record.erl:558 generated SERVER ALERT: Fatal - Unexpected Message 2021-09-22 18:23:15.848775-03:00 [notice] <0.2530.0> - {unsupported_record_type,65}

While using my .Net Core Service as a producer, I set my SSL Option as TLS 1.2 and everything worked fine, sending message to my RmQ.

Also from Postgre I could send successfully over HTTP (port 5672).

Am I missing any config to allow my Postgre or PG_AMQP to send message over SSL?

Thanks in advance, Andrew Paes