Thomas
08/30/2019, 1:06 PMe5l
09/02/2019, 11:45 AMThomas
09/03/2019, 11:36 AMe5l
09/03/2019, 11:37 AMmaster
Thomas
09/03/2019, 11:45 AMe5l
09/03/2019, 12:17 PMThomas
09/03/2019, 12:21 PMe5l
09/03/2019, 12:22 PMThomas
09/03/2019, 12:23 PMjava.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 AMDominaezzz
09/09/2019, 11:49 AMThomas
09/09/2019, 12:10 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 PMSantosh Astagi
10/22/2019, 8:51 PMThomas
10/22/2019, 10:10 PMSantosh Astagi
10/22/2019, 10:10 PMThomas
10/22/2019, 10:16 PMSantosh Astagi
10/24/2019, 6:10 PMThomas
10/24/2019, 6:23 PMSantosh Astagi
10/24/2019, 6:30 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 PM