May 19, 20224 yr Came across this recently and it won't go away. I searched around the forum and found nothing. knoxx-diagnostics-20220519-1233.zip Edited May 19, 20224 yr by aglyons Diagnostics
May 19, 20224 yr I'm guessing you're running a reverse proxy? That isn't currently supported but is coming. First, go to the plugins tab and make sure the My Servers plugin is up to date. Then open a web terminal and run: unraid-api report -vv If you look in the ALLOWED_ORIGINS area it will tell you which urls are supported. If the url you are using is not in that list then you will get the CORS error. Note that the command above has -vv, which is non-anonymized data that you probably don't want to post. If you have questions, you can post anonymized data from: unraid-api report -v
May 19, 20224 yr Author Nope, no RP -yet that is. I do plan on going there once I get the hang of it. Plugin is up to date report contents looked ok to me too <-----UNRAID-API-REPORT-----> SERVER_NAME: KNOXX ENVIRONMENT: production UNRAID_VERSION: 6.9.2 UNRAID_API_VERSION: 2.46.3 (running) NODE_VERSION: v14.15.3 API_KEY: valid MY_SERVERS: authenticated MY_SERVERS_USERNAME: aglyons RELAY: connected MOTHERSHIP: ok ONLINE_SERVERS: KNOXX[owner="aglyons"] OFFLINE_SERVERS: ALLOWED_ORIGINS: http://localhost, http://192.168.XXX.XXX, https://192.168.XXX.XXX, http://knoxx, https://knoxx, http://knoxx.local, https://knoxx.local HAS_CRASH_LOGS: no </----UNRAID-API-REPORT----->
May 19, 20224 yr Author ah ha, I think I figured it out I am using my own TLD '.lyons' with my PiHole. Unifi does not like .local for some reason. It causes a bunch of problems. I failed to update the TLD in UnRaid. It still says .local
May 19, 20224 yr Author Nope, changing that in the Management section of the settings page didn't even change the tld that UnRaid responds to. <-----UNRAID-API-REPORT-----> SERVER_NAME: KNOXX.lyons ENVIRONMENT: production UNRAID_VERSION: 6.9.2 UNRAID_API_VERSION: 2.46.3 (running) NODE_VERSION: v14.15.3 API_KEY: valid MY_SERVERS: authenticated MY_SERVERS_USERNAME: aglyons RELAY: connected MOTHERSHIP: ok ONLINE_SERVERS: KNOXX[owner="aglyons"] OFFLINE_SERVERS: ALLOWED_ORIGINS: http://localhost, http://IPV4ADDRESS, https://IPV4ADDRESS, http://knoxx, https://knoxx, http://knoxx.local, https://knoxx.local HAS_CRASH_LOGS: no </----UNRAID-API-REPORT----->
May 19, 20224 yr Solution Hmm, the unraid-api should have noticed when you changed the Local TLD, I'll look into that. Please run these two commands: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/makestate unraid-api restart (no need to paste the output here) Then run the report again and it should have the lyons url listed in the allowed origins.
July 27, 20223 yr On 5/19/2022 at 7:54 PM, ljm42 said: I'm guessing you're running a reverse proxy? That isn't currently supported but is coming. First, go to the plugins tab and make sure the My Servers plugin is up to date. Then open a web terminal and run: unraid-api report -vv If you look in the ALLOWED_ORIGINS area it will tell you which urls are supported. If the url you are using is not in that list then you will get the CORS error. Note that the command above has -vv, which is non-anonymized data that you probably don't want to post. If you have questions, you can post anonymized data from: unraid-api report -v Are there any news about when the support for a reverse proxy is coming? I guess that we can still make it work by matching the local TLD with the public domain, right? Thank you
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.