Thomas
08/30/2019, 1:06 PMThomas
09/02/2019, 11:44 AMe5l
09/02/2019, 11:45 AMThomas
09/03/2019, 11:36 AMe5l
09/03/2019, 11:37 AMmaster
Thomas
09/03/2019, 11:45 AMThomas
09/03/2019, 12:16 PMThomas
09/03/2019, 12:17 PMe5l
09/03/2019, 12:17 PMThomas
09/03/2019, 12:21 PMe5l
09/03/2019, 12:22 PMThomas
09/03/2019, 12:23 PMThomas
09/06/2019, 7:45 PMThomas
09/09/2019, 8:59 AMjava.net.SocketTimeoutException
fall under a "custom state" exception?e5l
09/09/2019, 9:14 AMDebugProbes
before executing the request?Thomas
09/09/2019, 10:19 AMSystem.setProperty(DEBUG_PROPERTY_NAME, DEBUG_PROPERTY_VALUE_ON)
Do I need to add DebugProbes
as well? Would that work for an Android app?e5l
09/09/2019, 10:21 AMThomas
09/09/2019, 10:27 AMe5l
09/09/2019, 10:28 AMVsevolod Tolstopyatov [JB]
09/09/2019, 10:30 AMThomas
09/09/2019, 10:32 AMThomas
09/09/2019, 10:34 AMThomas
09/09/2019, 10:42 AMThomas
09/09/2019, 10:43 AMThomas
09/09/2019, 11:44 AMDominaezzz
09/09/2019, 11:49 AMThomas
09/09/2019, 12:10 PMThomas
09/09/2019, 12:13 PMGlobalScope.launch {
val deferred = async {
val client = HttpClient(OkHttp) {
engine {
config {
// Make sure there is a timeout
readTimeout(1, TimeUnit.MILLISECONDS)
}
}
}
client.get<String>("<https://google.com>")
}
deferred.await()
}
This throws the following exception: https://gist.github.com/Thomas-Vos/adca67cc732d87691662725e56fc59b3
As you can see it does not show a stack trace referencing my code. @e5l How am I supposed to find the cause in my app? I have Kotlin debug mode enabled, but without the DebugPropes as that is not compatible with Android.Dominaezzz
09/09/2019, 12:26 PMThomas
09/09/2019, 12:29 PMtry {
deferred.await()
} catch (throwable: Throwable) {
throw RuntimeException(throwable)
}
Dominaezzz
09/09/2019, 1:08 PMSantosh Astagi
10/22/2019, 8:37 PMThomas
10/22/2019, 8:42 PMThomas
10/22/2019, 8:43 PMThomas
10/22/2019, 8:45 PMSantosh Astagi
10/22/2019, 8:51 PMSantosh Astagi
10/22/2019, 8:51 PMThomas
10/22/2019, 10:10 PMSantosh Astagi
10/22/2019, 10:10 PMSantosh Astagi
10/22/2019, 10:11 PMSantosh Astagi
10/22/2019, 10:11 PMThomas
10/22/2019, 10:16 PMThomas
10/24/2019, 12:18 PMSantosh Astagi
10/24/2019, 6:10 PMSantosh Astagi
10/24/2019, 6:14 PMSantosh Astagi
10/24/2019, 6:14 PMSantosh Astagi
10/24/2019, 6:15 PMSantosh Astagi
10/24/2019, 6:16 PMThomas
10/24/2019, 6:23 PMThomas
10/24/2019, 6:25 PMSantosh Astagi
10/24/2019, 6:30 PMSantosh Astagi
10/24/2019, 6:31 PMThomas
10/24/2019, 6:35 PMktor is native, it’s underlying engine may not beAs far as I know that is not possible. Kotlin/Native means that it compiles to C for e.g. iOS. I am using Kotlin JVM (so no Kotlin/Native at all). Could you explain in more detail?
Santosh Astagi
10/24/2019, 7:16 PMThomas
10/25/2019, 7:57 AMSantosh Astagi
11/08/2019, 8:39 PMThomas
11/08/2019, 9:26 PMSantosh Astagi
11/08/2019, 9:26 PMSantosh Astagi
11/08/2019, 9:27 PMSantosh Astagi
11/13/2019, 6:08 AMSantosh Astagi
04/02/2020, 7:45 PM