Skip to content

[BUG] 403 when try to connect from Portainer #33

Open
@lealoureiro

Description

@lealoureiro

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'm having an error when trying to connect to docker proxy from Portainer.

However allow the info endpoint in my docker-compose.

Expected Behavior

I should be allowed to call info endpoint from Portainer

Steps To Reproduce

URL configured in Portainer:

docker_socket_proxy_hs2:2375

And then trying to Connect to Docker host

Environment

- OS: Ubuntu 24.04
- How docker service was installed: distro's packamanager from Docker repos

Docker creation

services:
    docker_socket_proxy_hs2:
        container_name: docker_socket_proxy_hs2
        image: lscr.io/linuxserver/socket-proxy:3.0.10-r0-ls49
        networks:
            - homeserver-docker-internal
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock:ro
        environment:
            - CONTAINERS=1
            - INFO=1
            - NETWORKS=1
            - PING=1
            - VOLUMES=1
            - LOG_LEVEL=debug
        read_only: true
        tmpfs:
            - /run
networks:
    homeserver-docker-internal:
        external: true

Container logs

[08/May/2025:20:41:29.630] proxy proxy/<NOSRV> 0/-1/-1/-1/0 403 192 - - PR-- 2/2/0/0/0 0/0 "GET /v1.41/info HTTP/1.1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions