mustjam1 Member since 2013 4 posts
Posted: 3 years ago
Last activity: 3 years ago

Socket timeout error on Connect REST

We are trying to invoke a rest API from UAT but the API is inaccessible due to firewall restrictions. While the appropriate team sorts this out, we have the requirement to show a meaningful message. e.g. System unavailable or timeout etc. We have timeout of 5000 ms defined in the rest rule but it is not working in this scenario.

Right now when invoked, the system is freezing and gets hung. The log is full of requestor locked and socket timeout exceptions before finally throwing a connection refused message after few minutes . Please advise how to show the terminate the rest connection and show a meaningful message and not let the system clok in front of the user. Logs attached.

Data Integration
Moderation Team has archived post
Share this page LinkedIn