When I click the “Manage” button on any game instance, the dashboard just flashes. When I right click and tell it to open in a new tab instead, I can see the issue is due to a double slash (//) in the URL. I assume this is likely due to me having a trailing slash somewhere in my configuration.
Steps to reproduce:
Clicking Manage fails to execute.
Telling Manage to open in new tab shows the URL has a double slash.
In the new tab, removing the extra slash opens the page as expected.
Actions taken to resolve so far:
I’ve gone through each AMPConfig.conf and removed any trailing slashes in my URLs but that doesn’t seem to have solved my issue.
Base URL is correct and no trailing slash. I did forget to add that I have a central controller managing 3 targets. I had my Remote Instance Access Mode to Bypass Controller and I can access each instance directly. The Base URL is different for each host (spaces added intentionally due to the URL # limitations for posting…):
https:// amp. url. com (Controller)
https:// ampgs01. url. com (Target_1)
https:// ampgs02. url. com (Target_2)
https:// ampgs03. url. com (Target_3)
CORS Origin for all 4 is set to https://amp.url.com and Base URL is set to each unique host. Neither have trailing slash.
Changing my Access Mode to Via Target or Direct From Controller “fixes” it by essentially proxying through the Controller, but if I change it back to Bypass Controller, it resorts back to this behavior with the extra slash and correctly changing to each instances’ host, albeit now with an extra slash that breaks things.
The only place I could find a trailing slash was in the Target URL section of each instances’ Edit menu. However, if I remove it, save changes and go back into the Edit screen, it’s always there. I cannot get rid of it and I presume this might be where the extra slash is coming from.
All my targets have a trailing slash with no issue, and I’ve got Via Target selected (the default, and imo easiest to deal with)
Could be some weird bug in some code used to proxy instances when bypassing the controller (I’d wager there’s a missing “endswith /” check somewhere)
Good to know that Target URL behavior is the same and not a ‘me’ thing. I’ll just swap things to the other Access Modes since that works. Appreciate the responses/help!