Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Messages not being received on the stream after internet disconnects and reconnects #2426

Open
kb0304 opened this issue Jul 25, 2019 · 0 comments · May be fixed by #2427
Open

Messages not being received on the stream after internet disconnects and reconnects #2426

kb0304 opened this issue Jul 25, 2019 · 0 comments · May be fixed by #2427

Comments

@kb0304
Copy link
Contributor

kb0304 commented Jul 25, 2019

Describe the bug

To Reproduce

  1. Open a Room
  2. Disconnect the internet
  3. Send a message (wait for it to timeout in case it does)
  4. Reconnect the internet
  5. The message are sent across (can be verified on RC server), but they are not received by the stream (the text remains grey)
  6. Even on sending subsequent messages, they are sent through, but their text remains grey.

Expected behavior

The message turns black when the internet reconnects.

Logs

Additional Context

connectJob in the ConnectionManager receives the disconnect status when the internet is disconnected, so state in it is disconnected
Now when the internet connects again, it doesn't receive any status change, and remains in disconnected state

On going out of the room and coming back in, it resets the connection manager (call to launch), so everything starts working.

During the state of point 5 (message are being sent, not received by the stream), the connectJob is active.

@kb0304 kb0304 linked a pull request Jul 25, 2019 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant