java - Jetty WebSocketException: RemoteEndpoint unavailable -


i have 2 threads in application - server (main) , service, inform user coordinate changes. when page reloaded have error:

exception in thread "timer-1" org.eclipse.jetty.websocket.api.websocketexception: remoteendpoint unavailable, current state [closing], expecting [open or connected] @ org.eclipse.jetty.websocket.common.websocketsession.getremote(websocketsession.java:252) @ service.myservice.run(myservice.java:67) @ java.util.timerthread.mainloop(timer.java:555) @ java.util.timerthread.run(timer.java:505) 

and thread closed.

how solve it?


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -