N
Neon2y ago
vicious-gold

What is this SSL_do_handshake = -1

Why I have this response when I try to connect (SSL_do_handshake = -1) I am Using Delphi and Unidac
6 Replies
stormy-gold
stormy-gold2y ago
Can you provide more detail? Is this an error? A quick Google makes it sound like a <0 response means SSL/TLS handshake failed: https://www.openssl.org/docs/manmaster/man3/SSL_do_handshake.html Make sure your connection string is correct and client supports SSL
vicious-gold
vicious-goldOP2y ago
Yes, it is an error. In Delphi I can connect using FIREDAC components and its works fine, FIREDAC uses a lib "libpq" that make the conections to the server and database. But I need use other component which is from UNIDAC (TUNICONNECTION). This component not uses "libpq" but make the connections all inside his code. And when I try to connect with NEON DATABASE the error shows up (SSL error) I had been working with UNIDAC and other DATABASE (like ElephantSQL site) and it works fine, but with NEON I had this problem.
genetic-orange
genetic-orange2y ago
@Conrad Ludgate perhaps you might have some insight here? Perhaps the pg driver that unidac uses isn't working well with the proxy?
eastern-cyan
eastern-cyan2y ago
Never heard of unidac before. Will investigate Might need to contact the unidac support at devart. Naive me thinking it would be open source 😅
genetic-orange
genetic-orange2y ago
Thanks for checking on that! I would have also assumed it was open source. Oh well!
eastern-cyan
eastern-cyan2y ago
@betomusic if you can find out, can you DM me an IP address and or the project ID that you used to try UniDAC with Neon? I might be able to narrow down in our logs exactly where in the handshake the failure occured. Many thanks

Did you find this page helpful?