Hi, any idea why this exception would happen? Thanks in advance for your help.
null interrupted java.io.InterruptedIOException: interrupted at okio.Timeout.throwIfReached(Timeout.kt:98) at okio.OutputStreamSink.write(Okio.kt:53) at okio.AsyncTimeout$sink$1.write(AsyncTimeout.kt:103) at okio.RealBufferedSink.flush(RealBufferedSink.kt:247) at okhttp3.internal.http2.Http2Writer.flush(Http2Writer.kt:120) at okhttp3.internal.http2.Http2Connection.newStream(Http2Connection.kt:268) at okhttp3.internal.http2.Http2Connection.newStream(Http2Connection.kt:225) at okhttp3.internal.http2.Http2ExchangeCodec.writeRequestHeaders(Http2ExchangeCodec.kt:76) at okhttp3.internal.connection.Exchange.writeRequestHeaders(Exchange.kt:59) at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:36) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:74) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197) at okhttp3.internal.connection.RealCall.execute(RealCall.kt:148) at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.getRequest(KiteRequestHandler.java:52) at com.zerodhatech.kiteconnect.KiteConnect.getOrders(KiteConnect.java:444)
This exception is not always reproducible. If you can give me probable answer (even guess work is fine) by looking into what I provided before, that would be great.
okhttp3.internal.connection.RealCall.execute(RealCall.kt:148) at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.getRequest(KiteRequestHandler.java:52)
The exception in okhttp library is emanating from the KiteRequestHandler.java:52
It is a method from where all the HTTP requests originate. It has nothing to do with Kite Connect. You can either check your firewall settings or antivirus or it could be because of network itself. Maybe try on some other network.
This exception is not always reproducible. If you can give me probable answer (even guess work is fine) by looking into what I provided before, that would be great.
okhttp3.internal.connection.RealCall.execute(RealCall.kt:148) at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.getRequest(KiteRequestHandler.java:52)
The exception in okhttp library is emanating from the KiteRequestHandler.java:52
You can either check your firewall settings or antivirus or it could be because of network itself. Maybe try on some other network.