algoliasearch-helper-flutter icon indicating copy to clipboard operation
algoliasearch-helper-flutter copied to clipboard

Algolia Timeout Exception

Open SdxCoder opened this issue 11 months ago • 2 comments

Describe the bug 🐛
From time to time we are facing this AlgoliaTimeoutException.

To Reproduce 🔍
No clear steps to reproduce

Expected behavior 💭
Connection timeout shouldn't be thrown.

Screenshots 🖥

SC Screenshot 2024-03-11 at 9 01 36 AM

Environment:

  • OS: iOS, Android both
  • Library Version. 1.0.0-pre

Additional context

Error Log

Crashlytics - Stack trace

Application: com.alhabibpharmacy.staging

Platform: android

Version: 1.0.193 (194)

Issue: 01b5f1c27da7a2f1b52fd2c2d9bb02f2

Session: 65EEEA050020000105663FA47CE60191_DNE_7_v2

Date: Mon Mar 11 2024 05:50:08 GMT-0600 (Mountain Daylight Time)

Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Exception: UnreachableHostsException{errors: [AlgoliaTimeoutException{error: DioException [connection timeout]: The request connection took longer than 0:00:02.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:00:02.000000 or improve the response time of the server.}, AlgoliaTimeoutException{error: DioException [connection timeout]: The request connection took longer than 0:00:02.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:00:02.000000 or improve the response time of the server.}, AlgoliaTimeoutException{error: DioException [connection timeout]: The request connection took longer than 0:00:02.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:00:02.000000 or improve the response time of the server.}, AlgoliaTimeoutException{error: DioException [connection timeout]: The request connection took longer than 0:00:02.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:00:02.000000 or improve the response time of the server.}]} at AlgoliaHitsSearchService._disjunctiveSearch(algolia_hits_search_service.dart:94)

SdxCoder avatar Mar 11 '24 14:03 SdxCoder