Ghost participants on refresh in recent Chrome

Hi,

On recent version of Chrome (testing > 73) when refreshing the page the user reconnects successfully but a ghost participant (a thumb) of him persists for a ~minute.

What may cause this?

=> https://stackoverflow.com/questions/55676319/ajax-synchronous-request-failing-in-chrome

This is new in Chrome : “disallowed synchronous ajax during end-of-page events”
I think we should use strophe in async mode especially while disconnecting

Very annoying because if we do 10 refresh we could have 10 ghosts until prosody timeouts each connection.

Yep probably you had found the issue, we will check it at some point. We were also discussing some other ways of detecting those ghosts and removing them. It is on our roadmap.

Yes I noticed this, but still think that Strophe request is blocked by the recent Chrome policy.

Yep, I agree with that, we will be checking it.