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

Error communicating to server! timeout

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Gets this error "Error communicating to server! timeout" every time I try to look at my pipeline. It only works like 1 time on 10 to 20 tries.

      Jenkins version: 1.599
      Delivery Pipeline Plugin: 0.8.9

        Attachments

          Activity

          Hide
          aehlke Alex Ehlke added a comment -

          Please let me know if any other info would be useful, I'm eager to assist getting this fixed however I can Thanks.

          Show
          aehlke Alex Ehlke added a comment - Please let me know if any other info would be useful, I'm eager to assist getting this fixed however I can Thanks.
          Hide
          patbos Patrik Boström added a comment - - edited

          Need some information to understand why the call to https://foo.example/job/Branches/view/feature-box_polling/api/json takes that long. Threaddumps would be helpful during the call that timeouts.

          Show
          patbos Patrik Boström added a comment - - edited Need some information to understand why the call to https://foo.example/job/Branches/view/feature-box_polling/api/json takes that long. Threaddumps would be helpful during the call that timeouts.
          Hide
          aehlke Alex Ehlke added a comment -

          @Patrik, here's a thread dump of master and slave (I believe slave was building a job at the moment), in another couple tabs I had the delivery pipeline view open and these GETs can be seen in the dump: https://dl.dropboxusercontent.com/u/2112716/Thread%20dump%20%5BJenkins%5D%20delivery%20pipeline%20timeout.html

          Show
          aehlke Alex Ehlke added a comment - @Patrik, here's a thread dump of master and slave (I believe slave was building a job at the moment), in another couple tabs I had the delivery pipeline view open and these GETs can be seen in the dump: https://dl.dropboxusercontent.com/u/2112716/Thread%20dump%20%5BJenkins%5D%20delivery%20pipeline%20timeout.html
          Hide
          aehlke Alex Ehlke added a comment -

          I found the issue: I have a job called "Job-DSL" which is a pipeline step, it runs the Netflix Job DSL very frequently. I wasn't discarding old builds, so thousands piled up. Once I cleared the builds directory, the delivery pipeline started working (and snappily) again.

          Show
          aehlke Alex Ehlke added a comment - I found the issue: I have a job called "Job-DSL" which is a pipeline step, it runs the Netflix Job DSL very frequently. I wasn't discarding old builds, so thousands piled up. Once I cleared the builds directory, the delivery pipeline started working (and snappily) again.
          Hide
          tommysdk Tommy Tynjä added a comment -

          Marking as resolved since it seems to be caused by job configurations preserving a lot of history. A workaround is to preserve less history.

          Show
          tommysdk Tommy Tynjä added a comment - Marking as resolved since it seems to be caused by job configurations preserving a lot of history. A workaround is to preserve less history.

            People

            • Assignee:
              patbos Patrik Boström
              Reporter:
              midikem Anders Nyström
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: