Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Getting exception - Error while reading stream: thread interrupted #579

@passiondroid

Description

@passiondroid

Describe the bug 🐛
Getting below exception very frequently
com.algolia.search.saas.AlgoliaException: Error while reading stream: thread interrupted
at com.algolia.search.saas.AbstractClient._toByteArray(AbstractClient.java:472)
at com.algolia.search.saas.AbstractClient._requestRaw(AbstractClient.java:632)
at com.algolia.search.saas.AbstractClient.postRequestRaw(AbstractClient.java:425)
at com.algolia.search.saas.Index.searchRaw(Index.java:1383)
at com.algolia.search.saas.Index.search(Index.java:1355)
at com.algolia.search.saas.Index.searchSync(Index.java:139)
at com.algolia.search.saas.Index.searchSync(Index.java:148)

To Reproduce 🔍
Steps to reproduce the behavior:
Start sending multiple requests for keywords very fast

Expected behavior 💭
thread interrupted should be handled.

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