sungshon / PimpMyStremio

Local add-on manager for Stremio
MIT License
381 stars 51 forks source link

CORS Error (Windows 10 x64) #72

Closed BlueSialia closed 4 years ago

BlueSialia commented 4 years ago

The webpage (https://sungshon.github.io/PimpMyStremio/loader/?port=7777&protocol=http&host=127.0.0.1) says "Error while starting PimpMyStremio".

The Javascript console has a CORS error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://127.0.0.1:7777/loading-api. (Reason: CORS request did not succeed).

The PowerShell log is clean:

PS D:\Desktop> .\PimpMyStremio.exe --verbose
PimpMyStremio - Checking for updates
PimpMyStremio - Already have latest version
PimpMyStremio - User defined add-ons list URL is valid, updating add-ons list
PimpMyStremio - Successfully updated add-ons list from remote source
Remote access choice: No (local)
PimpMyStremio server running at: http://127.0.0.1:7777
systrayhelper 0.0.5 (d5794e2a72a9cb160d78b6fd9ee640ad1df02af7 built 2018-12-05T09:24:27Z)
BlueSialia commented 4 years ago

This error is caused by the browser add-on HTTPS Everywhere. A very famous add-on. Disabling it fixes the issue.

(I apparently rushed when creating this issue, at least now there is a record for future users)