My Azure Spring App is constantly reloading after some time on the client side Browser. How can I fix this?

EineFrage 0 Zuverlässigkeitspunkte
2024-03-14T08:06:30.53+00:00

After maybe a couple of minutes of running fine, my Azure Spring Apps starts to constantly reload on the client side browser. This behavior then goes away and starts coming back after a couple of hours and under load. Most of the time this issue is happens with the error:

java.lang.UnsupportedOperationException: Unexpected message id from the client. Expected sync id: 3, got 4. more details logged on DEBUG level. at com.vaadin.flow.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:314) at com.vaadin.flow.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:114) at com.vaadin.flow.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:40) at com.vaadin.flow.server.VaadinService.handleRequest(VaadinService.java:1573) at com.vaadin.flow.server.VaadinServlet.service(VaadinServlet.java:398) at com.vaadin.flow.spring.SpringServlet.service(SpringServlet.java:106) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:642) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:408) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:313) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:277) at org.springframework.web.servlet.mvc.ServletForwardingController.handleRequestInternal(ServletForwardingController.java:141) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:178)

I have a suspicion that is related to this issue: https://github.com/vaadin/flow/issues/12640

But I need a solution now, as the web is nearly unusable this way.

Azure SDKs
Azure SDKs
Eine Reihe von Visual Studio-Tools, Befehlszeilentools, Laufzeitbinärdateien und Clientbibliotheken, die Clients beim Entwickeln, Testen und Bereitstellen von Apps unterstützen, die in Azure ausgeführt werden.
81 Fragen
0 Kommentare Keine Kommentare
{count} Stimmen

1 Antwort

Sortieren nach: Am hilfreichsten
  1. Ivan Dragov (CONCENTRIX Corporation) 2.555 Zuverlässigkeitspunkte Microsoft-Anbieter
    2024-03-14T13:31:32.01+00:00

    Hallo EineFrage,

    In einem anderen Artikel auf Github, in dem der gleiche Fehler und die Verwendung von Vaadin Framework mit Spring Framework diskutiert werden, erwähnt einer der Entwickler von Vaadin, dass diese beiden Frameworks nicht kompatibel sind. Den besten Support für dieses Tool erhältst Du von den Entwicklern, die auf Github aktiv sind.

    Gruß,

    Ivan Dragov

    0 Kommentare Keine Kommentare

Ihre Antwort

Fragesteller*innen können Antworten als akzeptierte Antworten markiert werden, wodurch Benutzer*innen wissen, dass diese Antwort das Problem gelöst hat.