Hi am getting this host’s unreachable exception
'Exception ‘AlgoliaSearch\AlgoliaConnectionException’ with a message ‘Hosts unreachable: Operation timed out after 1000 milliseconds with 0 out of 0 bytes received,Operation timed out after 30000 milliseconds with 0 bytes received,Operation timed out after 40000 milliseconds with 0 bytes received, Operation timed out after 40000 milliseconds with 0 bytes received’
Do you have any idea how to fix this issue ?
If you are having connectivity issues to the Algolia API, it could need some investigation:
- Are you aware of when these connectivity issues started?
- Has anything changed recently?
- Have you attempted to index a large quantity of records?
It appears that your server may not be able to contact the Algolia API. In order to confirm this, please run our diagnostic script command below on your impacted servers. Ensure that you replace “YourAlgoliaApplicationId” with your actual Algolia application id
curl -sL https://algolia.com/downloads/diag.sh > ./diag.sh && sudo ./diag.sh YourAlgoliaApplicationId
Please reply with the link generated by running this command. The output will give us more insight regarding the connection issues.
I faced the same issue, the problem with my queryset was that is was large, around 37 products were listed, thus search facility faced some difficulty, I deleted some my products and the API started working