createcandle / Candle-manager-addon

An add-on for the Candle Controller / WebThings Gateway. It allows you to upload code to Arduino's with the click of a button.
MIT License
5 stars 5 forks source link

Candle Manager cannot be loaded due to https mixed content restriction #9

Closed wanjatschuor closed 4 years ago

wanjatschuor commented 4 years ago

Type: Bug WebThings Gatewaz Version: 0.10.0 (on Raspberry Pi 3) Candle Manager Version: 1.0.4

The WebThings Interface is transportet via https, the candle manager on port 8686 is loaded via http. In Chrome this is not possible and leads to a disfunctional User interface.

Error output from console:

Mixed Content: The page at 'https://xxxxxxx.mozilla-iot.org/things' was loaded over HTTPS, but requested an insecure resource 'http://xxxxxx.mozilla-iot.org:8686/'. This request has been blocked; the content must be served over HTTPS.

The behavior is observed when trying to reach the local ip address, the dns (gateway.local) and the registered sub-domain (x-ed out in the log).

Entering http://subdomain.mozilla-iot.org:8686 to adressbar manually works and starts the Candle Manager. Adding devices this way is possible.

createcandle commented 4 years ago

Thanks! This should be fixed now.