RocketChat / Rocket.Chat

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

Omnichannel/Sessions chat closed not working #18259

Closed rsgodinez closed 4 years ago

rsgodinez commented 4 years ago

Description:

Omnichannel/Sessions chat closed not working. image

Steps to reproduce:

  1. In Admin/Omnichannel/Sessions, we have Livechat_agent_leave_action_timeout configured at 10 or 600 seconds.
  2. We start a Livechat conversation between Guest1 and Agent1 (bot).
  3. Guest1 closes Livechat (closes browser) so the conversation remains open.
  4. We force a logout-login in Agent1, expecting that after 10 or 600 seconds, the conversation closes.

Expected behavior:

After 10 or 600 seconds, Agent1 closes the conversation, so in Omnichannel/Chat History we will see:

image

Actual behavior:

Expected behavior was working until Rocket.Chat 3.3.3. Since Rocket.Chat 3.4.0, nothing happens. The conversation reamains open:

image

Server Setup Information:

Client Setup Information

Additional context

As I mentioned before, this issue happens with 3.4.0, 3.4.1 and 3.4.2. We still have another server with 3.3.3 where we still have the expected behavior.

We also think that maybe this could be something similar to another issue https://github.com/RocketChat/Rocket.Chat/issues/18132 which started in 3.4.0 but was resolved in 3.4.1.

Relevant logs:

N/A

renatobecker commented 4 years ago

@rsgodinez thanks for reporting this issue. I'll look into this case ASAP.

Thanks.

dennishenry commented 4 years ago

Is there any update on this? We're having the same issue on our instance.