2024-10-27, 06:59 AM
Hello
I found an interesting issue. I fixed it but I post it here so maybe it helps someone who faces it too
I installed NextPVR on a new Ubuntu Server. All well. http://192.168.x.y:8866
EPG with 150 channels imported access works from PC, Mac even VPN.
I shutdown the server, moved it to another place and booted it up again
For some reason I then used http://hostname:8866
Guide was empty, no devices shown, really strange. Again reboot, still the same. Nothing in NextPVR logs.
I then checked the F12 tools of Chrome.
http://hostname:8866/languages/null.json' from origin 'http://hostname:8866' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `private`.
Hmm, I knew that CORS stuff from work.
So I changed the URL again to the IP and it works.
So if you face such an error too – use the IP.
I found an interesting issue. I fixed it but I post it here so maybe it helps someone who faces it too
I installed NextPVR on a new Ubuntu Server. All well. http://192.168.x.y:8866
EPG with 150 channels imported access works from PC, Mac even VPN.
I shutdown the server, moved it to another place and booted it up again
For some reason I then used http://hostname:8866
Guide was empty, no devices shown, really strange. Again reboot, still the same. Nothing in NextPVR logs.
I then checked the F12 tools of Chrome.
http://hostname:8866/languages/null.json' from origin 'http://hostname:8866' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `private`.
Hmm, I knew that CORS stuff from work.
So I changed the URL again to the IP and it works.
So if you face such an error too – use the IP.