Skip to content

[Question] Should web view work using https? #1095

@vicitacal

Description

@vicitacal

My esp is connected through Keenetic domain system

Image

But when I try to log in to this domain, I am redirected to the HTTPS protocol. The frontend loads but there is a communication error with the board. The following error appears in the browser console:

Content: The page at 'https://printer.*****.keenetic.pro/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://printer.*****.keenetic.pro/command?cmd=....'. This request has been blocked; the content must be served over HTTPS.

However, if you go to the address specified in the error message, the data will be successfully returned. Is this a bug and should the frontend be using a different protocol, or am I doing something wrong?

ESP3D Firmware: v3.0.0-beta1
ESP board: ESP32
ESP3D-WebUI Version: V3.0.0-beta1
Wifi mode: STA
Flash method: PlatformIO

Target Firmware:
Name: Marlin
Version: Marlin 2.1.3 beta 3
Board used (please complete the following information): Creality CR10 Ender 3 board

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions