From fd66a86408eb6be5acaf081e69c2e6ed441515fd Mon Sep 17 00:00:00 2001 From: Yves Gugger Date: Fri, 12 Dec 2025 22:28:53 +0100 Subject: [PATCH] Health check: show errors and network warnings --- frontend/src/app/terminal/watchlist/page.tsx | 38 ++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/terminal/watchlist/page.tsx b/frontend/src/app/terminal/watchlist/page.tsx index ac6746c..e40acdc 100755 --- a/frontend/src/app/terminal/watchlist/page.tsx +++ b/frontend/src/app/terminal/watchlist/page.tsx @@ -488,6 +488,11 @@ export default function WatchlistPage() { OK + ) : selectedHealth.dns?.error ? ( +
+ + Error +
) : (
@@ -498,12 +503,22 @@ export default function WatchlistPage() { {/* HTTP */}
- HTTP Reachable +
+ HTTP Reachable + {selectedHealth.http?.error && ( +

{selectedHealth.http.error}

+ )} +
{selectedHealth.http?.is_reachable ? (
OK
+ ) : selectedHealth.http?.error === 'timeout' ? ( +
+ + Timeout +
) : (
@@ -514,12 +529,22 @@ export default function WatchlistPage() { {/* SSL */}
- SSL Certificate +
+ SSL Certificate + {selectedHealth.ssl?.error && ( +

{selectedHealth.ssl.error}

+ )} +
{selectedHealth.ssl?.has_certificate ? (
Valid
+ ) : selectedHealth.ssl?.error ? ( +
+ + Error +
) : (
@@ -543,6 +568,15 @@ export default function WatchlistPage() {
)}
+ + {/* Network warning if HTTP/SSL failed with timeout */} + {(selectedHealth.http?.error === 'timeout' || selectedHealth.ssl?.error?.includes('timeout')) && ( +
+

+ ⚠️ Network issue: Server could not reach this domain. This may be a firewall or routing problem. +

+
+ )}
) : (