diff --git a/app/common/network.js b/app/common/network.js index 82822595ac..b93bb8323c 100644 --- a/app/common/network.js +++ b/app/common/network.js @@ -111,6 +111,7 @@ export function _actuallySend (renderedRequest, settings, forceIPv4 = false) { // Failed to connect while prioritizing IPv6 address, fallback to IPv4 const isNetworkRelatedError = ( err.code === 'ECONNREFUSED' || // Could not talk to server + err.code === 'EHOSTUNREACH' || // Could not reach host err.code === 'ENETUNREACH' // Could not access the network ); diff --git a/app/package.json b/app/package.json index a4b1bbb83b..c2a31e48d8 100644 --- a/app/package.json +++ b/app/package.json @@ -16,7 +16,7 @@ "electron-squirrel-startup": "^1.0.0", "hkdf": "0.0.2", "httpsnippet": "git@github.com:getinsomnia/httpsnippet.git#a3a2c0a0167fa844bf92df52a1442fa1d68a9053", - "insomnia-importers": "^0.2.0", + "insomnia-importers": "^0.2.1", "json-lint": "^0.1.0", "jsonpath-plus": "^0.15.0", "mime-types": "^2.1.12", diff --git a/package.json b/package.json index fd260377cb..69ab48eb19 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "electron-squirrel-startup": "^1.0.0", "hkdf": "0.0.2", "httpsnippet": "git@github.com:getinsomnia/httpsnippet.git#a3a2c0a0167fa844bf92df52a1442fa1d68a9053", - "insomnia-importers": "^0.2.0", + "insomnia-importers": "^0.2.1", "json-lint": "^0.1.0", "jsonpath-plus": "^0.15.0", "mime-types": "^2.1.12",