REST repo - OkHttpClient causes SocketTimeoutException
OkHttpClient uses default timeout values of 10 seconds. For plugins of larger size, 10 seconds might be too short to upload the plugin into repository.
It might be usefull to have a configuration parameter to use longer timeout values or to disable timeout.
please have a look into my change: patch_timeouts.patch
Sorry for the delay, missed the notifications about this issue.
Ill give this a test, I am a bit perplexed since OkHttp has a unlimited call timeout so as long as packets are being sent, the time taken should not be a factor. My only guess is its the read timeout, it could be that the server takes longer then 10 seconds to process the payload before replying back. Let me take a look around how others are defining timeouts. I believe the native sockets can use system properties for this, but not sure that fits this case either.