Proxy fails to open https/ssl streams #4918
Comments
I can reproduce but I am just asking myself if it is normal or not ? |
It may be a question of used TLS version or cipher. I am not enough expert in SSL to analyze that. |
For information, if I update Basic UI code to disable the proxy and use directly the video URL, the video is correctly rendered. |
We should imho turn off the certificate validation (while of course supporting TLS encrypted communication between ESH and the webcam). The main use case is to have IP cams in the local network, which most likely won't have a valid certificate anyhow. Failing to verify the certificate should thus not crash the runtime. We could think about logging a warning, if the validation fails, although that might clutter the logs. Maybe better to introduce an optional "strict mode" in the proxy configuration. @lolodomo Would you want to have a look? |
I already tried but without success. |
When creating a Video widget with a encrypted data stream (https), the proxy fails to open the connection, and the log shows:
The video widget is defined as:
Video encoding="mjpeg" url="https://webcam1.lpl.org/axis-cgi/mjpg/video.cgi"
Cheers,
-Th
The text was updated successfully, but these errors were encountered: