diff --git a/lib/private/util.php b/lib/private/util.php
index a4b3761dbd3e8635cb9b0aac89dc58c9e4480031..b8d2da8a0723fa65ddfc9b96231ee937566b19b0 100755
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -892,6 +892,11 @@ class OC_Util {
 			return false;
 		}
 
+		// in case the connection is via proxy return true to avoid connecting to owncloud.org
+		if(OC_Config::getValue('proxy', '') != '') {
+			return true;
+		}
+
 		// try to connect to owncloud.org to see if http connections to the internet are possible.
 		$connected = @fsockopen("www.owncloud.org", 80);
 		if ($connected) {