diff --git a/src/components/PageComponents/Connect/HTTP.tsx b/src/components/PageComponents/Connect/HTTP.tsx index b50dbcf5..8d8e3e2d 100644 --- a/src/components/PageComponents/Connect/HTTP.tsx +++ b/src/components/PageComponents/Connect/HTTP.tsx @@ -88,15 +88,16 @@ export const HTTP = ({ closeDialog }: TabElementProps) => { {connectionError && ( -
+
- +

Connection Failed

-

- Could not connect to the device. If using HTTPS, you may need to accept a self-signed certificate first. Please open{" "} +

+ Could not connect to the device. {connectionError.secure && "If using HTTPS, you may need to accept a self-signed certificate first. "} + Please open{" "} { className="underline font-medium" > {`${connectionError.secure ? "https" : "http"}://${connectionError.host}`} + {" "} + in a new tab{connectionError.secure ? ", accept any TLS warnings if prompted, then try again" : ""}.{" "} + + Learn more - {" "}in a new tab, accept any certificate warnings if prompted, then return here to try connecting again.