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

Accessing ebusd-esp32 via reverse-proxy not working #88

Open
daxy01 opened this issue Dec 17, 2024 · 1 comment
Open

Accessing ebusd-esp32 via reverse-proxy not working #88

daxy01 opened this issue Dec 17, 2024 · 1 comment

Comments

@daxy01
Copy link

daxy01 commented Dec 17, 2024

I'm using a reverse proxy to access all internally hosted things, ebusd being one of them.
The reverse proxy is NGINX and is accessed via https, who then proxies to the internally hosted device.

So: https://hostname.home.domain.com proxies to http://192.168.5.100 (my ebusd device).
This worked fine until I upgraded today: Version 2024-12-15, reported as 1[4c0f]

The following error is thrown by esp-idf:
HTTP version not supported by server

Searching a bit further, esp-idf throws an HTTP ERROR 505.
This issue reported the same and one can fix this via:

For me the solution was to add this line to my location block containing the the proxy_pass directive:
proxy_http_version 1.1;

Reporting it here in case anyone else runs into this and needs a solution.

@worstover
Copy link

@daxy01 Thanks for your post. This time I had the solution before knowing about the problem. 😄

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

2 participants