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

"No valid crumb was included in the request" when deploying to Kubernetes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
    • Environment:
      Google Cloud Platform, Docker, Kubernetes
    • Similar Issues:

      Description

      I was able to deploy the jenkins 2.19.3 Docker image to Google Cloud Platform, using Kubernetes. Everthing is fine in creating the infrastructure and running the thing; but when I start the initial Jenkins configuration wizard and I get up to the point of creating the administrative user, I get the error when pressing "Save":

      An error occurred
      No valid crumb was included in the request

      At the moment I didn't attempt to map the port; that is, this is the command line used to create the pod:

      kubectl run jenkins-node --image=eu.gcr.io/tidalwave-services/jenkins --port=8080

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          It doesn't look to me like this should be a bug in the Jenkins project's tracker.

          Show that it happens with any of the official packages and you'll have a bug. Right now it doesn't look like that is what you're doing.

          Show
          danielbeck Daniel Beck added a comment - It doesn't look to me like this should be a bug in the Jenkins project's tracker. Show that it happens with any of the official packages and you'll have a bug. Right now it doesn't look like that is what you're doing.
          Hide
          zackliu Chenyang Liu added a comment -

          fabriziogiudici Oh, I met the same issue in kubernetes with the official Jenkins image.

          At the same time, Jenkins has another error:

           

          Version:1.0 StartHTML:000000191 EndHTML:000004073 StartFragment:000003764 EndFragment:000004023 StartSelection:000003764 EndSelection:000004023 SourceURL:http://52.187.130.48/log/all Log [Jenkins]
          
          
          Connection #180 failed java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:213) 

           

          Show
          zackliu Chenyang Liu added a comment - fabriziogiudici Oh, I met the same issue in kubernetes with the official Jenkins image. At the same time, Jenkins has another error:   Version:1.0 StartHTML:000000191 EndHTML:000004073 StartFragment:000003764 EndFragment:000004023 StartSelection:000003764 EndSelection:000004023 SourceURL:http: //52.187.130.48/log/all Log [Jenkins] Connection #180 failed java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:213)  
          Hide
          steve21168 Steven Goodstein added a comment -

          This is anecdotal but it may be the same issue I had in the past.  In "Configure Global Security"  under "CSRF protection" check off  "Enable proxy compatability". 

          Show
          steve21168 Steven Goodstein added a comment - This is anecdotal but it may be the same issue I had in the past.  In "Configure Global Security"  under "CSRF protection" check off  "Enable proxy compatability". 

            People

            • Assignee:
              Unassigned
              Reporter:
              fabriziogiudici fabriziogiudici
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: