You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update AlgoliaUnreachableHostException to OperationTimeout #556
Algolia Client Version: 2.5.0 (I see that 3.0 was released 3 days ago, not sure if that resolves this)
Language Version: Python 3.9.7
Description
Client throws algoliasearch.exceptions.AlgoliaUnreachableHostException: Unreachable hosts during replace_all_objects operation. The issue was not that hosts were unreachable but that the operation was timing out. I fixed the problem by setting readTimeout to 100:
Hey, thanks for the issue! We throw an unreachable host error because after a timeout error, we will try an other host (Algolia's API offers multiple), then if there's no host left we end up in an AlgoliaUnreachableHostException
I can however confirm that it can be misleading when doing large enough operations
Activity
shortcuts commentedon Apr 24, 2023
Hey, thanks for the issue! We throw an unreachable host error because after a timeout error, we will try an other host (Algolia's API offers multiple), then if there's no host left we end up in an
AlgoliaUnreachableHostExceptionI can however confirm that it can be misleading when doing large enough operations
fix(scripts): netlify build and artifacts order (#556)
dylancaponi commentedon Jan 12, 2024
I'm now seeing this error regardless how big I set the readTimeout. I've triple checked App ID and API Key.
dylancaponi commentedon Jan 12, 2024
Oh, you also get this message if the index does not exist. I would expect
index does not Existrather than an unreachable hosts error...