I'm using this plugin and all goes well but when the system has a period being idle the connection is lost and cannot reconnect with server.
When I refresh the page everything goes well again.
This is the error on chrome:
WebSocket connection to 'ws://192.168.1.109:8080/EasyRestaurant//g-eventsbus/eventsbus?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.1.5-jquery&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0&Content-Type=application/json&X-atmo-protocol=true' failed: Received a broken close frame containing a reserved status code.
After this error if I try to send an event another one appears:
No suspended connection available. Make sure atmosphere.subscribe has been called and request.onOpen invoked before invoking this method.
PS: I'm using CORS, and atmosphere-javascript-2.1.5 in tomcat:7.0.52.1 (events-push:1.0.0.BUILD-SNAPSHOT and org.grails.plugins:events:1.0.0.BUILD-SNAPSHOT)
I'm using this plugin and all goes well but when the system has a period being idle the connection is lost and cannot reconnect with server. When I refresh the page everything goes well again.
This is the error on chrome: WebSocket connection to 'ws://192.168.1.109:8080/EasyRestaurant//g-eventsbus/eventsbus?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.1.5-jquery&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0&Content-Type=application/json&X-atmo-protocol=true' failed: Received a broken close frame containing a reserved status code.
After this error if I try to send an event another one appears: No suspended connection available. Make sure atmosphere.subscribe has been called and request.onOpen invoked before invoking this method.
PS: I'm using CORS, and atmosphere-javascript-2.1.5 in tomcat:7.0.52.1 (events-push:1.0.0.BUILD-SNAPSHOT and org.grails.plugins:events:1.0.0.BUILD-SNAPSHOT)