Has someone the combination Vaadin 7.x/Tomcat 7 and nginx reverse proxy running?
We tested this combination without push support - works fine. With push support errors:
Nov 15, 2015 6:23:54 PM org.atmosphere.cpr.DefaultBroadcaster addAtmosphereResource
WARNING: Duplicate resource c76e9e31-a1dd-452d-b282-530f56566c6e. Could be caused by a dead connection not detected by your server. Replacing the old one with the fresh one
Nov 15, 2015 6:23:54 PM org.atmosphere.cpr.AtmosphereFramework doCometSupport
SEVERE: AtmosphereFramework exception
java.lang.IllegalStateException: Not supported.
at org.apache.catalina.connector.Request.startAsync(Request.java:1664)
Without the reverse proxy the Vaadin 7.x/Tomcat combination (push enabled) works fine.
Any description available according the nginx reverse proxy settings in combination with Vaadin 7.x?
Hi Peter. At least
someone seems to have got it working, but is not mentioning anything about push.
I’m afraid there is no page providing proxy setups with Vaadin, but regarding Push there is
this wiki page for most common Push issues… but it is not very helpful in your case.
Have you tried setting up nginx using Tomcat 8 and/or latest Vaadin 7.6.0.beta1? Tomcat 8 is supposed to be more reliable at least with websockets and Vaadin 7.6 has improvements in the communication layer.
You need to proxy all PUSH calls in your nginx setup. We are using nginx to proxy 443 connections to tomcat on 8080 for multiple virtual tomcat domains. This is an example of an nginx site config
Hi, we managed to make websocket work with vaadin8 + tomcat9 + nginx but the connection gets closed after 30 seconds and increasing timeouts does not help.
Has anybody managed a websocket proxy to work with vaadin?