I am using AppEngine's Channel API. This API disconnects the connection every 2 hours so I will have to handle the reconnection on my side whenever onError or onClose is called on the client side.
Problem is, I inserted the reconnection code in onClose or onError however channel is never being reconnected. Does anyone have working example of the Channel reconnection?
Thanks
I ran into similar problems. If I remember correctly, make sure you call close() on your socket. Also note that you can't reconnect to the same channel, you have to open a new channel after it times out. If you're still having problems, show your actual code.