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

HockeyApp plugin frequently fails with SocketTimeoutException

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Component/s: hockeyapp-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.27
    • Similar Issues:

      Description

      Perhaps this is an issue with HockeyApp specifically, but our builds are pretty pointless as every 3 build fails with this:

      09:04:47 Uploading to HockeyApp...
      09:04:48 /data/jenkins/workspace/Android Production build - master branch/app/build/outputs/apk/bidorbuy-debug-2.6.0-RC4.apk
      09:11:34 java.net.SocketTimeoutException: Read timed out
      09:11:34 	at java.net.SocketInputStream.socketRead0(Native Method)
      09:11:34 	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
      09:11:34 	at java.net.SocketInputStream.read(SocketInputStream.java:170)
      09:11:34 	at java.net.SocketInputStream.read(SocketInputStream.java:141)
      09:11:34 	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
      09:11:34 	at sun.security.ssl.InputRecord.read(InputRecord.java:503)
      09:11:34 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
      09:11:34 	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
      09:11:34 	at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
      09:11:34 	at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:130)
      09:11:34 	at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:127)
      09:11:34 	at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:233)
      09:11:34 	at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:98)
      09:11:34 	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:210)
      09:11:34 	at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:271)
      09:11:34 	at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:227)
      09:11:34 	at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:209)
      09:11:34 	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:292)
      09:11:34 	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:126)
      09:11:34 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:483)
      09:11:34 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
      09:11:34 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
      09:11:34 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554)
      09:11:34 	at hockeyapp.HockeyappRecorder.performForApplication(HockeyappRecorder.java:254)
      09:11:34 	at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:154)
      09:11:34 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      09:11:34 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      09:11:34 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      09:11:34 	at hudson.model.Build$BuildExecution.post2(Build.java:185)
      09:11:34 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      09:11:34 	at hudson.model.Run.execute(Run.java:1745)
      09:11:34 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      09:11:34 	at hudson.model.ResourceController.execute(ResourceController.java:98)
      09:11:34 	at hudson.model.Executor.run(Executor.java:401)
      

        Attachments

          Activity

          Hide
          ml_extern Martin Lederer added a comment -

          Hi Gerd Naschenweng !
          Are you using jenkins within a proxy'd network enviroment?
          Regards! Martin

          Show
          ml_extern Martin Lederer added a comment - Hi Gerd Naschenweng ! Are you using jenkins within a proxy'd network enviroment? Regards! Martin
          Hide
          magicdude4eva Gerd Naschenweng added a comment -

          Hi there,

          the issue happens from our build-server which is located in our data-centre and connected straight to the backbone at 1Gbps. The issue happens sporadically (the whole of last week it did not occur). Since the APK is only 14MB in since, a upload should take a few seconds. It is puzzling that it takes 7 minutes until a socket-read (timeout?) occurs.

          If there is a way to enable more verbose logging, I could provide more information when the errors happen again.

          Show
          magicdude4eva Gerd Naschenweng added a comment - Hi there, the issue happens from our build-server which is located in our data-centre and connected straight to the backbone at 1Gbps. The issue happens sporadically (the whole of last week it did not occur). Since the APK is only 14MB in since, a upload should take a few seconds. It is puzzling that it takes 7 minutes until a socket-read (timeout?) occurs. If there is a way to enable more verbose logging, I could provide more information when the errors happen again.
          Hide
          brantone Brantone added a comment -

          Keeping in mind the upload goes from build agent to master then to hockeyapp.
          Have seen it work very reliable on numerous other setups, not sure if it can be pinpointed to the plugin, as opposed to something in Jenkins or the network in general.

          Show
          brantone Brantone added a comment - Keeping in mind the upload goes from build agent to master then to hockeyapp. Have seen it work very reliable on numerous other setups, not sure if it can be pinpointed to the plugin, as opposed to something in Jenkins or the network in general.
          Hide
          mezpahlan Mez Pahlan added a comment -

          Is this still something for consideration? I note this is quite an old item. If not I'll close this in a week.

          Show
          mezpahlan Mez Pahlan added a comment - Is this still something for consideration? I note this is quite an old item. If not I'll close this in a week.
          Hide
          mezpahlan Mez Pahlan added a comment -

          No response within a week. Closing.

          Show
          mezpahlan Mez Pahlan added a comment - No response within a week. Closing.

            People

            • Assignee:
              magicdude4eva Gerd Naschenweng
              Reporter:
              magicdude4eva Gerd Naschenweng
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: