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

XMLWordPrintable

    • 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.

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

              Created:
              Updated: