Hello, I think I've found a bug and opened an issue for it: https://github.com/ktorio/ktor/issues/1216
It seems like when a timeout occurs during the deserialization phase of a request (hard to reproduce), we get a
Operation is a already in progress
exception.
Any advice on what I could do to avoid this in the meantime ?
t
Thomas
07/02/2019, 5:09 PM
I’m getting exactly the same error. I haven’t tried to reproduce it yet in a new project, but the cause is probably that I try to cancel the request. (Just like in the stack trace where it shows HttpsResponse$close)
q
qlitzler
07/03/2019, 9:51 AM
Cancelling a request should not cause particular problems though, no ?
t
Thomas
07/04/2019, 2:35 PM
withTimeout
just cancels the request as well, so I think that would work the same as cancelling it manually, like I do. I don’t think it is supposed to throw this exception.