cloud-py-api / app_api

Nextcloud AppAPI
https://apps.nextcloud.com/apps/app_api
GNU Affero General Public License v3.0
57 stars 5 forks source link

401 Unauthorized on Test Deploy #291

Open jannis3005 opened 2 weeks ago

jannis3005 commented 2 weeks ago

Describe the bug

While trying to freshly setup AppApi im Stuck on the Test-Deploy. The Container can't reach nextcloud because of a 401 Unauthorized Error:

[401] Unauthorized <request: PUT /ocs/v1.php/apps/app_api/apps/status/test-deploy>

Steps/Code to Reproduce

  1. Install AppApi
  2. Setup Docker Socket Proxy
  3. Configure Daemon
  4. Test Deploy
  5. Wait for Container to Start
  6. Check Container Logs

Expected Results

PUT /ocs/v1.php/apps/app_api/apps/status/test-deploy should not fail

Actual Results

PUT /ocs/v1.php/apps/app_api/apps/status/test-deploy fails with 401 Unauthoriued

Setup configuration

app_api=2.6.0, nextcloud=29.0.0 using nextcloud-appapi-dsp