algolia / algolia/algoliasearch-client-javascript

[bug]: RetryError: Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team

Open
#1,588 0 comments 3 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
1.4k
Forks
226
PR merge metrics
No merged PRs in 30d

Description

### Description

I have a Node.js service which detects any change in database via mongodb change stream and then those updates are sent to Algolia. The data is being uploaded to algolia using saveObjects/saveObject and most of the times it works - but sometimes it starts throwing "RetryError: Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team" even though the previous request has passed a few seconds before. This service is hosted on GCP Cloud Run. Attaching some screenshot of code and logs from GCP.

Code:

Image

Image

Log from GCP:

Image

### Client

Search

### Version

5.23.2

### Relevant log output

```shell
RetryError: Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.