Closed andrisr223 closed 3 years ago
Hi,
chunk-vendors.25e8c961.js:6 Mixed Content: The page at 'https://192.168.1.1/spin/#/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://valibox./spin_api/profiles'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://192.168.1.1/spin_api/graph.html?mqtt_host=192.168.1.1' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://192.168.1.1:1884/mqtt'. This request has been blocked; this endpoint must be available over WSS.
The web interface wants to talk to mosquitto using WebSockets. The browser is complaining about the fact that the connection to mosquitto is not using TLS. One piece of the puzzle is to configure mosquitto to use TLS. I think the configuration file is located at /etc/mosquitto/mosquitto.conf
; documentation about the file format can be found here: https://mosquitto.org/man/mosquitto-conf-5.html.
Good luck.
I'll close this for now since I don't think there is anything we need to do on this topic. Feel free to re-open if necessary though.
Hello,
I am trying to use spin on an OpenWrt (v19.07.0-rc2) router and getting the main spin page. But it stays empty as it tries to load some content which is blocked. Some of it is due to page being https and requesting http content, others are an interesting host
http://valibox.
which I could not find and replace in JS files.Wanted to ask what I am doing wrong in config and where to dig further:
nginx configuration:
spin configuration: