Karsten Ludwig Hauser
Karsten Ludwig Hauser
Chrome does only give me an error when I'm using the proxy: `WebSocket connection to 'wss://localhost/ui/vaadinServlet/PUSH?v-uiId=5&v-csrfToken=00d7c949-f48a-40…e=true&Content-Type=application/json;%20charset=UTF-8&X-atmo-protocol=true' failed: Error during WebSocket handshake: Unexpected response code: 400` in line 1195 With Firefox...
It definetly has something to do with the Vaadin session serialization. Here is a much simpler sample project from @alejandro-du where push is hanging/not working: https://github.com/khauser/vaadin-spring-session-demo/tree/showcase/PushNotWorking
From the Atmosphere trace log: ``` 2017-02-10 08:42:57.135 TRACE 2228 --- [hared-AsyncOp-0] org.atmosphere.cpr.DefaultBroadcaster : About to write to AtmosphereResource{ uuid=f168a537-8bac-49f8-be4a-f56c24aa42a2, transport=WEBSOCKET, isInScope=true, isResumed=false, isCancelled=false, isSuspended=true, broadcaster=/* size: 1, isClosedByClient=false, isClosedByApplication=false,...
After some investigations I found out that the main problem here lies in the serialization of the AtmosphereResource which is marked `transient` (see https://github.com/vaadin/framework/issues/3753) within the AtmospherePushConnection, and is not...
https://github.com/Atmosphere/atmosphere/issues/2249
It works also for tomcat: ``` /** * The {@link SessionAuthenticationStrategy} must be available as a Spring * bean for Vaadin4Spring. */ @Bean public SessionAuthenticationStrategy sessionAuthenticationStrategy() { return new ChangeSessionIdAuthenticationStrategy();...
http://stackoverflow.com/questions/34400416/enableredishttpsession-fails-with-vaadin Am I having the problem described here? Can I do something about it?
I debugged myself a little bit into this and updated the question at stackoverflow. For me it has something to to with wrong serialization ids.
Indeed I had a preliminary bug/failure. But after "fixing" it I run into this `Caused by: java.io.NotSerializableException: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext` exception (with this SpringUIProviders in it). In a comment in http://stackoverflow.com/questions/29388542/notserializableexception-on-serialization-of-objects-currently-shown-by-vaadin @chelu...