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

Routed to wrong Jenkins after 2.479.1 upgrade

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • Java 21.0.5
      OpenLiberty 24.0.0.11
      Jenkins 2.479.1

      After upgrading to 2.479.1 I've found that I'm being routed to the wrong Jenkins

      We use SNI to route to our build, cit and dat jenkins, we use different colours for each one

      After the upgrade going to the a Jenkins everything looks good, but going to a different one, then shows the login screen, but brings up the previous Jenkins

      Opening an incognito tab allows us to access another a different one

      I'm guessing something is being cached

          [JENKINS-74803] Routed to wrong Jenkins after 2.479.1 upgrade

          Mike Lothian added a comment -

          When the wrong Jenkins is being displayed I can see: "It appears that your reverse proxy set up is broken." in the settings

          In developer tools the domain is the one entered (but not displayed) I.e. I've entered the build jenkins URL, but the CIT Jenkins is being shown,  the build jenkins domain is listed in developer tools, apart from 2 requests, which is to :

          https://jenkinscit.domain.com/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/testForReverseProxySetup/https%3A%2F%2Fjenkinsbuild.domain.com%2Fmanage%2F/

          CORS Error

          https://jenkinscit.domain.com/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/testForReverseProxySetup/https%3A%2F%2Fjenkinsbuild.domain.com%2Fmanage%2F/

          403

          Mike Lothian added a comment - When the wrong Jenkins is being displayed I can see: "It appears that your reverse proxy set up is broken." in the settings In developer tools the domain is the one entered (but not displayed) I.e. I've entered the build jenkins URL, but the CIT Jenkins is being shown,  the build jenkins domain is listed in developer tools, apart from 2 requests, which is to : https://jenkinscit.domain.com/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/testForReverseProxySetup/https%3A%2F%2Fjenkinsbuild.domain.com%2Fmanage%2F/ CORS Error https://jenkinscit.domain.com/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/testForReverseProxySetup/https%3A%2F%2Fjenkinsbuild.domain.com%2Fmanage%2F/ 403

          Mike Lothian added a comment -

          I've worked around the issue by dropping the SNI routing and having a CNAME directly to the correct server

          Mike Lothian added a comment - I've worked around the issue by dropping the SNI routing and having a CNAME directly to the correct server

            Unassigned Unassigned
            fireburn Mike Lothian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: