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

Build Flow checkDsl fails with "Request Entity Too Large"

XMLWordPrintable

      During configuration of a flow, as the amount of DSL code to execute in a flow grows, a 4k limit for GET requests as imposed by Apache can be exceeded, resulting in the message

      Request Entity Too Large
      The requested resource
      /jenkins/view/trunk/job/=flow_trunk/descriptorByName/com.cloudbees.plugins.flow.BuildFlow/checkDsl
      does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.
      Apache/2.2.22 (Debian) Server at xxxxxx-ci.xxxxxx.ch Port pppp

      right after the "Define build flow using flow DSL" text entry field.

      The message is sometimes visible as copied above, at other times only an "ERROR" link is displayed which gets expanded to the message when clicked.

      Could HTTP POST requests be used instead of HTTP GET requests?

            ndeloof Nicolas De Loof
            wjg57 Wolf Geldmacher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: