🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Secure Connection on LocalHost (C API)
Hi, I am using the solace localhost to connect to my applications.
I am able to do a default connection, but the secure connection is giving me an issue.
I am running my localhost as:
./farePub tcps://localhost:55443 default admin admin topic ../ssl
The error I am getting is:
SDK NOTICE Thu Aug 19 18:47:26.741 2021 solClientOS.c:5942 (7f522324f700) TCP: Could not read from socket 7, error = Connection reset by peer (104) SDK NOTICE Thu Aug 19 18:47:26.742 2021 solClientSmf.c:7232 (7f522324f700) Read failed from transport 'TCP' of session '(c0,s1)_default' due to 'TCP: Could not read from socket 7, error = Connection reset by peer (104)', client name 'chaudharylin/6219/#00000001/69n7eehmiw', VPN name 'default', peer host 'localhost:55443' address 'IP 127.0.0.1', connection 'tcp_TxRx' local address 'IP 127.0.0.1:56032'
Please guide me with what the issue is and how to resolve.
Best Answer
-
Hi @chaudharys ,
Please try to test your TLS connection as described here: https://solace.community/discussion/510/how-to-test-tls-connection-and-server-certificate#latest.
If there are still issues, have a look in the event.log.
0
Answers
-
Hi @chaudharys ,
Please try to test your TLS connection as described here: https://solace.community/discussion/510/how-to-test-tls-connection-and-server-certificate#latest.
If there are still issues, have a look in the event.log.
0 -
Do you have a server certificate installed on the broker? https://docs.solace.com/Configuring-and-Managing/Managing-Server-Certs.htm
Have you enabled/opened the secure port, 55443?
You can check the "details" of the Message VPN Services tab, make sure that it's showing "Up":
0