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

Offen
#674 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
docker, php
Bereich
api, backend, devops

Rechercherichtung

Beginne mit dem AppAPI-Konfigurationsbereich und der im Issue beschriebenen Logging-Ausgabe und vergleiche anschließend dessen Verbindungsversuch mit der erfolgreichen curl-Anfrage an /_ping. Überprüfe den Docker-Befehl, das Port-Mapping und den konfigurierten HaRP-Serverwert. Erledigt ist die Aufgabe, wenn die Nextcloud-Testverbindung für dieses Synology- und Docker-Setup erfolgreich ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
PHP
Sterne
202
Forks
30
Ø Merge
3 T. 20 Std.
Gemergte PRs (30 T.)
24

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus nextcloud/app_api

Alle Issues in nextcloud/app_api

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.