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

Broken configuration page as referenced in tutorials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      So, if you follow the main site's tutorials on how to turn on authentication, which SHOULD BE ON BY DEFAULT, they send you to the erroneous configuration address http://install/configure/ .

      This is awesome for several reasons.

      1) The correct URL does not have a trailing slash

      2) The form will in fact respond from the wrong URL, with no apparent problem

      3) The form gets the target completely wrong, but the stack trace is empty and the container 404s with no mention of what's wrong, and there's no documentation of what's correct, so you either have to source dive or hold your nose and spend three days being abused by the IRC channel to find out what's wrong.

      What's wrong?

      Well, if you put that trailing slash on there, which by the Java specification is supposed to be the same as without (even though that in turn is a violation of the URI RFC,) then suddenly instead of using %/configureSubmit like it's supposed to, it uses %/config/configSubmit (wrong path, wrong target.)

      So, if you follow the site instructions on getting user accounts working, you spend several days with builds exposed to the internet while you look for someone with enough trivia knowledge to get basic authentication instructions to work.

      Hooray!

      Thankfully, the bug tracker refuses to take anonymous bugs, and takes 20 minutes for a credential to start working, guaranteeing that 95% of the people who would have already reported this went away and did something else instead.

      Because why shouldn't we make the barriers to finding out what's broken higher?

      Next, let's get stuck choosing from several hundred components, even though this doesn't really apply to a component in any sensible way.

      TL;DR: your app responds to URLs it shouldn't, and your tutorials on getting accounts working point at the wrong URLs, and when you go to the wrong URL for configuration it breaks in a spectacularly inobvious way.

            Unassigned Unassigned
            johnhaugeland John Haugeland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: