Fix #7038
Connection error message appears repeatedly
Description
When the UI can't reach the BE it shows: "Dashboard Update Timed Out. Please check your connection."
It shows this repeatedly.
It should only show the error message once, until the problem is resolved.
Option: add a timer to show last time connection was attempted?
Option: don't allow the user to click the message away?
Associated revisions
Fix #7038 - add a server unreachable message
When jQuery can't contact the server, it consistently returns a status
of 0. Use this to detect unreachability and make the Notifications
appear once and suggest reloading page or contacting the administrator.
History
#1 Updated by Yan-Fa Li about 10 years ago
- Tracker changed from Bug to Fix
#2 Updated by John Spray about 10 years ago
- File Screen Shot 2014-01-15 at 19.59.11.png View added
I was curious while in the meeting so stopped my backend to see what the frontend would do (screenshot attached, this is from approx 30 mins of not being in contact).
This is against the 2.0 backend but when they're not in contact that shouldn't matter...
#3 Updated by Yan-Fa Li about 10 years ago
This looks about right. I know how to reproduce this I think, this same error happens when the calamari web server goes away.
#4 Updated by Yan-Fa Li about 10 years ago
- Status changed from 12 to Resolved
Fixed on master commit 0d2756d948026b45372c89ff26a2d9381c242578
#5 Updated by Yan-Fa Li about 10 years ago
- File localhost_9000__dashboard.png View added