-
Notifications
You must be signed in to change notification settings - Fork 60
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
protocol error: invalid packet header format: 100: 0x646973636f6e6e65 #328
Comments
Can you reproduce these issues without your reverse proxy? |
I spent a bit of time investigating it in more detail. The latest HTML5 client seems to be a lot less resilient to slow internet connections than the 10.1 version. It tries to reconnect quickly while the old version tried to keep the connection alive. It's reproducible with a local running Xpra (without any reverse proxy in the way) when throttling is enabled in the Chrome Dev-Tools. When I change it to |
What does the JavaScript console show when the reconnect triggers? |
The full
|
I just see that the attached console.log has reconnect disabled. Here is another log from my local environment: The "initial connection loop" has the following trace in the console.log:
|
If you can't reproduce it locally, I can offer a Docker image that runs Xpra with an instance of Eclipse Capella (that's what we use in production). It's relatively large though (3.7GB). docker run -p 10000:10000 -e CONNECTION_METHOD=xpra ghcr.io/dsd-dbs/capella-dockerimages/capella/remote:7.0.0-without-dropins-v2.7.0 After it's pulled and started, connect to: http://localhost:10000/ |
Workaround is to set EDIT: Only for the initial reconnection loop, not for the connection losses. There I still get the same protocol error in the console log. |
To be a bit more specific, the error occurs with version v16, but not with v15.1. It must have to do with changes between those releases: v15.1...v16 |
The obvious change affected by There are a number of proxy related issues too: #317, #299 (comment), Xpra-org/xpra#1349 (comment), Xpra-org/xpra#4392 Aside from fixing the obvious bugs, we should probably have an nginx reference config and documentation. |
I have bumped the @MoritzWeber0 is this enough for you? Please see also #336 |
Hi @totaam, thanks a lot, especially for the modal dialog fix! I'll try the modified TIMEOUT over the new weeks and will report back if it has solved the issue (takes some time because it's hard to reproduce and only appears sometimes). 10 seconds should be definitely enough. |
@MoritzWeber0 you may also want to have a look at the new nginx documentation: |
We've recently updated our Xpra HTML5 client from version 10.1 to 16.2. Unfortunately, the stability has decreased massively.
During the initial connection, it reloads several times, then loads and after ~10 seconds of of a stable connection, it drops the connection. We didn't see those issues with version 10.1. The Xpra version itself didn't change and is
v6.2.1-r0
.The connection always drops with the following error message (
protocol error: invalid packet header format: 100: 0x646973636f6e6e65
):It's always exactly the same message.
The logs of Xpra don't contain any valuable information, but here is the more interesting console.log.
We run Xpra behind an nginx reverse proxy, but the configuration is rather simple:
The text was updated successfully, but these errors were encountered: