Closed dipinsonwani closed 2 years ago
I don't completely understand but looking at algolia.js
, I am curious if algolia app id and keys are being set. Can you verify by console.log out your algolia app id?
Yes I have set app Id and API key directly. I have removed in this code for security. As all the search functions are working including index getting updated.
Can you also open a ticket with Firebase? This could be a configuration issue.
Yes I will do that
if I remember it correctly you also get this error if not on the blaze plan on firebase, as it blocks outgoing requests, is that possible in your case?
hey @dipinsonwani, did the Firebase team provide any directions or help to resolve your issue?
When I deploy the algolia search in my app it works really well. But the other cloud functions which I have deployed works only when algolia search is not deployed. I get the following error in the logs Unreachable hosts - your application id may be incorrect.
My application Id is correct and I am using the firebase blaze plan.
Version: "algoliasearch": "^4.11.0",
"express": "^4.17.2",
"firebase-admin": "^9.12.0",
"firebase-functions": "^3.16.0", Sharing my code below
algolia.js
index.js