-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Using proxy on another machine results in HPE_UNEXPECTED_CONTENT_LENGTH #1488
Comments
Plan uses |
From their error stacktrace it says |
Im working on that now. Will report back with a result either way. |
Closing as solved |
I'm also getting this issue since a few versions. I run plenty of other sites behind the proxy that also set |
Hi @skerit You can test if those responses are the cause by testing with build 770 https://github.com/plan-player-analytics/Plan/releases/tag/5.1.770 If they are caused by that, see what your proxy sends back for a |
I don't think that's the issue. I made some requests to the Plan webserver directly (not going through the proxy) with curl, and it most definitely is sending both a
|
Hmm, could you maybe manually set it to |
I can try that. Seems like bit more work than just setting it because that requires the content length header and gzip encoded stuff would probably require gzip instead |
Ok I found where the chunked transfer encoding is being set https://docs.oracle.com/javase/7/docs/jre/api/net/httpserver/spec/com/sun/net/httpserver/HttpExchange.html#sendResponseHeaders(int,%20long) |
Hey firstly I want to start by saying this is an impressive bit of kit you guys have made here.
So the issue i have found / might be better suited to a question is that I am trying to setup plan behind a proxy server running on a separate server. The two machines are connected via vlan. I can connect to plan using the remote machine IP over vlan and it is using HTTP (due to proxy setting in the ssl settings). I then obviously want to use HTTPS when connecting over the domain name (outside the proxy and vlan) however i keep getting this returned:
HPE_UNEXPECTED_CONTENT_LENGTH
Now I setup a small web server to confirm that HTTP traffic is working with the proxy from the remote machine and it is so the issue is with plan from what I can conclude.
Are you able to assist in trying to resolve this?
The text was updated successfully, but these errors were encountered: