diff --git a/build-extensions/src/main/kotlin/extensions.kt b/build-extensions/src/main/kotlin/extensions.kt index e4bcac582e..bfe13255ce 100644 --- a/build-extensions/src/main/kotlin/extensions.kt +++ b/build-extensions/src/main/kotlin/extensions.kt @@ -118,8 +118,9 @@ private fun resolveRepository( val url = URL(it.url.toURL(), testUrlPath) with(url.openConnection() as HttpURLConnection) { useCaches = false - readTimeout = 5000 - connectTimeout = 5000 + readTimeout = 30000 + connectTimeout = 30000 + instanceFollowRedirects = true setRequestProperty( "User-Agent",