-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No this is not allowed, because this is a browser limitation. So this function is also "hardcoded" in Mainsail. Every browser only allows to connect between the same "secure level" so http websites can only connect to ws sockets and https websites can only connect to wss sockets. So a cross connection is not allowed by the browser itself. So wenn we allow this in Mainsail, you will not be able to connect to your printer with a setup like this. So you can only host your Mainsail instance without SSL (http) or add a cert to Moonraker and connect via wss. |
Beta Was this translation helpful? Give feedback.
-
Oh ok, I wasn't aware of that browser limitation or design/security decision
Thanks for explaining :)
|
Beta Was this translation helpful? Give feedback.
No this is not allowed, because this is a browser limitation. So this function is also "hardcoded" in Mainsail. Every browser only allows to connect between the same "secure level" so http websites can only connect to ws sockets and https websites can only connect to wss sockets. So a cross connection is not allowed by the browser itself. So wenn we allow this in Mainsail, you will not be able to connect to your printer with a setup like this.
So you can only host your Mainsail instance without SSL (http) or add a cert to Moonraker and connect via wss.