Skip to content

🐛 [BUG] - New subscriber after session expiry in Chat Widget #1339

@MohamedAliBouhaouala

Description

@MohamedAliBouhaouala

Description

When a user has multiple chat widget tabs open and their session expires, subscribing from one tab does not synchronize with the others. As a result, the other tabs still display the subscription form instead of the updated subscriber state. This issue arises from a race condition where each websocket connection request is sent per each opened tab which ultimately results in the last session written in memory being used, leading thereby to incoherent outcomes.

Reproduction steps

1. Open the app in two separate tabs.
2. Manually expire the session
3. In one tab, create a new subscriber
4. Other tab still shows the subscription form.

Logs

Browsers

No response

OS

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions