Skip to content

Cannot connect my containers #367

@jzubizarreta

Description

@jzubizarreta

Hi!

First, thanks for this amazing proxy solution for tailscale.

I followed the documentation and added the TSDProxy container to my docker compose file, together with my other containers. However, I cannot access any of the containers using the XXX.XXXX.ts.net url. I tried both with and without funnel enabled as well.

Here is an example for one of my containers. I can see the zigbee2mqtt machine being generated in my tailscale machine list. However, I cannot access it and tried with both http and https. I also don's see certificates generated when using https. Do I need to generate them manually with tailscale cert?

  zigbee2mqtt:
    container_name: zigbee2mqtt
    image: ghcr.io/koenkk/zigbee2mqtt
    ports:
      - 8080:8080
    volumes:
      - <HOME>/zigbee2mqtt/data:/app/data
      - /run/udev:/run/udev:ro
    labels:
      tsdproxy.enable: true
      tsdproxy.name: zigbee2mqtt
      tsdproxy.scheme: https
    restart: unless-stopped

  tsdproxy:
    container_name: tsdproxy
    image: almeidapaulopt/tsdproxy:1
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - <HOME>/tsdproxy/data:/data
      - <HOME>/tsdproxy/config:/config
    ports:
      - 8081:8080
    restart: unless-stopped

In case it's useful, I see this error in the TSDProxy container logs:

http: TLS handshake error from <IP>:55394: 500 Internal Server Error: acme.GetReg: Get "https://acme-v02.api.letsencrypt.org/directory": dial tcp: lookup acme-v02.api.letsencrypt.org on 127.0.0.11:53: server misbehaving

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions