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

Gitlab Trigger Url returns 403

XMLWordPrintable

      When i try to send a Gitlab Trigger Push Event tests to jenkins, the server received the 403 error

      // code placeholder
      Hook executed successfully but returned HTTP 403 <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 No valid crumb was included in the request</h2> <table> <tr><th>URI:</th><td>/job/Multiple-Branch-Demo/gitlab-webhook/post</td></tr> <tr><th>STATUS:</th><td>403</td></tr> <tr><th>MESSAGE:</th><td>No valid crumb was included in the request</td></tr> <tr><th>SERVLET:</th><td>Stapler</td></tr> </table> <hr><a href="https://eclipse.org/jetty">Powered by Jetty:// 9.4.33.v20201020</a><hr/> </body> </html>
      

      what should i do if i want to get a successful return?

       

      Notes:

      Already configured the jenkins and gitlab, like below:

      1 http://xxxxxxxxxx/job/Multiple-Branch-Demo/gitlab-webhook/post

      2

      3

       

       

      4 My GitLab Branch Source plugin version is 1.5.4

            baymac Parichay Barpanda
            rty_dq rty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: