-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
WebSocketClient is sending Transfer-Encoding
& Content-Length
in the same request.
#12726
Comments
Transfer-Encoding
& Content-Length
in the same request.Transfer-Encoding
& Content-Length
in the same request.
I was able to make it fail via the command line.
with the output of the DEBUG found in ...
|
I don't think But I did find In the logs it is never getting into any websocket server code to do the upgrade. I suspect the |
@olamy is there a way to disable the junit/surefire parallel testing on the command line of maven? |
Yeah, I'm not saying that the "400: Transfer-Encoding and Content-Length" is the cause of the error with websocket, but it does point to a flaw in WebSocketClient (or HttpClient) to even allow that conflict in headers.
I'll dig into that in the morning (if you want me to). |
Jetty version(s)
12.1.0 (HEAD)
Jetty Environment
ee11
Java version/vendor
(use: java -version)
17, 21, 23
OS type/version
Linux
Description
org.eclipse.jetty.websocket.client.WebSocketClient
fails on tests fororg.eclipse.jetty.ee11.test.websocket.JettyWebSocketTest
(found in thejetty-ee11-test-integration
module).See: https://jenkins.webtide.net/blue/organizations/jenkins/jetty.project/detail/PR-12583/36/tests
The above has DEBUG logging turned on.
One of the failures points at a bug in WebSocketClient handling of Request headers ...
I am unable to reproduce this issue on my local machine, only CI.
The text was updated successfully, but these errors were encountered: