question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed RPC with distressed network causes application to stop functioning

See original GitHub issue

Description of the bug / feature

Flow application stops working when network exhibits high jitter & latency.

Logs include multiple instances of Unexpected message id from the client. Expected sync id: X, got Y, often in bursts over the course of a few seconds.

When digging into this, I came across this comment: https://github.com/vaadin/flow/blob/a45fe2ee201fe0587e381a11a6d38744403282c3/flow-server/src/main/java/com/vaadin/flow/server/communication/ServerRpcHandler.java#L293-L301 I thought this bug report may provide the desired data. A network diagnosis at the user’s site showed an average latency of 108ms and an average jitter of 157ms (very high). Network requests were taking as long as 2200 ttfb. Average bandwidth was about 10Mbps

Minimal reproducible example

Flow application - Push may be required.

Expected behavior

I’m not sure. Perhaps it would be useful to track over time - if it’s intermittent, then resync. If a client is experiencing this frequently, then a notification of an unreliable network - like one might see in a video call.

Actual behavior

User is notified of an internal error. The application stops functioning.

Versions:

- Vaadin / Flow version: 14.4.0
- Java version: openjdk 11.0.9.1
- OS version: AWS Linux
- Browser version (if applicable): Chrome on Windows 87.0.4280.141
- Application Server (if applicable): Spring Boot
- IDE (if applicable): N/A

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
epricercommented, Mar 25, 2021

I will try to post something within a week.

0reactions
miguelatvaadincommented, May 20, 2021

I will close this issue as no answer since March, 25. Please feel free to post a comment or reopen when there is new info. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

RPC call failed - Microsoft Community
RPC call failed. I upgraded to Windows 10 yesterday (from 8.1) and all my apps / programs seem to be working fine except...
Read more >
How to Fix “The remote procedure call failed and did not ...
You can fix “The remote procedure call failed and did not execute” error by altering RPC settings.
Read more >
How to Solve the "RPC Server is Unavailable" Error in ...
1. Restart the RPC Server · 2. Clean Boot the Computer to Rule Out Third-Party Applications · 3. Check Your Network Connection Settings...
Read more >
How to Fix Failed to Obtaining IP Address Error in Android
Some more common causes that create the issue failing to obtain IP address: ... Also, you might want to close all the running...
Read more >
The remote procedure call failed | 5 Ways to Fix It
If this service is stopped or disabled, programs using COM or DCOM will not function properly. If you receive the "The remote procedure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found