How to solve the read time out error in Jira

We are trying to import the data to jira

Our programmer is using java application that makes PUT, POST calls to the JIRA REST API (using Apache HttpClient to make these calls)

and after sometime run the script, it throw error. Can advise any setting need to increase for the time out?

Here the error message,

Caused by: Read timed out
at Method)
at org.apache.commons.httpclient.HttpParser.readRawLine(
at org.apache.commons.httpclient.HttpParser.readLine(
at org.apache.commons.httpclient.HttpConnection.readLine(
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(
at org.apache.commons.httpclient.HttpMethodBase.readResponse(
at org.apache.commons.httpclient.HttpMethodBase.execute(
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
at org.apache.commons.httpclient.HttpClient.executeMethod(
at org.apache.commons.httpclient.HttpClient.executeMethod(
... 10 more
Exception in thread "com.atlassian.mywork.client.reliability.DefaultUnreliableWorker:thread-4" java.lang.RuntimeException:
on: Read timed out
at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$1$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: Read timed out
at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(
at com.atlassian.applinks.core.auth.trusted.TrustedRequest.execute(
at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.send(
at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.access$200(
at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$1$
... 4 more
Caused by: Read timed out

1 answer

0 vote
Timothy Chin Community Champion Jul 08, 2014

IMHO, if you run into this kind of errors, your developer is doing things wrong. Why does'nt he split the process?

Other than that, you can of course increase the tomcat session or the session of the client making the request.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

772 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you