Hi everyone, I'm currently working on an app engine-based application that uses the Channel feature quite heavily, and the typical user will stay on a channel for quite a while, typically for hours. To work around the 2 hour limit for channel tokens and to handle unstable network connections etc., I've added simple client side JS logic that asks for another channel token and re-connects. However, using the app myself I often (but for from always) experience that the current channel stops receiving messages, without calling onerror nor onclose. For example, I got this from the chrome javascript console today:
GET https://758.talkgadget.google.com/talkgadget/dch/bind?VER=8&clid=DE5A9AB046C9D128&gsessionid=PLubLP_rvBwFn5Z_ZIgb_g&prop=data&token=AHRlWrquom9P2cWYEIecxfNDCwg0DhTkEiXg8a9lCtFh9Ken44OvMWkqN6MvsvuswvaCpUqJ3kLEJJHKI5tdiZvZ02WUq-mv9oAVHUMo6EyXsQD1tGQqzmF-saWNlTlOz634n70fugfbHpLVpMwHEtp_XTMGEhmD28R8nids1HdABVQPo7n61YoroahMZZw85LsqOR6Fz5pa&RID=rpc&SID=16398969155EF31&CI=0&AID=339&TYPE=xmlhttp&zx=xoxhjdwthzum&t=1401 (Token timed out.) Without getting a callback to onerror or onclose. "Token timed out" seems like a perfectly normal case, so I wonder why the channel client library doesn't call back. Sometimes, the particular error message is different, but the problem is the same - no callbacks. To paper over the problem, I've implemented a sinple "ping" that requests a Channel message every 5 minutes or so, to check the channel status. This is of course not an acceptable solution, since the point of Channel is fewer rpc calls and timely message delivery. Is there a way to debug this problem further, for example a non-obfusacted version of the channel client library? I can easily do long-running tests since I keep my running all the time anyway, and since I suspect the problem is some odd corner cases. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ZUr9LktEjDoJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
