APIs & Integrations

ece
Member

Connection was reset failed to receive handshake, SSL/TLS connection failed

We are experiencing issues connecting to the HubSpot API to send data. Our attempts to interact with the https://api.hubapi.com/crm/v3/objects/contacts endpoint are being rejected, resulting in connection errors.
Also we had tried several client types to resolve but still got the same error
Here are the details:

Java Application Error Logs:

[INFO] Retrying request to {s}->https://api.hubapi.com/ - o.a.h.i.e.RetryExec.execute
[INFO] I/O exception (java.net.SocketException) caught when processing request to {s}->https://api.hubapi.com/: Connection reset - o.a.h.i.e.RetryExec.execute
[INFO] Retrying request to {s}->https://api.hubapi.com/ - o.a.h.i.e.RetryExec.execute
1) java.net.SocketException: Connection reset

2) javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake hubspot


Postman Test Results:
When testing the same endpoint using Postman, we encountered the following error:

POST https://api.hubapi.com/crm/v3/objects/contacts
Error: read ECONNRESET
Request Headers:
Content-Type: application/json
Authorization: Bearer pat-na1-20299a6c-24ed-48e0-bb32-cd96bc9ff049
Observations:

Both our Java application and Postman returned similar errors (Connection reset or ECONNRESET).
This indicates that the connection issue is likely on HubSpot's side, as the same behavior occurs across different tools and environments.
The issue may be related to SSL/TLS handshake failure or connection rejection by HubSpot's server.

0 Upvotes
1 Reply 1
kennedyp
Community Manager
Community Manager

Connection was reset failed to receive handshake, SSL/TLS connection failed

Hey @ece! Thanks for your post. 

 

Could you attempt a call through the test API in the Contacts v3 Documentation? I don't know what exact request you are making, but I was able to successfully archive and create two contacts in postman with this endpoint. 

 

These errors can sometimes be caused by a VPN or browser issue. Have you attempted these requests on different networks and browsers? If you still have trouble, please provide the request payload excluding any personal information or access tokens

 

Best, 
Kennedy


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes