Gottox / socket.io-java-client

Socket.IO Client Implementation in Java
MIT License
950 stars 387 forks source link

java.lang.IllegalStateException: Timer was canceled #33

Open byroncortez opened 12 years ago

byroncortez commented 12 years ago

Could not figure out how this happened. Sorry. This is the error log.

java.lang.IllegalStateException: Timer was canceled at java.util.Timer.scheduleImpl(Timer.java:561) at java.util.Timer.schedule(Timer.java:459) at io.socket.IOConnection.reconnect(Unknown Source) at io.socket.IOConnection.transportDisconnected(Unknown Source) at io.socket.WebsocketTransport.onClose(Unknown Source) at org.java_websocket.client.WebSocketClient.onWebsocketClose(Unknown Source) at org.java_websocket.WebSocketImpl.closeConnection(Unknown Source) at org.java_websocket.WebSocketImpl.closeConnection(Unknown Source) at org.java_websocket.WebSocketImpl.close(Unknown Source) at org.java_websocket.WebSocketImpl.close(Unknown Source) at org.java_websocket.client.WebSocketClient.interruptableRun(Unknown Source) at org.java_websocket.client.WebSocketClient.run(Unknown Source) at java.lang.Thread.run(Thread.java:856)

pzmudzinski commented 11 years ago

Any news on that?

sooraj-e commented 11 years ago

i had similar issue while using xhr. try this fix #44 worked for me.