Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-5137

Swagger page redirect isn't working

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0, 2.9.0
    • Fix Version/s: None
    • Component/s: PMM Server
    • Labels:
    • Story Points:
      1
    • Needs Review:
      Yes
    • Needs QA:
      Yes
    • Needs Packaging:
      No

      Description

      Problem: https://SERVERIP/swagger/ working but https://SERVERIP/swagger is not

      WE need to have some "redirect" to let both URL to work

      STR:

      1. Install latest PMM2 server
      2. Open URL
      3. Log in to Grafana with username=admin and password=admin
      4. Open URL/swagger

      Given result: Empty page is displayed and there is an error:

      URL/swagger/ works OK, and before URL/swagger redirects to /swagger/, so the problem in redirecting

      Expected result: Swagger is displayed

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                alexey.palazhchenko Alexey Palazhchenko
                Reporter:
                nailya.kutlubaeva Nailya Kutlubaeva
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1 day, 1 hour, 58 minutes
                    1d 1h 58m