We recently ran into the same issue using JavaFx's WebView as a browser and Jetty 8 with SSE. We were not able to reproduce it on other browser's though. What browser did you test this with? Did you try in both DevMode and production mode?
One solution you can use right away is to deactivate SSE and make the bus use long polling instead. Simply add this to your ErraiService.properties file:
If you find any more details about what might be causing this please let us know!
Thanks for the feedback. The Issue happened in both Firefox and Chrome and the behavior is quite erratic.
For example I added button to the web-app that when pressedit sends a message to the server (via erraibus) and in the callback I send a message back to the client (also via erraibus).
The message only was delivered when I pressed the button a second time and sometimes it wasn't delivered at all.
I think there might be an issue in the DefaultBlockingServlet but I am not sure.
Thanks for the workaround I will try it.
I recently upgraded Jetty 8 to Jetty 9.1.2 and Errai-Bus from 2.3.0.Final to 3.0.1.Final
With DefaultBlockingServlet and SSE I had the same issue as with 2.4.4.Final.
When I switched to StandardAsyncServlet (Servlet 3.1) and Long Polling messaging worked again.
I just tested some demos on Jetty 9.2.1 and they worked fine for me using SSE. Can you try this war file (our plain errai bus stock demo) and see if it works for you: http://downloads.jboss.org/errai/dist/3.0.1.Final/errai-bus-demo-stock.war