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

'origin not allowed' error after upgrading to PMM 2.27.0 when using reverse proxy

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Fixed
    • 2.27.0
    • None
    • Documentation
    • None
    • 2
    • Yes
    • Yes
    • Yes
    • C/S Core

    Description

      In PMM server 2.27.0, we upgraded the nginx config:

      https://github.com/percona/pmm-update/commit/bda2b8d8af986a06f1855986ac61cdde4d6808be

      If a customer uses a reverse proxy (for example, nginx), it can be the cause of the issue with dashboards:

      origin not allowed

      because Host header will be empty.

      How to fix

      We need to add Host header to the reverse proxy config. For example for nginx:

      proxy_set_header Host $http_host;

      (It's a good idea to add this information to RN)

       

      Attachments

        Activity

          People

            rasika.chivate Rasika Chivate
            rasika.chivate Rasika Chivate
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist