AppAPI Deploy Daemon “not accessible” in Synology+Docker despite healthy container and curl OK
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
调研方向
从 AppAPI 配置面板和 issue 中描述的日志输出开始,然后将其连接尝试与对 /_ping 的成功 curl 请求进行比较。检查 Docker 命令、端口映射以及配置的 HaRP 服务器值。当此 Synology 和 Docker 配置的 Nextcloud 测试连接成功时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
After deploying AppAPI daemon via Docker under Synology, the daemon appears healthy in Portainer, responds correctly with curl using basic auth, but the Nextcloud
and test connection fails.
Steps/Code to Reproduce
What works
- curl -u app_api_haproxy_user:MI_CLAVE http://127.0.0.1:5013/_ping → OK
What fails
- Nextcloud always shows “Failed to connect to Daemon. Check logs”
- Logging (settings/admin/logging) shows:
- ConnectException cURL error 7: Failed to connect to 127.0.0.1 port 5013
- Deploy daemon "harp_proxy_host" is not accessible by Nextcloud...
What I’ve tried
- Verified every field and protocol, restarted containers, updated Nextcloud, tried from different browsers.
- AppAPI does not show updates in “Aplications”.
- Daemon and Nextcloud runs as root/http, no firewall blocks, Synology ports OK.
Suspected bug
- Similar to #153, but persists in new versions and not solved by changes or restarts.
- The shared key is correctly stored, proven by curl, but the panel cannot connect.
Steps to reproduce
- Deploy AppAPI daemon as above.
- Register and test in Nextcloud config panel using described fields.
- Observe error, although direct curl OK
Expected Results
Expected behavior
Daemon should be reachable for Nextcloud if curl from host is OK and daemon shown “healthy”.
Actual Results
admin panel always shows "Daemon not accessible"
Setup configuration
Versions
- Nextcloud version: 32.0.0
- AppAPI version: 3.2.3
- Daemon Docker image: ghcr.io/nextcloud/nextcloud-appapi-dsp:release
System details - Synology NAS (describe tu modelo), Docker, Portainer
- Nextcloud running in [Docker/native]
- Daemon command docker run -e NC_HAPROXY_PASSWORD="MI_CLAVE"
-v /var/run/docker.sock:/var/run/docker.sock
--name nextcloud-appapi-dsp
--restart unless-stopped --privileged
-p 5013:2375
-d ghcr.io/nextcloud/nextcloud-appapi-dsp:release - Daemon state: “healthy” in Portainer
Config in Nextcloud
- "Servidor HaRP": http://127.0.0.1:5013
- "Clave compartida": [same to daemon]
- "docker-install", net bridge
- 主要语言
- PHP
- 星标
- 202
- 派生
- 30
- 平均合并
- 3 天 20 小时
- 30 天内合并 PR
- 24
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/app_api 的其他 Issue
-
bug docker
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
deploy discussion
难度 5/5 一周以上 新手友好度 20/100
nextcloud/app_api#1236 · 1 个 reaction ·
维护者通常 1 天内回复
-
deploy docker enhancement
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
bug deploy docker
难度 4/5 3-5 天 新手友好度 42/100
维护者通常 1 天内回复
查看 nextcloud/app_api 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
Adyen/adyen-magento2#3453 ·
维护者通常 8 天内回复
-
component/media domain/discovery
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
enhancement priority: low
难度 2/5 1-3 小时 新手友好度 82/100
magicsunday/webtrees-statistics#664 ·
维护者通常 1 天内回复