+ {openclawTestResult.diagnostics.normalizedUrl && (
+
+ Endpoint:{" "}
+
+ {openclawTestResult.diagnostics.normalizedUrl}
+
+
+ )}
+ {openclawTestResult.diagnostics.hostKind && (
+
+ Host type:{" "}
+
+ {describeOpenclawGatewayHostKind(
+ openclawTestResult.diagnostics.hostKind,
+ )}
+
+
+ )}
+ {openclawTestResult.diagnostics.resolvedAddresses.length > 0 && (
+
+ Resolved:{" "}
+
+ {openclawTestResult.diagnostics.resolvedAddresses.join(
+ ", ",
+ )}
+
+
+ )}
+ {describeOpenclawGatewayHealthStatus(openclawTestResult) && (
+
+ Health probe:{" "}
+
+ {describeOpenclawGatewayHealthStatus(openclawTestResult)}
+
+ {openclawTestResult.diagnostics.healthUrl && (
+ <>
+ {" "}
+ at{" "}
+
+ {openclawTestResult.diagnostics.healthUrl}
+
+ >
+ )}
+
+ )}
+ {openclawTestResult.diagnostics.socketCloseCode !== undefined && (
+
+ Socket close:{" "}
+
+ {openclawTestResult.diagnostics.socketCloseCode}
+ {openclawTestResult.diagnostics.socketCloseReason
+ ? ` (${openclawTestResult.diagnostics.socketCloseReason})`
+ : ""}
+
+
+ )}
+ {openclawTestResult.diagnostics.socketError && (
+
+ Socket error:{" "}
+
+ {openclawTestResult.diagnostics.socketError}
+
+
+ )}
+ {openclawTestResult.diagnostics.observedNotifications.length >
+ 0 && (
+
+ Gateway notifications:{" "}
+
+ {openclawTestResult.diagnostics.observedNotifications.join(
+ ", ",
+ )}
+
+
+ )}
+