You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Close the firefox tab. OnDisconnect is not printed in logs:
11:22:43.998 [http-nio-8080-exec-4] INFO o.a.samples.pubsub.EventsLogger - onSuspend(): 0:0:0:0:0:0:0:1:64739
11:22:45.125 [Atmosphere-AsyncWrite-0] INFO o.a.samples.pubsub.EventsLogger - onBroadcast(): 22 sent trying to use sse
Close the firefox process. OnDisconnect is printed in logs:
11:23:00.729 [http-nio-8080-exec-1] DEBUG o.a.cpr.AsynchronousProcessor - Cancelling the connection for request AtmosphereRequest{ contextPath= servletPath= pathInfo=/pubsub/12 requestURI=/pubsub/12 requestURL=http://localhost:8080/pubsub/12 destroyable=true}
11:23:00.730 [http-nio-8080-exec-1] INFO o.a.samples.pubsub.EventsLogger - onDisconnect(): 0:0:0:0:0:0:0:1:64739
The text was updated successfully, but these errors were encountered:
Seems to be a Firefox issue when closing tabs. Sound like SSE connection is never closed. Will document the issue, but I can't do anything to fix this FF bug.
Atmosphere 1.0.0.beta5, tomcat 7.0.26, NIO transport, firefox 14.0.1
11:22:43.998 [http-nio-8080-exec-4] INFO o.a.samples.pubsub.EventsLogger - onSuspend(): 0:0:0:0:0:0:0:1:64739
11:22:45.125 [Atmosphere-AsyncWrite-0] INFO o.a.samples.pubsub.EventsLogger - onBroadcast(): 22 sent trying to use sse
11:23:00.729 [http-nio-8080-exec-1] DEBUG o.a.cpr.AsynchronousProcessor - Cancelling the connection for request AtmosphereRequest{ contextPath= servletPath= pathInfo=/pubsub/12 requestURI=/pubsub/12 requestURL=http://localhost:8080/pubsub/12 destroyable=true}
11:23:00.730 [http-nio-8080-exec-1] INFO o.a.samples.pubsub.EventsLogger - onDisconnect(): 0:0:0:0:0:0:0:1:64739
The text was updated successfully, but these errors were encountered: