summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2024-01-31 12:56:39 +0100
committerOskar Nyberg <oskar@mullvad.net>2024-01-31 15:03:56 +0100
commit3cece32a1c6aac239ed114f0bf2b6c09f26602fb (patch)
tree7754e2ab8e92683d666c7eec97c87a7cf5ec683b /gui
parent0d9abfd26b0d0e2151eaebaae1bd01f2f439466b (diff)
downloadmullvadvpn-3cece32a1c6aac239ed114f0bf2b6c09f26602fb.tar.xz
mullvadvpn-3cece32a1c6aac239ed114f0bf2b6c09f26602fb.zip
Add VMWare error message and troubleshooting instructions
Diffstat (limited to 'gui')
-rw-r--r--gui/locales/messages.pot16
-rw-r--r--gui/src/shared/notifications/error.ts24
2 files changed, 38 insertions, 2 deletions
diff --git a/gui/locales/messages.pot b/gui/locales/messages.pot
index 69146b208f..19d0c8f17e 100644
--- a/gui/locales/messages.pot
+++ b/gui/locales/messages.pot
@@ -1094,6 +1094,10 @@ msgid "Unable to start tunnel connection. Please send a problem report."
msgstr ""
msgctxt "notifications"
+msgid "Unable to start tunnel connection. This could be caused by incompatibility with VMware, please troubleshoot."
+msgstr ""
+
+msgctxt "notifications"
msgid "Update available. Install the latest app version to stay up to date"
msgstr ""
@@ -1557,14 +1561,26 @@ msgid "Try restarting your device."
msgstr ""
msgctxt "troubleshoot"
+msgid "Try to reinstall VMware"
+msgstr ""
+
+msgctxt "troubleshoot"
msgid "Try to turn Wi-Fi Calling off in the FaceTime app settings and restart the Mac."
msgstr ""
msgctxt "troubleshoot"
+msgid "Try to uninstall VMware"
+msgstr ""
+
+msgctxt "troubleshoot"
msgid "Unable to communicate with Mullvad kernel driver."
msgstr ""
msgctxt "troubleshoot"
+msgid "Unable to start tunnel connection because of a failure when creating the tunnel device. This is often caused by an issue with the VMware Bridge Protocol."
+msgstr ""
+
+msgctxt "troubleshoot"
msgid "Uninstall or disable other DNS, networking and ads/website blocking apps."
msgstr ""
diff --git a/gui/src/shared/notifications/error.ts b/gui/src/shared/notifications/error.ts
index 44c28a092c..bead5ae729 100644
--- a/gui/src/shared/notifications/error.ts
+++ b/gui/src/shared/notifications/error.ts
@@ -165,9 +165,12 @@ function getMessage(errorState: ErrorState): string {
);
case ErrorStateCause.createTunnelDeviceError:
if (errorState.osError === 4319) {
- // TODO: add improved error for network device conflicts
+ return messages.pgettext(
+ 'notifications',
+ 'Unable to start tunnel connection. This could be caused by incompatibility with VMware, please troubleshoot.',
+ );
}
- // TODO: 'Failed to create tunnel device. Please send a problem report.',
+
return messages.pgettext(
'notifications',
'Unable to start tunnel connection. Please send a problem report.',
@@ -275,5 +278,22 @@ function getActions(errorState: ErrorState): InAppNotificationAction | void {
],
},
};
+ } else if (
+ errorState.cause === ErrorStateCause.createTunnelDeviceError &&
+ errorState.osError === 4319
+ ) {
+ return {
+ type: 'troubleshoot-dialog',
+ troubleshoot: {
+ details: messages.pgettext(
+ 'troubleshoot',
+ 'Unable to start tunnel connection because of a failure when creating the tunnel device. This is often caused by an issue with the VMware Bridge Protocol.',
+ ),
+ steps: [
+ messages.pgettext('troubleshoot', 'Try to reinstall VMware'),
+ messages.pgettext('troubleshoot', 'Try to uninstall VMware'),
+ ],
+ },
+ };
}
}