diff --git a/desktop/app/src/dispatcher/server.tsx b/desktop/app/src/dispatcher/server.tsx
index 6b5081982..7be1654eb 100644
--- a/desktop/app/src/dispatcher/server.tsx
+++ b/desktop/app/src/dispatcher/server.tsx
@@ -16,6 +16,10 @@ import {UninitializedClient} from '../UninitializedClient';
import {addErrorNotification} from '../reducers/notifications';
import {CertificateExchangeMedium} from '../utils/CertificateProvider';
import {selectClient, selectDevice} from '../reducers/connections';
+import {isLoggedIn} from '../fb-stubs/user';
+import React from 'react';
+import {Typography} from 'antd';
+import {ACTIVE_SHEET_SIGN_IN, setActiveSheet} from '../reducers/application';
export default (store: Store, logger: Logger) => {
const server = new Server(logger, store);
@@ -71,7 +75,6 @@ export default (store: Store, logger: Logger) => {
({
client,
medium,
- deviceID,
}: {
client: UninitializedClient;
medium: CertificateExchangeMedium;
@@ -79,10 +82,31 @@ export default (store: Store, logger: Logger) => {
}) => {
store.dispatch(
addErrorNotification(
- `Client ${client.appName} with device ${deviceID} took long time to connect back on the trusted channel.`,
- medium === 'WWW'
- ? 'Verify that you are on lighthouse on your client and have a working internet connection. To connect to lighthouse on your client, use VPN. Follow this link: https://www.internalfb.com/intern/wiki/Ops/Network/Enterprise_Network_Engineering/ene_wlra/VPN_Help/Vpn/mobile/'
- : 'Verify if your client is connected to Flipper and verify if there is no error related to idb.',
+ `Timed out establishing connection with "${client.appName}" on "${client.deviceName}".`,
+ medium === 'WWW' ? (
+ <>
+ Verify that both your computer and mobile device are on
+ Lighthouse/VPN{' '}
+ {!isLoggedIn().get() && (
+ <>
+ and{' '}
+
{message}
+{getStringFromErrorLike(error)}
+ > + ) : ( + message + ), severity: 'error', }, });