Jenkins: 403 No valid crumb was included in the request

前端 未结 16 1836
野性不改
野性不改 2020-12-05 01:44

I configured jenkins in spinnaker as follows and setup spinnaker pipeline.

 jenkins:
    # If you are integrating Jenkins, set its location here using the bas         


        
16条回答
  •  天命终不由人
    2020-12-05 02:32

    Since this question is the first SO link when searching for "No valid crumb was included in the request" in Google, I think it's worth mentioning that the same error is generated if you omit/forget the Authorization HTTP header or use a blank username/password:

    Relevant error messages related to the Authorization header are only generated when a value is passed:

    And, yes, the crumb passed in the first screenshots is actually valid; everything works with the correct username/password:

    So, not sure if that's a bug or not, but "No valid crumb was included in the request" could also mean you accidentally forgot the Authorization header.

    Jenkins 2.222.3, Ubuntu Server 20.04, Java Runtime 1.8.0_252-8u252-b09-1ubuntu1-b09

提交回复
热议问题