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

Headers too long error when using Apache proxy. #1

Open
easytarget opened this issue Nov 20, 2019 · 8 comments
Open

Headers too long error when using Apache proxy. #1

easytarget opened this issue Nov 20, 2019 · 8 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@easytarget
Copy link
Owner

Also happens when I use a simple SSH tunnel, but NOT when i connect from my local network
espressif/arduino-esp32#2983
I'd like remote access working...

@GNDeSouza
Copy link

I have a similar problem. Accessing from within my network goes well, but when I try from outside using port forwarding... "headers too long..."

@jorgechurriana
Copy link

Idem with Nginx 'proxy'

@easytarget
Copy link
Owner Author

This is irritating; I spent some time trying to resolve this both via apache configuration, and then by (temporarily) editing the esp32 toolchain to allocate 4x as much space for incoming headers.
Neither of these had any effect, unfortunately.

Lack of time, and lack of need (this is nice to have, not essential, for me) mean I have not gone any further. Maybe my priority will change in the future, but for the present I wont do any more work on this unless I am very confident it will succeed.

@easytarget
Copy link
Owner Author

Also note this comment:
espressif/arduino-esp32#2983 (comment)

@jumblies
Copy link

Same situation with traefik and file provider (to external server). Oddly, this works with postman and similar apps and it frequently loads when using http rather than https

@easytarget easytarget added the bug Something isn't working label Sep 9, 2020
@easytarget easytarget added the help wanted Extra attention is needed label Sep 24, 2020
@easytarget easytarget pinned this issue Sep 24, 2020
@TungstenE2
Copy link

also got an error using my tablet with LineageOS 15.1 browser.
'Header fields are too long for server to interpret'

Using Chrome browser on the same tablet worked.

@easytarget
Copy link
Owner Author

easytarget commented Mar 7, 2022

There may be hope for the next esp-ide-core release:
espressif/esp32-arduino-lib-builder#52
espressif/arduino-esp32#5969

Waiting for:
espressif/arduino-esp32#6174

@00svd00
Copy link

00svd00 commented Mar 18, 2022

For me on nginx this variant works

location /camera {
proxy_pass http://1.2.3.4:80;
rewrite ^/camera /(.*) /$1 break;
proxy_set_header Cookie "";
}
location /status {
proxy_pass http://1.2.3.4:80;
proxy_set_header Cookie "";
}
But no controls are working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants