APIs & Integrations

nbahn
Member

'bad handshake': SysCallError while importing contacts but only on some calls

I have a notebook that imports contacts from hubspot from the contacts API. Most of the time it works but several times it has crashed and I get this error

(Caused by SSLError (SSLError (10054, 'WSACONNRESET')))

I don't understand why it works some times and then randomly breaks

Is there anything I can do to avoid this?

0 Upvotes
1 Reply 1
cbarley
HubSpot Alumni
HubSpot Alumni

'bad handshake': SysCallError while importing contacts but only on some calls

Hi @nbahn , I'm not sure I can be much help here, but from poking around the internet it appears to most commonly be an SSL connection error: https://stackoverflow.com/questions/38761166/ssl-bad-handshake-error-10054-wsaeconnreset. This error isn't coming from HubSpot's servers, but could just be from something wrong with the certificate used for connecting? The suggestion would be to ensure there's nothing missing here: https://www.ssllabs.com/ssltest/analyze.html?d=

0 Upvotes