Since the release of the latest version a few days ago, our users are constantly disconnected due to the fact that channel tokens become outdated with the moment of creation. Our tokens are designed for 5 hours, but we are lucky if they last 5-10 minutes, and we canβt even reconnect to the new channel token when the channel closes until the user is updated.
Javascript error starts its beginning. It looks like this:
NetworkError: 400 Unknown the SID - http://89.talkgadget.google.com/talkgadget/dch/bind?VER=8&clid=C9C2EFC06C7C5163&gsessionid&prop=data&token=AHRlWrrWl611ZMMDw8Apgi5vdYuS9UslofxEiJI47-2n4rkPgmuu1z0AN-UNQcyNEvhck-AYAMSLPru8Aumooz62hYNNbLTbi1a3lTSAzGEyj6TsXZirJYE&RID=rpc&SID=BEBDEFDA92C6A9F7&CI=0&AID=54&TYPE=xmlhttp&zx= gsjg8mb1i987 & t = 1
Then in Firefox Firebug, the console is endlessly spammed
Channel name mismatch message is ignored
Until an update occurs.
Our site is an interactive real-time chat site. Our users send us newsletters that they continue to disable. They leave the site. This requires us not only goodwill with our user base, but also money, and we are powerless to do anything because the error is related to the Google App Engine.
Correct it or roll back to the previous build right away until you figure it out. The latest version does not work.
I could not reproduce this, but I still look at it. Meanwhile: if you explicitly call socket.close () after receiving the error, can you then create a new channel object and reconnect? If this does not work, you can try to manually remove the element with id "wcs-iframe" from the DOM. You should be able to use the original token when doing this instead of retrieving a new token.
Source: https://habr.com/ru/post/1414053/More articles:How can I share content from the internal page page of a Facebook page? - javascriptjava check for key in double nested hashmaps - javaAccessing vendor-specific CSS properties with JavaScript - javascriptGroovy script executable - shellAre additional dependencies possible with Dist :: Zilla? - perlI get a bus error in the following code - c ++https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1414055/jquery-flot-zoom-causes-plot-to-shrink-axis-labels-to-disappear&usg=ALkJrhgWRB9yEjZ4XyPi4aEeYDuPpUIAFQInstall OpenCL (AMD SDK) on Linux without ROOT privilege - linuxFileUpload control does not accept 0kb file? - c #How to capture sent items with the addition of Outlook through multiple accounts? - c #All Articles