java.net.ConnectException: Connection timed out: connect-socket timeout using Java for Jira REST API

Alekhya G October 16, 2018

We are trying to fetch data from Jira using Java and Jira rest API.

Code connects to Jira and pulls data successfully sometimes but sporadically we face socket connection timeout issue.

 

This happens only when using the rest API through Java code. The same API call returns data from Postman and browser.

 Can someone help me in finding the exact root cause of the issue and the solution for this.

1 answer

0 votes
Shilpi Joshi September 2, 2020

Hi @Alekhya G 

Did you get any answer to this?  I am facing the same issue.

Getting response in Postman and browser but no response rest assured java code. Getting below error 

 

java.net.ConnectException: Connection timed out:

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events