diff --git a/arduino-core/src/cc/arduino/utils/network/HttpConnectionManager.java b/arduino-core/src/cc/arduino/utils/network/HttpConnectionManager.java index fd62bc0ef..850580e15 100644 --- a/arduino-core/src/cc/arduino/utils/network/HttpConnectionManager.java +++ b/arduino-core/src/cc/arduino/utils/network/HttpConnectionManager.java @@ -40,7 +40,7 @@ public class HttpConnectionManager { try { connectTimeoutFromConfig = Integer.parseInt( - PreferencesData.get("http.connection_timeout", "5000")); + PreferencesData.get("http.connection_timeout_ms", "5000")); } catch (NumberFormatException e) { log.warn( "Cannot parse the http.connection_timeout configuration switch to default {} milliseconds", connectTimeoutFromConfig, e.getCause());