Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

investigate why nginx stops connecting to upstreams

未关闭
#449 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
aws, nginx

调研方向

从 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,通用步骤见我们的新手贡献指南。

从这里开始

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

ooni/devops 的其他 Issue

查看 ooni/devops 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

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