APIs & Integrations

ASavaliya
Participant

Connection Reset Issue

Hi All,

 

I am using JAVA Spring and call hubspot contact search or custom object search. then half of call is give error like connection reset.

 

I am using API Key for authenication and an using test Account.

 

 

org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://api.hubapi.com/crm/v3/objects/contacts/search": Connection reset; nested exception is javax.net.ssl.SSLException: Connection reset

 

How to solve this. i am calling this api by RestTemplate.

 

Thank you

Ankur Savaliya 

0 Upvotes
3 Replies 3
AndreyStroganov
Member

Connection Reset Issue

it seems like HubSpot team just don't do anything about this issue for years. And I wonder why they always mark these kind of reports as "solved".

I have the same error few dozens time a day:

 

Error message: I/O error on POST request for "https://api.hubapi.com/communication-preferences/v3/subscribe": Connection reset; nested exception is java.net.SocketException: Connection reset
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://api.hubapi.com/communication-preferences/v3/subscribe": Connection reset; nested exception is java.net.SocketException: Connection reset

Caused by: java.net.SocketException: Connection reset
    at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
    at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
    at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
    at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
    at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
    at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1449)
    at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1060)

 

 

0 Upvotes
DS44
Member

Connection Reset Issue

The Same Issue is Occurring for me for the same Search API. Is Hubspot resolved this issue?

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Connection Reset Issue

Hi @ASavaliya 

Are you still struggling with this?

Are you able to confirm with a tool such as Postman that you are able to successfully hit the HubSpot endpoints?

Have you posted this question in their stackoverflow threads?

0 Upvotes