Skip to content

Random IllegalStateException with getInstruments api #24

Open
@chedine

Description

@chedine

I get a random and hard to reproduce IllegalStateException errors with calls to the api GetInstruments. Retrying the same , works. Exception trace below;

java.lang.IllegalStateException: closed
okio.RealBufferedSource.select(RealBufferedSource.kt:83)
okhttp3.internal.Util.readBomAsCharset(Util.kt:256)
okhttp3.ResponseBody.string(ResponseBody.kt:187)
com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.handle(KiteResponseHandler.java:34)
at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.getCSVRequest(KiteRequestHandler.java:150)
at com.zerodhatech.kiteconnect.KiteConnect.getInstruments(KiteConnect.java:651)

Version:3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions