cloud-py-api / app_api

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

Get 403 Forbidden error when connecting to docker socket proxy #329

Open ldy5413 opened 1 month ago

ldy5413 commented 1 month ago

I am trying to add the appapi in my nextcloud AIO but after enable the Docker Socket Proxy in master container, I cannot connect to it, the error message is like below

ClientException Client error: GET http://nextcloud-aio-docker-socket-proxy:2375/v1.41/_ping resulted in a 403 Forbidden response:

403 Forbidden

Request forbidden by administrative rules. Could not connect to Docker daemon

andrey18106 commented 1 month ago

Hi, @ldy5413!

What version of the Nextcloud AIO are you using? Is there any specific changes of configuration?

ldy5413 commented 1 month ago

Hi, @ldy5413!

What version of the Nextcloud AIO are you using? Is there any specific changes of configuration?

Hi @andrey18106 , my AIO version is 29.0.3, I host it locally and use a nginx reverse proxy before it. Then there should be no other specific changes of configuration.