diff options
-rw-r--r-- | remoting/webapp/_locales/en/messages.json | 4 | ||||
-rw-r--r-- | remoting/webapp/client_screen.js | 2 | ||||
-rw-r--r-- | remoting/webapp/remoting.js | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/remoting/webapp/_locales/en/messages.json b/remoting/webapp/_locales/en/messages.json index 2b1718e..6241329 100644 --- a/remoting/webapp/_locales/en/messages.json +++ b/remoting/webapp/_locales/en/messages.json @@ -139,6 +139,10 @@ "message": "The access code is invalid. Please try again.", "description": "Error displayed if an invalid access code is entered." }, + "ERROR_NETWORK_FAILURE": { + "message": "Unable to reach the host. This is probably due to the configuration of the network you are using.", + "description": "Error displayed when the host is online, but we are unable to connect to it due to network configuration." + }, "ERROR_MISSING_PLUGIN": { "message": "Some components required for Chromoting are missing. Please make sure you're running the latest version of Chromium and try again.", "description": "Error displayed if the client plugin fails to load." diff --git a/remoting/webapp/client_screen.js b/remoting/webapp/client_screen.js index 1a3e701..de025fe 100644 --- a/remoting/webapp/client_screen.js +++ b/remoting/webapp/client_screen.js @@ -247,7 +247,7 @@ function onClientStateChange_(oldState, newState) { showConnectError_(remoting.Error.INCOMPATIBLE_PROTOCOL); } else if (remoting.clientSession.error == remoting.ClientSession.ConnectionError.NETWORK_FAILURE) { - showConnectError_(remoting.Error.GENERIC); + showConnectError_(remoting.Error.NETWORK_FAILURE); } else { showConnectError_(remoting.Error.GENERIC); } diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js index b536190..e1d1433 100644 --- a/remoting/webapp/remoting.js +++ b/remoting/webapp/remoting.js @@ -20,6 +20,7 @@ remoting.Error = { HOST_IS_OFFLINE: /*i18n-content*/'ERROR_HOST_IS_OFFLINE', INCOMPATIBLE_PROTOCOL: /*i18n-content*/'ERROR_INCOMPATIBLE_PROTOCOL', BAD_PLUGIN_VERSION: /*i18n-content*/'ERROR_BAD_PLUGIN_VERSION', + NETWORK_FAILURE: /*i18n-content*/'ERROR_NETWORK_FAILURE', GENERIC: /*i18n-content*/'ERROR_GENERIC', UNEXPECTED: /*i18n-content*/'ERROR_UNEXPECTED', SERVICE_UNAVAILABLE: /*i18n-content*/'ERROR_SERVICE_UNAVAILABLE' |