Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,749
Community Members
 
Community Events
168
Community Groups

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

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

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
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

164 views 1 6
Read article

Atlassian Community Events