[Bug]: Partner chat stays on "Connecting..." after the tab has been inactive
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
- Open a Partner conversation and confirm that it is connected.
- Switch to another browser tab or app and leave DeepTutor inactive for a while.
- Return to the Partner conversation.
- Notice that the status remains
Connecting.... - 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
thanks for your comments!
thanks for your comments!