Open
Description
If an okhttp3.Interceptor
throws an exception, the suspend
function in a Retrofit interface never completes (neither returning a value or throwing an exception).
A sample project demonstrating the issue with a simple JUnit test can be found here: https://github.com/robfletcher/retrofit-coroutines-hang
The real situation when I've encountered this is when an SSL handshake fails.
FWIW the same behavior is seen using https://github.com/JakeWharton/retrofit2-kotlin-coroutines-adapter with Retrofit 2.5.0