Jenkins on AWS: No valid crumb was included in the request

Viewed 941

I have just set up Jenkins (v2.69) on an AWS EC2 instance and I am accessing it through a web browser (Chrome).

However, when reaching the 'Create First Admin User' page, when I click save and finish I am hit with the following issue.

No valid crumb was included in the request

And also receive this from the console:

Failed to load resource: the server responded with a status of 403 (No valid crumb was included in the request)

Is there something I am missing or have not set up?

I've been following this tutorial

1 Answers

Follow the following steps to avoid the error:

  1. change to Jenkins user by using the following command

    su – Jenkins –s /bin/bash
    
  2. go to the config.xml and comment out the crumbIssuer from /var/lib/Jenkins/config.xml:

comment out

Related