Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32cam DNS streaming error due to http not secure #186

Closed
Patsjemoe opened this issue Nov 21, 2021 · 2 comments
Closed

ESP32cam DNS streaming error due to http not secure #186

Patsjemoe opened this issue Nov 21, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@Patsjemoe
Copy link

Hi,
ESP32cam webserver works on the local network.
Trying to use it with DNS, I get the menu, can take a still picture, but when trying to stream, I receive an error :
Access to image at 'http://streamingport /' from origin 'http://xxx.ddns.yyy:menuport' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space private.
I assume I need to add https , but cannot find any example for esp32cam...... where to find it ?
regards
Ludo

@Patsjemoe Patsjemoe changed the title ESP32cam DNS error due to http not secure ESP32cam DNS streaming error due to http not secure Nov 21, 2021
@Patsjemoe
Copy link
Author

I am surprised that all ESP32cam examples are NOT-HTTPS, specially in these days where security is important, it would be nice to have an example of the webserver with HTTPS. All applications can be hacked with http only....

@easytarget easytarget added the duplicate This issue or pull request already exists label Dec 15, 2021
@easytarget
Copy link
Owner

See #54
This is an example, it is not suitable for use if you require a private stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants