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

No valid crumb was included in request

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins ver. 2.222.4
    • Similar Issues:

      Description

      For the user authenticated through the browser ui I still receive these warnings

      2020-05-28 21:27:08.899+0000 [id=93] WARNING hudson.security.csrf.CrumbFilter#doFilter: Found invalid crumb 1be6f55b458d5a2e45dc7814b184358679da858faa8ddf6884fe92723bd28b3f. If you are calling this URL with a script, please use the API Token instead. More information: https://jenkins.io/redirect/crumb-cannot-be-used-for-script
      2020-05-28 21:27:08.899+0000 [id=93] WARNING hudson.security.csrf.CrumbFilter#doFilter: No valid crumb was included in request for /ajaxBuildQueue by ivan. Returning 403.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          You have a browser tab open in the background that hasn't been reloaded since you've logged out and back in.

          Show
          danielbeck Daniel Beck added a comment - You have a browser tab open in the background that hasn't been reloaded since you've logged out and back in.
          Hide
          catonyx Todd B added a comment -

          I recently upgraded from a much older version of Jenkins. Since then I have seen this error many times with a 'giant pop up message about the invalid crumb and lost many edits to that job. This is a real bad situation that can't be predicted. When the message pops up in the browser, the worst thing to do is refresh as that guarantees losing unsaved edits. It is better to configure the job in a separate tab to start new edits and then copy n paste or redo edits from the other tab.
          I see there is a link which leads to a way to disable this. I hope that works as I can't stand losing changes.

          Show
          catonyx Todd B added a comment - I recently upgraded from a much older version of Jenkins. Since then I have seen this error many times with a 'giant pop up message about the invalid crumb and lost many edits to that job. This is a real bad situation that can't be predicted. When the message pops up in the browser, the worst thing to do is refresh as that guarantees losing unsaved edits. It is better to configure the job in a separate tab to start new edits and then copy n paste or redo edits from the other tab. I see there is a link which leads to a way to disable this. I hope that works as I can't stand losing changes.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            zerkms Ivan Kurnosov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: