RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.56k stars 10.58k forks source link

no-agent-online error on active looking livechat #20899

Open btittelbach opened 3 years ago

btittelbach commented 3 years ago

Description:

When the last livechat/omnichannel agent goes offline, the users with still open browser windows are not notified.

Instead they are led to believe that someone is still available to talk to them.

Once they chat with the supposedly available agent, anything they type results into an frustrating error message: Error starting a new conversation: no-agent-online

They are not told about any recourse. E.g. that they might have to reload their browser window to see the offline form.

Steps to reproduce:

  1. In Livechat: Load URL with embedded live-chat
  2. In RC: Take all agents offline
  3. In Livechat: start typing
  4. In Livechat: receive frustrating error message

Expected behavior:

Instead of an error, an apology and the offline-form should appear.

Actual behavior:

Frustrated user is being shown an error Error starting a new conversation: no-agent-online and does not know what to do.

Server Setup Information:

Client Setup Information

Related

This might be related to bug #19062, but these might also be two different bugs.

btittelbach commented 3 years ago

"settings" -> "omnichannel" -> "Sessions" -> "How to Handle Open Sessions When Agent Goes Offline" is set to "Close"

Basically the problem seems to be, that livechat is not updated properly with online/offline information from the server, as setting the last agent online/offline (and waiting an appropriate amount of time), does not affect open wegpages at all.

btittelbach commented 3 years ago

This issue is still present in Rocket.Chat Server 3.12

ricardojlrufino commented 3 years ago

A have same error. image Using: 3.10.4

This has happened to some users ...

ricardojlrufino commented 3 years ago

Similar error: https://github.com/RocketChat/Rocket.Chat/issues/19062

brendoncarvalho commented 3 years ago

Has anyone managed to get around the problem?

salahtobok commented 3 years ago

@btittelbach @ricardojlrufino @brendoncarvalho Try this : in Admin -> Omnichannel -> Routing : set 'Accept with No Online Agents'

aliseas24 commented 1 year ago

Has anyone found a solution for this?

@salahtobok I have it active as you indicate and it doesn't work.