I have the following setup:
final OkHttpClient okHttpClient = new OkHttpClient();
okHttpClient.setReadTimeout(5, TimeUnit.SECONDS);
okHttpClient.setConnectTi
In case someone come here with Kotlin/Coroutines facing the same issue, add an error handler to your coroutines scope:
CoroutineScope(Dispatchers.IO).launch(handler) {
while the handler by itself looks like:
val handler = CoroutineExceptionHandler { _, exception ->
Log.t("Network", "Caught $exception")
}