Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-17644

Header Or Cookie Too Large Error when publishing go module

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6.0
    • Component/s: None
    • Labels:

      Description

      When trying to convert a go project to go module and push it to Artifactory using the JFrog CLI I'm getting the following error:

      {
        "status": "failure",
        "totals": {
          "success": 0,
          "failure": 0
        }
      }
      [Error] 400 Bad Request <html>
      <head><title>400 Request Header Or Cookie Too Large</title></head>
      <body bgcolor="white">
      <center><h1>400 Bad Request</h1></center>
      <center>Request Header Or Cookie Too Large</center>
      <hr><center>nginx/1.11.10</center>
      </body>
      </html>
      

      Steps to reproduce (using JFrog CLI 1.19.1 and Go 1.11):

      export GOPATH=<REPLACE_GO_PATH>
      export PATH=$PATH:$GOPATH/bin
      export GO111MODULE=off
      cd $GOPATH
      go get -d github.com/hashicorp/vault
      cd $GOPATH/src/github.com/hashicorp/vault
      git checkout tags/v0.11.1
      export GO111MODULE=on
      go mod init github.com/hashicorp/vault
      go mod tidy
      jfrog rt gp <REPLACE_GO_REPO> v0.11.1 --server-id=<REPLACE_SERVER_ID> --self=true
      

        Attachments

          Activity

            People

            • Assignee:
              tamirh Tamir Hadad
              Reporter:
              eliom Elio Marcolino
              Assigned QA:
              Gal Ben Ami
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: