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

Webserver menu issue #185

Closed
Patsjemoe opened this issue Nov 17, 2021 · 8 comments
Closed

Webserver menu issue #185

Patsjemoe opened this issue Nov 17, 2021 · 8 comments

Comments

@Patsjemoe
Copy link

Hi,
The application works, but get only a small part of the webserver menu (see picture)
Screenshot_20211117_220124_com android chrome
Any idea?
Regards
Ludo

@founfabug
Copy link

From memory, the "Full" button opens the large menu with all options. If it does not, try refreshing, or a different browser.

@Patsjemoe
Copy link
Author

Patsjemoe commented Nov 18, 2021 via email

@founfabug
Copy link

This search suggests that the user agent field is too long (it comes from the web browser), and how to work around it, by using desktop site, or a different browser:

https://duckduckgo.com/?q=esp32-cam+header+fields+are+too+long&t=fpas&ia=web

@Patsjemoe
Copy link
Author

Thank you, it works with another browser.
Still facing a few issues with android, where led does not always react to a switch off, and when doing a menu save, it is not saving.

@founfabug
Copy link

Check your SPIFFS is formatting, an error in your log will tell you if it does not. If you have this problem, read my "fix" in comments in issue 175:

ERROR: E (1099) SPIFFS: mount failed, -10025 #175

@Patsjemoe Patsjemoe reopened this Nov 20, 2021
@Patsjemoe
Copy link
Author

Hi,
This problem occurs with android browser..... Not sure how to log this, as arduino is not open then.
Regards
Ludo

@Patsjemoe
Copy link
Author

I switched to Firefox, here I do not have this issue. Now trying to use https secure with dns.

@easytarget
Copy link
Owner

easytarget commented Dec 17, 2021

For 'header fields too long' errors see issue #1

  • This is a hard limitation imposed by the expressif web server code
  • Android browsers seem to add additional headers as you navigate through the UI that overflow the buffer. Basically sometimes it will work, sometimes it will not.
    • Opening the page you want directly in a new browser tab usually gets past this
  • Unfortunately expressif do not provide any way to fix this in the arduino IDE core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants