kofigumbs / multi

Create custom, lightweight macOS apps from websites
GNU General Public License v3.0
1.29k stars 40 forks source link

Cannot access local network/localhost #110

Open Rastafabisch opened 1 year ago

Rastafabisch commented 1 year ago

I'm trying to run Hyperion Remote using Multi. While it runs fine it cannot control anything, spitting out a websocket error. (It does work fine from Safari using the same settings.)

Bildschirm­foto 2023-02-19 um 13 30 20

This can be tested by installing Hyperion (does not need to be setup for this to work). What does work however is directly accessing the domain and port as a multi web app.

kofigumbs commented 1 year ago

Localhost access works generally, so this could be an issue specific to Hyperion. If you'd like to dig in further, I'd recommend looking at the console for a more specific error (right click anywhere, select "Inspect Element", and then look in the "Console" tab). I'll leave this issue open in case you want to use it to try and find other folks using Hyperion.

Rastafabisch commented 1 year ago
Bildschirm­foto 2023-02-20 um 20 35 20

This is what I get. I don't know what to do about it however.

kofigumbs commented 1 year ago

It looks like your on a "https" (secure) URL, but the WebSocket is using "ws" (insecure). These have to match. Since this app seems designed to work with localhost, maybe you could try changing your URL to use the insecure version, "http" instead of "https".