Uploaded image for project: 'SignServer'
  1. SignServer
  2. DSS-932

Trailing slash in SignServer admin web URL causes connection failure

    Details

    • Stakeholder:
      Services
    • Issue discovered during:
      Another issue

      Description

      Reproduction steps:

      1. Start SignServer Admin GUI

      2. Enter the SignServer admin URL, but make sure it ends in a single slash (i.e. https://sign1.gov.ut:8443/signserver/).

      3. Fill-in the remaining fields for logging in.

      4. Click on the "Connect" button.

      Expected results:

      1. SignServer Admin GUI connects to the SignServer via web service, and now it's possible to administer it.

      Actual results:

      1. SignServer Admin GUI fails to connect, failing with exception:

      Caused by: java.io.IOException: Got Server returned HTTP response code: 500 for URL: https://sign1.gov.ut:8443/signserver//AdminWSService/AdminWS?wsdl while opening stream from https://sign1.gov.ut:8443/signserver//AdminWSService/AdminWS?wsdl

      Additional information:

      This is caused by double slash that gets appended at the end of user-provided URL (additional slash is added by SignServer Admin GUI). It would be nice if SignServer Admin GUI were a bit more inteligent about handling the trailing slash.

        Attachments

          Activity

            People

            Assignee:
            markus Markus KilÄs
            Reporter:
            branko Branko Majic (Inactive)
            Verified by:
            Marcus Lundblad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m