Closed jalmeroth closed 4 years ago
try load it over http ? http://marvinroger.github.io/homie-esp8266/configurators/v2/
your issue is with chrome and really nothing to do with homie, but if you continue to have issues i recommend to actually load the config via your esp itself (this is also in the docs)(http://marvinroger.github.io/homie-esp8266/docs/develop/advanced-usage/ui-bundle/)
Well, this is not a Chrome issue, it's common, modern browser security. Read more about this here: https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content#Mixed_active_content. The HTTPS site is linked here for example: https://marvinroger.github.io/homie-esp8266/. I will test the non-HTTPS site later, but it will presumably lead to #446. :)
Well that’s right, the configurator MUST be loaded over HTTP. I thought it was written in the docs, I might have forget that.
No progress for long time. Closing issue.
Well, a user-friendly fix would be to let the configurator page to reload itself via http if it detects that it is loaded via https. E.g. via document.location.protocol
. Or to simply display a warning with a generated link to the current location via http (many hosting locations may decide to enforce https via HSTS which would end in an infinit redirect loop).
@danielwegener PR is welcome 😀
I am trying to configure the latest dev-version of Homie 2 (f605adf).
When using the Configurator v2 (probably 03034c6) I am receiving an error in Chrome 63.0.3239.84 (Official Build) (64-bit) and other browsers: