Hi Team, i'm getting below exception while trying to place an SL order. Pasting the complete stack trace.
java.io.InterruptedIOException: interrupted at okio.Timeout.throwIfReached(Timeout.kt:99) ~[okio-jvm-3.4.0.jar:na] at okio.OutputStreamSink.write(JvmOkio.kt:53) ~[okio-jvm-3.4.0.jar:na] at okio.AsyncTimeout$sink$1.write(AsyncTimeout.kt:102) ~[okio-jvm-3.4.0.jar:na] at okio.RealBufferedSink.flush(RealBufferedSink.kt:268) ~[okio-jvm-3.4.0.jar:na] at okhttp3.internal.http2.Http2Writer.flush(Http2Writer.kt:120) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.http2.Http2Connection.flush(Http2Connection.kt:408) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.http2.Http2Stream$FramingSink.close(Http2Stream.kt:626) ~[okhttp-4.4.0.jar:na] at okio.ForwardingSink.close(ForwardingSink.kt:37) ~[okio-jvm-3.4.0.jar:na] at okhttp3.internal.connection.Exchange$RequestBodySink.close(Exchange.kt:242) ~[okhttp-4.4.0.jar:na] at okio.RealBufferedSink.close(RealBufferedSink.kt:287) ~[okio-jvm-3.4.0.jar:na] at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:60) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:74) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197) ~[okhttp-4.4.0.jar:na] at okhttp3.internal.connection.RealCall.execute(RealCall.kt:148) ~[okhttp-4.4.0.jar:na] at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.postRequest(KiteRequestHandler.java:88) ~[kiteconnect-3.4.0.jar:na] at com.zerodhatech.kiteconnect.KiteConnect.placeOrder(KiteConnect.java:389) ~[kiteconnect-3.4.0.jar:na] at com.trade.autopilot.common.kite.service.OrderService.placeOrder(OrderService.java:112) ~[classes/:na] at com.trade.autopilot.common.kite.service.OrderService.placeSLOrderOnSellOrderComplete(OrderService.java:192) ~[classes/:na] at com.trade.autopilot.common.kite.service.PositionManagerService.onOptionSellHandler(PositionManagerService.java:88) ~[classes/:na] at com.trade.autopilot.common.kite.service.PositionManagerService$1.onOrderUpdate(PositionManagerService.java:48) ~[classes/:na] at com.zerodhatech.ticker.KiteTicker.parseTextMessage(KiteTicker.java:711) ~[kiteconnect-3.4.0.jar:na] at com.zerodhatech.ticker.KiteTicker.access$800(KiteTicker.java:30) ~[kiteconnect-3.4.0.jar:na] at com.zerodhatech.ticker.KiteTicker$3.onTextMessage(KiteTicker.java:258) ~[kiteconnect-3.4.0.jar:na] at com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352) ~[nv-websocket-client-2.3.jar:na] at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:260) ~[nv-websocket-client-2.3.jar:na] at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:238) ~[nv-websocket-client-2.3.jar:na] at com.neovisionaries.ws.client.ReadingThread.handleTextFrame(ReadingThread.java:963) ~[nv-websocket-client-2.3.jar:na] at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:746) ~[nv-websocket-client-2.3.jar:na] at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) ~[nv-websocket-client-2.3.jar:na] at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) ~[nv-websocket-client-2.3.jar:na] at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) ~[nv-websocket-client-2.3.jar:na]
Have you added callTimeout for the interceptor? This looks like some issue with Okhttp library. You can google it and figure out. It is not Kite Connect exception.
It is not Kite Connect exception.