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

未关闭
#1,588 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
gcp, mongodb, node.js, typescript

调研方向

从 TypeScript 客户端中的 saveObjects/saveObject 调用入手,检查 RetryError 在版本 5.23.2 中是如何报告的。将间歇性失败与附带的 GCP Cloud Run 日志进行比较;当确定了可复现的原因或明确的客户端失败条件,并记录或测试由此产生的修复时,即可视为完成。

由索引模型根据 Issue 内容生成。

描述

bug
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
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.
主要语言
TypeScript
星标
1.4k
派生
227
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

algolia/algoliasearch-client-javascript 的其他 Issue

查看 algolia/algoliasearch-client-javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。