Project

General

Profile

Fix #7038

Connection error message appears repeatedly

Added by Neil Levine over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

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?

Screen Shot 2014-01-15 at 19.59.11.png View (105 KB) John Spray, 01/15/2014 12:00 PM

localhost_9000__dashboard.png View (24.4 KB) Yan-Fa Li, 01/15/2014 05:03 PM

Associated revisions

Revision 0d2756d9 (diff)
Added by Yan-Fa Li about 10 years ago

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

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

Also available in: Atom PDF