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

Proxy error links improperly uses root URL (regression in 2.408)

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core

      Steps to reproduce

      1. Disconnect from the internet (e.g. toggle wifi)
      2. Start Jenkins (e.g. docker run -p 8080:8080 jenkins/jenkins)
      3. Log in, skip everything in setup wizard ("Skip Plugin Installations", "Continue as admin", "not now", "Start using Jenkins")
      4. Go to Manage Jenkins » Plugins » Download progress and click the first link labeled "configure HTTP proxy?"

      Expected result

      The link works

      Actual result

      The link takes you to http://localhost:8080/manage/pluginManager/updates/nullmanage/pluginManager/advanced because the Root URL is null at this point (and the fallback to request URL didn't work).

      Notes

      Introduced in https://github.com/jenkinsci/jenkins/pull/7992 

      The first error on the Download progress page was logged when Jenkins started, so it would not pick up a URL configured during the wizard.

          [JENKINS-71905] Proxy error links improperly uses root URL (regression in 2.408)

          Daniel Beck created issue -
          Daniel Beck made changes -
          Description Original: *Steps to reproduce*
           # Disconnect from the internet (e.g. toggle wifi)
           # Start Jenkins (e.g. {{{}docker run -p 8080:8080 jenkins/jenkins{}}})
           # Log in, skip everything in setup wizard ("Skip Plugin Installations", "Continue as admin", "not now")
           # Go to Manage Jenkins » Plugins » Download progress and click the link labeled "configure HTTP proxy?"

          *Expected result*

          The link works

          *Actual result*

          The link takes you to [http://localhost:8080/manage/pluginManager/updates/nullmanage/pluginManager/advanced] because the Root URL is null at this point.

          *Notes*

          Introduced in [https://github.com/jenkinsci/jenkins/pull/7992
          New: *Steps to reproduce*
           # Disconnect from the internet (e.g. toggle wifi)
           # Start Jenkins (e.g. {{{}docker run -p 8080:8080 jenkins/jenkins{}}})
           # Log in, skip everything in setup wizard ("Skip Plugin Installations", "Continue as admin", "not now", "Start using Jenkins")
           # Go to Manage Jenkins » Plugins » Download progress and click the link labeled "configure HTTP proxy?"

          *Expected result*

          The link works

          *Actual result*

          The link takes you to [http://localhost:8080/manage/pluginManager/updates/nullmanage/pluginManager/advanced] because the Root URL is null at this point.

          *Notes*

          Introduced in [https://github.com/jenkinsci/jenkins/pull/7992

          The first error on the Download progress page was logged when Jenkins started, so it would not pick up a URL configured during the wizard.
          Daniel Beck made changes -
          Description Original: *Steps to reproduce*
           # Disconnect from the internet (e.g. toggle wifi)
           # Start Jenkins (e.g. {{{}docker run -p 8080:8080 jenkins/jenkins{}}})
           # Log in, skip everything in setup wizard ("Skip Plugin Installations", "Continue as admin", "not now", "Start using Jenkins")
           # Go to Manage Jenkins » Plugins » Download progress and click the link labeled "configure HTTP proxy?"

          *Expected result*

          The link works

          *Actual result*

          The link takes you to [http://localhost:8080/manage/pluginManager/updates/nullmanage/pluginManager/advanced] because the Root URL is null at this point.

          *Notes*

          Introduced in [https://github.com/jenkinsci/jenkins/pull/7992

          The first error on the Download progress page was logged when Jenkins started, so it would not pick up a URL configured during the wizard.
          New: *Steps to reproduce*
           # Disconnect from the internet (e.g. toggle wifi)
           # Start Jenkins (e.g. {{{}docker run -p 8080:8080 jenkins/jenkins{}}})
           # Log in, skip everything in setup wizard ("Skip Plugin Installations", "Continue as admin", "not now", "Start using Jenkins")
           # Go to Manage Jenkins » Plugins » Download progress and click the first link labeled "configure HTTP proxy?"

          *Expected result*

          The link works

          *Actual result*

          The link takes you to [http://localhost:8080/manage/pluginManager/updates/nullmanage/pluginManager/advanced] because the Root URL is null at this point.

          *Notes*

          Introduced in [https://github.com/jenkinsci/jenkins/pull/7992

          The first error on the Download progress page was logged when Jenkins started, so it would not pick up a URL configured during the wizard.
          Daniel Beck made changes -
          Description Original: *Steps to reproduce*
           # Disconnect from the internet (e.g. toggle wifi)
           # Start Jenkins (e.g. {{{}docker run -p 8080:8080 jenkins/jenkins{}}})
           # Log in, skip everything in setup wizard ("Skip Plugin Installations", "Continue as admin", "not now", "Start using Jenkins")
           # Go to Manage Jenkins » Plugins » Download progress and click the first link labeled "configure HTTP proxy?"

          *Expected result*

          The link works

          *Actual result*

          The link takes you to [http://localhost:8080/manage/pluginManager/updates/nullmanage/pluginManager/advanced] because the Root URL is null at this point.

          *Notes*

          Introduced in [https://github.com/jenkinsci/jenkins/pull/7992

          The first error on the Download progress page was logged when Jenkins started, so it would not pick up a URL configured during the wizard.
          New: *Steps to reproduce*
           # Disconnect from the internet (e.g. toggle wifi)
           # Start Jenkins (e.g. {{{}docker run -p 8080:8080 jenkins/jenkins{}}})
           # Log in, skip everything in setup wizard ("Skip Plugin Installations", "Continue as admin", "not now", "Start using Jenkins")
           # Go to Manage Jenkins » Plugins » Download progress and click the first link labeled "configure HTTP proxy?"

          *Expected result*

          The link works

          *Actual result*

          The link takes you to [http://localhost:8080/manage/pluginManager/updates/nullmanage/pluginManager/advanced] because the Root URL is null at this point (and the fallback to request URL didn't work).

          *Notes*

          Introduced in [https://github.com/jenkinsci/jenkins/pull/7992

          The first error on the Download progress page was logged when Jenkins started, so it would not pick up a URL configured during the wizard.
          Daniel Beck made changes -
          Link New: This issue is caused by JENKINS-71244 [ JENKINS-71244 ]

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: