tonyp7 / esp32-wifi-manager

Captive Portal for ESP32 that can connect to a saved wireless network or start an access point where you can connect to existing wifis.
MIT License
648 stars 214 forks source link

httpd_parse: parse_block: request URI/header too long #127

Closed hackaprende closed 3 years ago

hackaprende commented 3 years ago

Prerequisites

Description

When I run the project I get this error

image

The same is displayed in the browser

Steps to Reproduce

System Configuration

hackaprende commented 3 years ago

It happens in brave and duck duck go browsers in Android. It works well for Chrome

tofublock commented 2 years ago

Why did you close this issue? Did you find a solution or did you give up on it? I'm facing the same issue on Android 11 - the captive portal opens a (system?) browser window saying "Header fields are too long for server to interpret". If I choose "Use this network as is" I can SOMETIMES get Firefox or Chrome to load 10.10.0.1 but most of the time it won't load or the network just disconnects. Can somebody help? Where can I start looking? Thanks!

tofublock commented 2 years ago

Okay, for anyone coming after me - set idf.py menuconfig > Component config > HTTP Server > Max HTTP URI Length to 1024 and the captive portal comes up right away. I'm still frequently seeing strange disconnects, but that's a separate issue.

daverathbone commented 2 years ago

Just a lot of pain to find you use J and K keys for up down arrow - Make it harder!!!!!