https://kotlinlang.org logo
#ktor
Title
# ktor
s

sultanofcardio

06/18/2020, 2:04 AM
Does anyone have a solution for the
TimeoutCancellationException
received when using ktor-http-client? Last asked here https://kotlinlang.slack.com/archives/C0A974TJ9/p1588270342385000
c

Cyrille QUÉMIN

03/31/2021, 8:35 AM
I have a solution I Am not sure when was is used vs the other but you need to set the one you have and this one :
Copy code
engine {
    requestTimeout = your_value // default to 15000 in the code
}