investigate why nginx stops connecting to upstreams
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- aws, nginx
- 领域
- devops, infrastructure
调研方向
从 backend-fsn 的 nginx 日志和报告中的上游 ooniprobe.prod.ooni.io 开始,然后将 nginx 上游配置与 ECS 服务健康状况及直接 curl 结果进行比较。当确定 no-live-upstreams 错误的原因,并记录可复现的解释或运维修复方案后,工作即告完成。
由索引模型根据 Issue 内容生成。
描述
We noticed that incoming measurements slowed and clients were seeing 400 errors when submitting reports.
I didn't see any issues on the ECS services, but backend-fsn nginx logs showed that it was unable to reach the api endpoint.
However, requests made from backend-fsn had no issues (using curl).
I reloaded nginx and resolved the issue. What I don't know is why this occurred.
Jul 06 08:29:46 backend-fsn.ooni.org nginx[1046013]: backend-fsn.ooni.org ooniapi: xxx 0.0.0.0 - [06/Jul/2026:08:29:46 +0000] "POST /report HTTP/2.0" 502 snt:157 rt:0.000 uprt:0.000 "-" "miniooni/3.24.0 ooniprobe-engine/3.24.0"
Jul 06 08:29:46 backend-fsn.ooni.org nginx[1046013]: backend-fsn.ooni.org ooniapi: xxx 0.0.0.0 MISS [06/Jul/2026:08:29:46 +0000] "GET /api/v1/test-helpers HTTP/2.0" 200 snt:249 rt:0.002 uprt:0.004 "-" "ooniprobe-android-unattended/6.0.2 ooniprobe-engine/3.29.0"
Jul 06 08:29:46 backend-fsn.ooni.org nginx[1046013]: backend-fsn.ooni.org ooniapi: 2026/07/06 08:29:46 [error] 1046013#1046013: *152004051 no live upstreams while connecting to upstream, client: xxx, server: _, request: "POST /report HTTP/2.0", upstream: "https://ooniprobe.prod.ooni.io/report", host: "api.ooni.io"```
- 主要语言
- HCL
- 星标
- 4
- 派生
- 15
- 平均合并
- 3 天 1 小时
- 30 天内合并 PR
- 9
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ooni/devops 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 58/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 48/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
bluesky-social/indigo#1496 ·
维护者通常 2 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 74/100
GoogleCloudPlatform/cluster-toolkit#6437 ·
维护者通常 2 天内回复
-
Code Cleanup Dev Environment
难度 2/5 1-3 小时 新手友好度 78/100
ProjectSidewalk/SidewalkWebpage#5699 ·
维护者通常 1 天内回复
-
area/install documentation good first issue
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
ready-for-agent
难度 2/5 1-3 小时 新手友好度 85/100
LucasSantana-Dev/Lucky#2698 ·
维护者通常 1 天内回复