-
Notifications
You must be signed in to change notification settings - Fork 175
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
Resynchronizing UI by client's request. #10096
Comments
Some further details are needed before it can be determined if this is bug or not.
|
Hi. Thanks for the fast response.
|
Ok. This is easier. If you in future deploy Vaadin app in multiple nodes, remember to configure sticky sessions.
This means you do not explicitly define transport mode, so you use the default which WebSocket_XHR. This is easier, as the connection from browser to server is still http and you do not need to configure webscoket support in nginx. Server is pushing to browser is websockets. Each message sent by server has sequence number. If Vaadin client in browser observers that sequence number is skipped, it will ask to resynchronize, because server - client state can be inconsistent due lost message. The most natural reason for this is an issue with network connection. That can be in proxy configuration, it can be flaky wifi, slowness in vpn packet sniffer processing leading to messages to arrive in browser in inconsistent order. I.e. there are many possibilities. |
Hi, thanks for the update. Closing the issue, since our problem is most likely not a problem. |
Description of the bug / feature
We are running a cloud-application using vaadin. After application start (Java, SpringBoot application) a warning appears in the application's log:
c.v.f.s.c.ServerRpcHandler Resynchronizing UI by clien'ts request...
The application itself seems to hang (progressbar appears in the browser) and nothing is shown. Requesting a different location/route from the same Vaadin application works fine at the log message above usually does not appear anymore.
The problem appears so far only in the following setup and cannot be reproduced locally, i.e., running only the Vaadin application.
Minimal reproducible example
I cannot share the code or a setup I'm afraid.
Expected behavior
No log file entry and a successfully running application.
Actual behavior
see above.
Versions:
The text was updated successfully, but these errors were encountered: