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

2.0 Build Api: No valid crumb was included in the request

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core
    • None
    • Ubuntu 14.04

      Fresh install of 2.0 on Ubuntu 14.04

      SCMSync plugin installed
      Active Directory plugin installed
      Port switched to 8081

      Post requests to the Build api via:

      sjakubowski@sjakubowski-u:~/hubot2$ curl -i -X POST -H "Content-type: plain" http://user:pass@10.11.0.163:8081/job/hello/build
      HTTP/1.1 403 No valid crumb was included in the request
      Date: Tue, 03 May 2016 16:59:12 GMT
      X-Content-Type-Options: nosniff
      Content-Type: text/html; charset=ISO-8859-1
      Cache-Control: must-revalidate,no-cache,no-store
      Content-Length: 365
      Server: Jetty(9.2.z-SNAPSHOT)

      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <title>Error 403 No valid crumb was included in the request</title>
      </head>
      <body><h2>HTTP ERROR 403</h2>
      <p>Problem accessing /job/hello/build. Reason:
      <pre> No valid crumb was included in the request</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>

      </body>
      </html>

      Return above error.

      Seems different from JENKINS-33813

      /var/log/jenkins/jenkins.log returns:

      May 03, 2016 4:41:37 PM hudson.security.csrf.CrumbFilter doFilter
      WARNING: No valid crumb was included in request for /hubot/github-repo-listener. Returning 403.

            Unassigned Unassigned
            sjakubowski Sylvester Jakubowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: