Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Buildmaster Import Fail Error(Request Header Fields Too Large) from Jenkins CI Server

    Scheduled Pinned Locked Moved Support
    1 Posts 1 Posters 11 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pooms_7365
      last edited by pooms_7365

      Hello I'm new to this forum and Inedo buildmaster, So I try to import build from CI Server Jenkins and I get this error "Response status code does not indicate success: 431 (Request Header Fields Too Large)." I did some research and they suggest to delete cookies or use Incognito mode but it didn't work for me any idea how to solve this ?

      Deploy : Docker Version.
      Buildmaster Version : Version 2022.8 (Build 4)
      OS : Linux Ubuntu 20.04.6 LTS (Focal Fossa)

      Full Log.

      Initiating Jenkins connection as Username "admin" to http://192.168.32.44:8080/
      Requesting XML from job/Artifactory/56/api/xml
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/aether-api-1.1.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/aether-api-1.13.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/aether-impl-1.1.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/aether-impl-1.13.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/aether-spi-1.1.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/aether-spi-1.13.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/aether-util-1.1.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/aether-util-1.13.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/angus-activation-1.0.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/antlr-runtime-3.4.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/aopalliance-repackaged-2.6.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/artifactory.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/bcpkix-jdk15on-1.64.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/bcprov-jdk15on-1.64.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-api-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-client-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-extractor-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-extractor-docker-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-extractor-go-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-extractor-gradle-4.31.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-extractor-ivy-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-extractor-maven3-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-extractor-npm-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-extractor-nuget-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-extractor-pip-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/build-info-vcs-2.39.8.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/commons-codec-1.15.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/commons-compress-1.21.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/commons-io-2.8.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/commons-lang3-3.12.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/docker-java-3.2.14.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/docker-java-api-3.2.14.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/docker-java-core-3.2.14.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/docker-java-transport-3.2.14.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/docker-java-transport-jersey-3.2.14.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/docker-java-transport-netty-3.2.14.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/done
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/eddsa-0.3.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/file-specs-java-1.1.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/guava-18.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/hk2-api-2.6.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/hk2-locator-2.6.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/hk2-utils-2.6.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/httpclient-4.5.14.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/httpcore-4.4.16.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/ivy-2.4.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jackson-annotations-2.14.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jackson-core-2.14.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jackson-databind-2.14.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jackson-dataformat-xml-2.14.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jackson-jaxrs-base-2.10.3.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jackson-jaxrs-json-provider-2.10.3.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jakarta.annotation-api-1.3.5.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jakarta.inject-2.6.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jakarta.ws.rs-api-2.1.6.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jakarta.xml.bind-api-3.0.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/javassist-3.25.0-GA.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jaxb-core-4.0.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jaxb-impl-4.0.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jcl-over-slf4j-1.7.25.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jdom2-2.0.6.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jersey-apache-connector-2.30.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jersey-client-2.30.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jersey-common-2.30.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jersey-hk2-2.30.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jna-5.6.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jna-platform-5.6.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jsch.agentproxy.connector-factory-0.0.7.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jsch.agentproxy.core-0.0.7.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jsch.agentproxy.pageant-0.0.7.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jsch.agentproxy.sshagent-0.0.7.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jsch.agentproxy.svnkit-trilead-ssh2-0.0.7.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jsch.agentproxy.usocket-jna-0.0.7.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jsch.agentproxy.usocket-nc-0.0.7.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jsr305-3.0.2.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/junixsocket-common-2.3.2.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/junixsocket-native-common-2.3.2.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/jzlib-1.1.3.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/lz4-java-1.4.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/maven-deploy-plugin-3.0.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/maven-model-3.8.6.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-buffer-4.1.79.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-codec-4.1.79.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-codec-http-4.1.79.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-codec-socks-4.1.79.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-common-4.1.79.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-handler-4.1.46.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-handler-proxy-4.1.79.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-resolver-4.1.79.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-transport-4.1.79.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-transport-native-epoll-4.1.46.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-transport-native-kqueue-4.1.46.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/netty-transport-native-unix-common-4.1.46.Final.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/osgi-resource-locator-1.0.3.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/platform-3.4.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/plexus-classworlds-2.5.2.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/sequence-library-1.0.4.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/slf4j-api-1.7.25.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/slf4j-simple-1.7.36.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/sqljet-1.1.14.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/stax2-api-4.2.1.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/svnkit-1.10.4.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/trilead-ssh2-1.0.0-build222.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/cache/artifactory-plugin/3.18.1/woodstox-core-6.4.0.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/Dockerfile
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/pom.xml
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/README.md
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/regapp-deploy.yml
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/regapp-service.yml
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/server/pom.xml
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/server/src/main/java/com/example/Greeter.java
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/server/src/site/apt/index.apt
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/server/src/test/java/com/example/TestGreeter.java
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/server/target/classes/com/example/Greeter.class
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/server/target/maven-archiver/pom.properties
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/server/target/server.jar
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/server/target/surefire-reports/com.example.TestGreeter.txt
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/server/target/surefire-reports/TEST-com.example.TestGreeter.xml
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/server/target/test-classes/com/example/TestGreeter.class
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/target/build-info.json
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/webapp/pom.xml
      Checking for CSRF protection...
      Downloading from job/Artifactory/56/artifact/webapp/src/main/webapp/index.jsp
      Checking for CSRF protection...
      Response status code does not indicate success: 431 (Request Header Fields Too Large).
      Unhandled exception: System.Net.Http.HttpRequestException: Response status code does not indicate success: 431 (Request Header Fields Too Large).
         at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
         at System.Net.Http.HttpClient.GetStreamAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
         at Inedo.Extensions.Jenkins.JenkinsClient.DownloadArtifactAsync(String projectName, String branchName, Int32 buildNumber, String artifactName, Stream target, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E285689\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 146
         at Inedo.Extensions.Jenkins.Operations.ImportJenkinsArtifactsOperation.ExecuteAsync(IOperationExecutionContext context) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E285689\Src\Jenkins\InedoExtension\Operations\ImportJenkinsArtifactOperation.cs:line 118
         at Inedo.Extensions.Jenkins.Operations.ImportJenkinsArtifactsOperation.ExecuteAsync(IOperationExecutionContext context) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E285689\Src\Jenkins\InedoExtension\Operations\ImportJenkinsArtifactOperation.cs:line 111
         at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.OtterScriptExecuter.Inedo.ExecutionEngine.Executer.IExecutionHostEnvironment.ExecuteActionAsync(ActionStatement actionStatement, IExecuterContext context) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E331886\Src\BuildMasterSolution\BuildMaster.Service\Executions\PlanExecuter\OtterScriptExecuter.cs:line 350
      
      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post
      Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation