Mycroft Community Forum

Looking for suggestion - websocket & multiple clients

Hi all,

I’m looking for some suggestions here. I’m working on a web chat client and I have it working really well with on issue, if there are multiple users connecting to the same instance of Mycroft, everyone is seeing the output from the server.

To better elaborate, user A and user B connect. User A asks a question and the response shows up in the chat window for both user A and user B, my guess is because there is only one Mycroft server and it’s not filtering based upon which client is connecting. It’s just sending the response out over that channel and everyone is getting it. Does anyone know if this is what happens and if so if there is a good way around it?

Thanks,
Jay

needs this PR

the unsolved issue is skills that keep state, things like converse method etc will affect every user