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.