-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
We are using this package in google cloud functions and synchronize document changes in real time on every firestore change event. When many updates come in at once or at a small time frame e.g. hundreds or thousands changes in a few seconds, our requests result in UnreachableHostException's. The function we use the most is partialUpdateObject.
We already increased the connectTimeout of the ClientOptions from the default 2 seconds to 60 seconds and implemented a custom retrying which we attempt before we rethrow the error. We can also observe this behavior sporadically at times of low traffic
Client
Search
Version
1.25.0
Relevant log output
UnreachableHostsException{errors: [AlgoliaTimeoutException{error: DioException [connection timeout]: The request connection took longer than 0:01:00.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:01:00.000000 or improve the response time of the server.}, AlgoliaTimeoutException{error: DioException [connection timeout]: The request connection took longer than 0:01:00.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:01:00.000000 or improve the response time of the server.}, AlgoliaTimeoutException{error: DioException [connection timeout]: The request connection took longer than 0:01:00.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:01:00.000000 or improve the response time of the server.}, AlgoliaTimeoutException{error: DioException [connection timeout]: The request connection took longer than 0:01:00.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:01:00.000000 or improve the response time of the server.}]}ztaylor54ztaylor54
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working