http-bind 404

21 views
Skip to first unread message

明明

unread,
Mar 7, 2023, 1:37:03 AM3/7/23
to strophe
Hi all,
My client is using strophe.js, why does HTTP ERROR 404 Invalid SID value appear occasionally.My rid is continuous
 How should I solve it, thank you。


636A313A@0C879F21.1FD30664.png.jpg

Daryl Herzmann

unread,
Mar 7, 2023, 9:19:58 AM3/7/23
to str...@googlegroups.com
Greetings,

I'm not the sharpest tool in the toolbox, but my understanding here is that Chrome is throttling the http-bind requests and thus there's a period of time greater than the allowed timeouts between requests.  If you check the timestamps of those sequential requests, you should notice a gap.

A hackish workaround I have done is to dramatically lengthen any server-side http-bind/bosh timeouts.  This seems to keep the strophe sessions stable even under the throttling as the server will more patiently wait for the client to send the next sequential request.

HTH
daryl

--
You received this message because you are subscribed to the Google Groups "Strophe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strophe+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/strophe/tencent_3277B5C2E7A26851841CE52C855A04B57809%40qq.com.
Reply all
Reply to author
Forward
0 new messages