https://kotlinlang.org logo
Title
o

obobo

05/07/2019, 9:49 PM
I'm getting
kotlinx.coroutines.JobCancellationException: ClosedReceiveChannelException was cancelled
Caused by: kotlinx.coroutines.channels.ClosedReceiveChannelException: Channel was closed
when calling a google API (`https://maps.googleapis.com/maps/api`) using the CIO client. The problem is that once I see this exception the client never recovers. I'm able to reproduce this pretty consistently if I run the call many times in a row. I've had a hard time pinpointing the problem, but it seems to be tied to TLS negotiation.
e

e5l

05/08/2019, 7:48 AM
Hi @obobo, could you check it with
1.2.0-rc
?
o

obobo

05/09/2019, 5:52 PM
Hi, I checked it out, but I was doing some further testing and there may be a regression there, I updated the issue: https://github.com/ktorio/ktor/issues/1106