I am running multiple Vaadin Flow applications with nearly identical setups. However, in two of them, I frequently encounter the following error:
java.lang.UnsupportedOperationException: Unexpected message id from the client. Expected sync id: 6, got 7. more details logged on DEBUG level.
Although enabling DEBUG logging does not provide any additional details, I’ve observed that this error primarily occurs when end users access the application using iOS devices with mobile Safari.
While this seems to be just a warning, the constant log entries make it difficult to identify real issues, and the logs are becoming cluttered.
Could you provide background on what this message means and how it can be avoided, particularly for mobile Safari users?
java.lang.UnsupportedOperationException: Unexpected message id from the client. Expected sync id: 6, got 7. more details logged on DEBUG level.
com.vaadin.flow.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:314) ~[flow-server-24.4.8.jar!/:24.4.8]
com.vaadin.flow.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:114) ~[flow-server-24.4.8.jar!/:24.4.8]
com.vaadin.flow.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:40) ~[flow-server-24.4.8.jar!/:24.4.8]
com.vaadin.flow.server.VaadinService.handleRequest(VaadinService.java:1584) ~[flow-server-24.4.8.jar!/:24.4.8]
com.vaadin.flow.server.VaadinServlet.service(VaadinServlet.java:398) ~[flow-server-24.4.8.jar!/:24.4.8]
com.vaadin.flow.spring.SpringServlet.service(SpringServlet.java:106) ~[vaadin-spring-24.4.8.jar!/:na]
jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) ~[tomcat-embed-core-10.1.30.jar!/:na]