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

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

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • core
    • Google Cloud Platform, Docker, Kubernetes

      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

          [JENKINS-39885] "No valid crumb was included in the request" when deploying to Kubernetes

          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.

          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.

          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) 

           

          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)  

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

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

            Unassigned Unassigned
            fabriziogiudici fabriziogiudici
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: