Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72459

java.net.SocketTimeoutException: timeout in calls to Rundeck

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • rundeck-plugin
    • None
    • Jenkins 2.375.2

      HiĀ 

      could you please help me in resolving the java.net.SocketTimeoutException: timeout issue.

      We have tried number of times to build the pipeline and getting the same error everytime. the connectivity between client server is good and even we have tested the connectivity manually. here I am pasting the entire error.
      java.net.SocketTimeoutException: timeout*19:25:37* at okio.Okio$3.newTimeoutException(Okio.java:210)19:25:37 at okio.AsyncTimeout.exit(AsyncTimeout.java:288)19:25:37 at okio.AsyncTimeout$2.read(AsyncTimeout.java:242)19:25:37 at okio.RealBufferedSource.indexOf(RealBufferedSource.java:325)19:25:37 at okio.RealBufferedSource.indexOf(RealBufferedSource.java:314)19:25:37 at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:210)19:25:37 at okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:186)19:25:37 at okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:127)19:25:37 at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:53)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)19:25:37 at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)19:25:37 at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:109)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)19:25:37 at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)19:25:37 at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:124)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)19:25:37 at org.rundeck.client.util.StaticHeaderInterceptor.intercept(StaticHeaderInterceptor.java:38)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)19:25:37 at org.rundeck.client.util.StaticHeaderInterceptor.intercept(StaticHeaderInterceptor.java:38)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)19:25:37 at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)19:25:37 at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170)19:25:37 at okhttp3.RealCall.execute(RealCall.java:60)19:25:37 at retrofit2.OkHttpCall.execute(OkHttpCall.java:174)19:25:37 at org.rundeck.client.util.Client.checkError(Client.java:93)19:25:37 at org.rundeck.client.tool.commands.Executions.followOutput(Executions.java:206)19:25:37 at org.rundeck.client.tool.commands.Executions.followOutput(Executions.java:165)19:25:37 at org.rundeck.client.tool.commands.Executions.maybeFollow(Executions.java:535)19:25:37 at org.rundeck.client.tool.commands.Run.run(Run.java:185)19:25:37 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)19:25:37 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)19:25:37 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)19:25:37 at java.lang.reflect.Method.invoke(Method.java:498)19:25:37 at com.simplifyops.toolbelt.ToolBelt$MethodInvoker.run(ToolBelt.java:778)19:25:37 at com.simplifyops.toolbelt.ToolBelt$CommandSet.runCommand(ToolBelt.java:492)19:25:37 at com.simplifyops.toolbelt.ToolBelt$CommandSet.run(ToolBelt.java:359)19:25:37 at com.simplifyops.toolbelt.ToolBelt$CommandSet.runCommand(ToolBelt.java:492)19:25:37 at com.simplifyops.toolbelt.ToolBelt$CommandSet.run(ToolBelt.java:359)19:25:37 at com.simplifyops.toolbelt.ToolBelt$CommandSet.runMain(ToolBelt.java:322)19:25:37 at org.rundeck.client.tool.Main.main(Main.java:56)19:25:37 Caused by: java.net.SocketException: Socket closed*19:25:37* at java.net.SocketInputStream.read(SocketInputStream.java:204)19:25:37 at java.net.SocketInputStream.read(SocketInputStream.java:141)19:25:37 at okio.Okio$2.read(Okio.java:138)19:25:37 at okio.AsyncTimeout$2.read(AsyncTimeout.java:238)

            Unassigned Unassigned
            divyarani divyarani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: