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

"No valid crumb was included in the request" even with valid crumb supplied - after updating

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • core
    • None
    • 2.176.3

      Since upgrading to 2.176.3, my previous node script to trigger a Jenkins job remotely has stopped working, I now get an error 403: No valid crumb was included in the request

      The steps my script is performing are:

      1. HTTP GET on 
        https://username:password@jenkinsurl/crumbIssuer/api/json
      2. Parse output to get a crumb (this is still working, I get a crumb)
      3. HTTP POST to 
        https://username:password@jenkinsurl/job/blah/buildWithParameters?token=blah&params=blah with header= 'Jenkins-Crumb': crumb from step 1
      4. Receives response 403: No valid crumb was included in the request

       

      This started straight after the upgrade.

            Unassigned Unassigned
            robormond Rob Ormond
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: