PDI Instance - Error - emote host terminated the handshake

venkatas12
Tera Contributor

Getting this error while accessing the ServiceNow API End points from Java code.

 

javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake


It was working fine until yesterday and we are getting this error from today.
Some of the requests give the responses as 200 OK and some says the handshake error 500 Internal Server Error.
Please help to check on this.
will this be because of any patches applied in the PDI ?

7 REPLIES 7

Community Alums
Not applicable

Hi @venkatas12 ,

There could be due to either of the following 2 reasons.

  1. This could be because of the  File Transfer Protocol (FTP) client.
  2. It could be due to the ServiceNow instance's inbound TLS being disabled

From KB: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1584724

 

venkatas12
Tera Contributor

Hi @Community Alums ,
We are getting the error while trying to fetch incident details/list of user incidents from our PDI.
We are calling the ServiceNow API from our application code to retrieve the incident details using a GET Request and we are getting this handshake error.. To be more specific if we submit 10 requests , 3 gives the response of the incident details and 7 says remote connection closed. So we are stuck on what has to be changed since the error is not consistent.

ShubhamGarg
Kilo Sage

Hello @venkatas12 ,

 

Link to OOTB KB article - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1584724

 

Hope it helps.

Regards,

Shubham

hi @ShubhamGarg  In our case we are not updating records as mentioned in the links instead we are trying to fetch incident details..
Do we need to add any extra params while calling the SNOW REST API?