DeepTutor icon indicating copy to clipboard operation
DeepTutor copied to clipboard

[Bug]: Partner chat stays on "Connecting..." after the tab has been inactive

Open Autumn0716 opened this issue 3 months ago • 2 comments

Do you need to file an issue?

  • [x] I have searched the existing issues and this bug is not already filed.
  • [x] I believe this is a legitimate bug, not just a question or feature request.

Describe the bug

If I leave the DeepTutor browser tab for a while, the Partner connection drops. When I return to the Partner conversation, the page stays on Connecting... and never recovers by itself. Refreshing the page reconnects immediately.

I have not measured the exact timeout, but the result is consistent whenever the tab has been inactive long enough.

Steps to reproduce

  1. Open a Partner conversation and confirm that it is connected.
  2. Switch to another browser tab or app and leave DeepTutor inactive for a while.
  3. Return to the Partner conversation.
  4. Notice that the status remains Connecting....
  5. Refresh the page and see the connection recover.

Expected Behavior

The Partner chat should reconnect automatically when the tab becomes active again. It should not require a full page refresh.

Related Module

Frontend/Web

Configuration Used

Partner chat in the DeepTutor web UI.

Logs and screenshots

The page remains on Connecting..., and the composer is unavailable. Refreshing the page is the only workaround I have found.

Additional Information

  • DeepTutor Version: Not captured
  • Operating System: Not captured
  • Python Version: Not captured
  • Node.js Version: Not captured
  • Browser (if applicable): Not captured
  • Related Issues: None found

Autumn0716 avatar Aug 04 '26 13:08 Autumn0716

thanks for your comments!

pancacake avatar Aug 16 '26 17:08 pancacake

thanks for your comments!

pancacake avatar Aug 23 '26 10:08 pancacake