diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js index 67ac40e..379ced1 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js @@ -259,7 +259,11 @@ error: "net::ERR_PAC_SCRIPT_FAILED", fatal: false, */ - const ifConFail = details.error === 'net::ERR_PROXY_CONNECTION_FAILED'; + const ifConFail = [ + 'net::ERR_TUNNEL_CONNECTION_FAILED', + 'net::ERR_PROXY_CONNECTION_FAILED', + ].includes(details.error); + if (ifConFail) { // Happens if you return neither prixies nor "DIRECT". // Ignore it.