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

Getting a HTTP 411 Length required trying to trigger a build on remote jenkins server

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Local Jenkins server version: 1.596.2
      Remote Jenkins server version: 1.565.1
      Parameterized remote trigger plugin version: 2.2.2

      Trying to do a parameterized remote triggered build, and getting the following error in the console log:

      Triggering this remote job: <REDACTED>
      Not checking if the remote job <REDACTED> is building.
      Triggering remote job now.
      Server returned HTTP response code: 411 for URL: http://<REDACTED>/buildWithParameters?delay=0
      Connection to remote server failed, waiting for to retry - 10 seconds until next attempt.
      Retry attempt #1 out of 5
      Server returned HTTP response code: 411 for URL: http://<REDACTED>/buildWithParameters?delay=0
      Connection to remote server failed, waiting for to retry - 10 seconds until next attempt.
      Retry attempt #2 out of 5
      

      I am able to trigger the desired build by pointing my browser to the buildWithParameters endpoint. It appears the plugin is doing a POST and is not passing in the request length with the post.

          [JENKINS-30866] Getting a HTTP 411 Length required trying to trigger a build on remote jenkins server

          Mike B. added a comment -

          I can confirm this issue for

          • Local Jenkins server version: 1.633
          • Local Parameterized remote trigger plugin version: 2.2.2
          • Remote Jenkins server version: 1.637
          • Remote Build Authorization Token Root Plugin 1.3

          Mike B. added a comment - I can confirm this issue for Local Jenkins server version: 1.633 Local Parameterized remote trigger plugin version: 2.2.2 Remote Jenkins server version: 1.637 Remote Build Authorization Token Root Plugin 1.3

          Any news for this? We want to use the plugin but the error keeps us from triggering jobs

          Stefan Schultz added a comment - Any news for this? We want to use the plugin but the error keeps us from triggering jobs

          Could you try v3.0.1 to see if this issue fixed? 

          Too few information & can't reproduce now. 

          KaiHsiang Chang added a comment - Could you try v3.0.1 to see if this issue fixed?  Too few information & can't reproduce now. 

            cashlalala KaiHsiang Chang
            csmouse Chris Smouse
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: