[JIRA] (JENKINS-61762) Intermittent Socket closed or Read timed out error

11 views
Skip to first unread message

shivaji.thanneeru@gmail.com (JIRA)

unread,
Apr 1, 2020, 2:26:03 PM4/1/20
to jenkinsc...@googlegroups.com
Shivaji Thanneeru updated an issue
 
Jenkins / Task JENKINS-61762
Intermittent Socket closed or Read timed out error
Change By: Shivaji Thanneeru
Summary: Intermittent Socket closed or Read timed out error
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

shivaji.thanneeru@gmail.com (JIRA)

unread,
Apr 1, 2020, 2:27:03 PM4/1/20
to jenkinsc...@googlegroups.com
Shivaji Thanneeru updated an issue
jiraEditIssue, jiraNewIssue and  jiraJqlSearch  are some time failing with "Socket Closed" or "Read timed out" error.

 

 
{code:java}
JIRA: Site - JIRA-PROD - Updating issue: Ticket-1234
Error Code: -1
Error Message: Socket closed
[Pipeline] }
[Pipeline] // script
Error when executing always post condition:
hudson.AbortException: Socket closed
at org.thoughtslive.jenkins.plugins.jira.util.JiraStepExecution.logResponse(JiraStepExecution.java:132)
at org.thoughtslive.jenkins.plugins.jira.steps.EditIssueStep$Execution.run(EditIssueStep.java:80)
{code}
 
{code:java}
JIRA: Site - JIRA-PROD - Creating new issue: IssueInput(update=null, fields={project={key=REI}, summary=Build Error., description=New JIRA Created from Jenkins., issuetype={name=Bug}})
Error Code: -1
Error Message: Socket closed
[Pipeline] }
[Pipeline] // script
Error when executing regression post condition:
hudson.AbortException: Socket closed
at org.thoughtslive.jenkins.plugins.jira.util.JiraStepExecution.logResponse(JiraStepExecution.java:132)
at org.thoughtslive.jenkins.plugins.jira.steps.NewIssueStep$Execution.run(NewIssueStep.java:84)
at org.thoughtslive.jenkins.plugins.jira.steps.NewIssueStep$Execution.run(NewIssueStep.java:53)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
{code}
 
{code:java}
JIRA: Site - JIRA-PROD - Search JQL: project = "Release Engineering Internal"   AND description ~ "New JIRA Created from Jenkins" ORDER BY id DESC startAt: 0 maxResults: 1
Error Code: -1
Error Message: Read timed out
[Pipeline] }
[Pipeline] // script
Error when executing failure post condition:
hudson.AbortException: Read timed out
at org.thoughtslive.jenkins.plugins.jira.util.JiraStepExecution.logResponse(JiraStepExecution.java:132)
at org.thoughtslive.jenkins.plugins.jira.steps.JqlSearchStep$Execution.run(JqlSearchStep.java:89)
at org.thoughtslive.jenkins.plugins.jira.steps.JqlSearchStep$Execution.run(JqlSearchStep.java:65)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
{code}

shivaji.thanneeru@gmail.com (JIRA)

unread,
Apr 2, 2020, 4:40:02 PM4/2/20
to jenkinsc...@googlegroups.com

naresh.rayapati@gmail.com (JIRA)

unread,
Apr 2, 2020, 6:19:04 PM4/2/20
to jenkinsc...@googlegroups.com
Naresh Rayapati updated an issue
Change By: Naresh Rayapati
Attachment: Screen Shot 2020-04-02 at 5.16.39 PM.png

naresh.rayapati@gmail.com (JIRA)

unread,
Apr 2, 2020, 6:19:05 PM4/2/20
to jenkinsc...@googlegroups.com
Naresh Rayapati commented on Task JENKINS-61762
 
Re: Intermittent Socket closed or Read timed out error

Socket timeout or read timed out occur when the actual server isn't responding within the given time, you configure site on global section with increased timeout settings. Here is the example screenshot.

shivaji.thanneeru@gmail.com (JIRA)

unread,
Apr 2, 2020, 7:20:02 PM4/2/20
to jenkinsc...@googlegroups.com
Change By: Shivaji Thanneeru
Status: Open Fixed but Unreleased
Resolution: Fixed

shivaji.thanneeru@gmail.com (JIRA)

unread,
Apr 2, 2020, 7:20:03 PM4/2/20
to jenkinsc...@googlegroups.com
Shivaji Thanneeru commented on Task JENKINS-61762
 
Re: Intermittent Socket closed or Read timed out error

Naresh,

Increased the Socket timeout or read timed at the global section is increased from 10 Seconds to 60 Seconds.
I works now.

Thanks a lot.

 

Shivaji

naresh.rayapati@gmail.com (JIRA)

unread,
Apr 3, 2020, 5:25:03 PM4/3/20
to jenkinsc...@googlegroups.com
Change By: Naresh Rayapati
Status: Fixed but Unreleased Closed
Resolution: Fixed Not A Defect
Reply all
Reply to author
Forward
0 new messages