weather_service agent binds Uvicorn on :8001 despite PORT=8000 / containerPort 8000
维护者通常 6 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 a2a/weather_service 入口点开始,跟踪 agent 如何选择其 Uvicorn 绑定端口。使用 PORT=8000 运行它,并检查启动日志。当 Uvicorn 报告端口 8000,且该端口与 Sandbox 的 containerPort 和 service target port 匹配时,即完成。
由索引模型根据 Issue 内容生成。
描述
Summary
The a2a/weather_service agent, when deployed via the Rossoctl UI (Sandbox workload), logs:
INFO: Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)
...even though the Sandbox pod spec sets PORT=8000 (env) and containerPort: 8000, and the service maps to target port 8000.
Impact
Low — it works in practice (readiness/health probes pass through the AuthBridge sidecar, and the app is reachable). But it's a mismatch: the app appears to ignore the PORT env var (or offset it by one), which is confusing when debugging and could bite a setup that relies on the app honoring PORT.
Expected
The agent should bind the port given by the PORT env var (8000), matching containerPort and the service target port.
Environment
- Kind on macOS, deployed via Rossoctl UI, image
weather-service:v0.0.1built froma2a/weather_service@ main. - Observed while running the AuthBridge weather-agent demo.
Assisted-By: Claude (Anthropic AI) [email protected]
- 主要语言
- Python
- 星标
- 11
- 派生
- 42
- 平均合并
- 4 天 11 小时
- 30 天内合并 PR
- 40
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rossoctl/examples 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 70/100
维护者通常 6 天内回复
-
难度 3/5 半天 新手友好度 62/100
维护者通常 6 天内回复
-
难度 4/5 3-5 天 新手友好度 68/100
维护者通常 6 天内回复
-
kind/bug
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 6 天内回复
-
kind/bug
难度 4/5 3-5 天 新手友好度 42/100
维护者通常 6 天内回复
查看 rossoctl/examples 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 72/100
aws-samples/sample-per-model-bedrock#261 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
pwncollege/dojo#1188 ·
维护者通常 1 天内回复
-
bug launcher packaging
难度 1/5 1 小时以内 新手友好度 88/100
tenstorrent/tt-studio#1426 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
python-attrs/cattrs#796 ·
维护者通常 1 天内回复