AppAPI Deploy Daemon “not accessible” in Synology+Docker despite healthy container and curl OK

オープン
#674 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker, php
領域
api, backend, devops

調査の方向性

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

Image Image Image Image Image Image

and test connection fails.

Steps/Code to Reproduce

What works

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

  1. Deploy AppAPI daemon as above.
  2. Register and test in Nextcloud config panel using described fields.
  3. 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時間
マージ済み PR(30日)
24

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/app_api のほかの issue

nextcloud/app_api の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。