<how to fix okhttp3 socket timeout which is leadin...
# stackoverflow
u
how to fix okhttp3 socket timeout which is leading to android app crash? Dont know why this error is coming and from which api call. using retrofit Earlier this error was not coming but now this is coming frequently My read and write timeout is set to 10000ms and it hard to trace the problem as this happens intermittently Fatal Exception: java.net.SocketTimeoutException timeout okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException (Http2Stream.kt:677) okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut (Http2Stream.kt:686)...