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

Jenkins Resource Root URL not working (404) with Project-based matrix auth

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • None

      Running Jenkins on dedicated machine, with SSL provided by Haproxy.

      Jenkins runs inside internal network, with URL https://jenkins.company.com , https://jenkins-static.company.com is set up to point to the same machine.

      Haproxy settings as from jenkins tutorial (disabling haproxy and switching to direct HTTP does not solve the issue).

      When setting up Resource Root URL using "Manage Jenkins >> System", all artifacts URL are converted to https://jenkins-static.company.com/static-files/TOKEN/FILE_PATH but trying to open the link always leads to "Oops!" 404 page.

      I was unable to find any related information in the logs, but maybe I do not know where to look.

      I have no idea what might be wrong, maybe GitLab OAuth plugin results in invalid user names and then tokens?

          [JENKINS-73720] Jenkins Resource Root URL not working (404) with Project-based matrix auth

          Konrad Grochowski created issue -
          Konrad Grochowski made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Konrad Grochowski made changes -
          Component/s New: matrix-auth-plugin [ 18131 ]
          Konrad Grochowski made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          Konrad Grochowski made changes -
          Summary Original: Resource Root URL not working - always returning 404 New: Jenkins Resource Root URL not working (404) with Project-based matrix auth
          Konrad Grochowski made changes -
          Link New: This issue relates to JENKINS-63296 [ JENKINS-63296 ]
          Andreas Mandel made changes -
          Link New: This issue is caused by JENKINS-72636 [ JENKINS-72636 ]
          Konrad Grochowski made changes -
          Attachment New: screenshot-1.png [ 63392 ]
          Konrad Grochowski made changes -
          Link New: This issue is blocked by JENKINS-74735 [ JENKINS-74735 ]
          Konrad Grochowski made changes -
          Component/s New: gitlab-oauth-plugin [ 21470 ]
          Component/s Original: core [ 15593 ]
          Daniel Beck made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            hcorg Konrad Grochowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: