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

Gitlab Trigger Url returns 403

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          rty_dq rty created issue -
          rty_dq rty made changes -
          Field Original Value New Value
          Attachment image-2021-06-16-10-58-56-520.png [ 55010 ]
          rty_dq rty made changes -
          Attachment image-2021-06-16-11-05-59-944.png [ 55011 ]
          rty_dq rty made changes -
          Attachment image-2021-06-16-11-06-05-385.png [ 55012 ]
          rty_dq rty made changes -
          Description When i try to send a Gitlab Trigger Push Event tests to jenkins, the server received the 403 error
          {code:java}
          // 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>
          {code}
          what should i do if i want to get a successful return?

           

          Notes:

          Already configured the jenkins and gitlab, like below:

           
          rty_dq rty made changes -
          Attachment image-2021-06-16-10-58-56-520.png [ 55010 ]
          rty_dq rty made changes -
          Attachment image-2021-06-16-11-06-05-385.png [ 55012 ]
          rty_dq rty made changes -
          Attachment image-2021-06-16-11-05-59-944.png [ 55011 ]
          rty_dq rty made changes -
          Attachment image-2021-06-16-11-09-29-790.png [ 55013 ]
          rty_dq rty made changes -
          Attachment image-2021-06-16-11-09-49-972.png [ 55014 ]
          rty_dq rty made changes -
          Description When i try to send a Gitlab Trigger Push Event tests to jenkins, the server received the 403 error
          {code:java}
          // 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>
          {code}
          what should i do if i want to get a successful return?

           

          Notes:

          Already configured the jenkins and gitlab, like below:

           
          When i try to send a Gitlab Trigger Push Event tests to jenkins, the server received the 403 error
          {code:java}
          // 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>
          {code}
          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|http://xxxxxxxxxx/job/Multiple-Branch-Demo/gitlab-webhook/post]*

          *2 !image-2021-06-16-11-09-29-790.png!*

          *3 !image-2021-06-16-11-09-49-972.png!*

           

           
          rty_dq rty made changes -
          Attachment image-2021-06-16-12-46-12-644.png [ 55015 ]
          rty_dq rty made changes -
          Description When i try to send a Gitlab Trigger Push Event tests to jenkins, the server received the 403 error
          {code:java}
          // 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>
          {code}
          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|http://xxxxxxxxxx/job/Multiple-Branch-Demo/gitlab-webhook/post]*

          *2 !image-2021-06-16-11-09-29-790.png!*

          *3 !image-2021-06-16-11-09-49-972.png!*

           

           
          When i try to send a Gitlab Trigger Push Event tests to jenkins, the server received the 403 error
          {code:java}
          // 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>
          {code}
          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|http://xxxxxxxxxx/job/Multiple-Branch-Demo/gitlab-webhook/post]*

          *2 !image-2021-06-16-11-09-29-790.png!*

          *3 !image-2021-06-16-11-09-49-972.png!*

           

           

          4 My GitLab Branch Source plugin version is 1.5.4

          !image-2021-06-16-12-46-12-644.png!

            People

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

              Dates

              Created:
              Updated: