Hub agent - unable to get IP

Hi Guys,
My hub-agent container was working and now it started to show this error below. I've already deleted and recreated everything.

{"level":"error","workspace_id":"62bcbe0c0c303fa0e6b30dea","cluster_id":"10009b10-5124-489b-8093-b60f79db5604","edge_ingress_id":"638e05f37a6975170fbb2942","service_name":"bitwarden~bitwarden","service_network":"","error":": no IP address","time":1670252242,"message":"unable to get IP"}

this is my compose, it is pretty standard:
version: "3.9"
services:
hub-agent:
image: ghcr.io/traefik/hub-agent-traefik:v1.0.0
pull_policy: always
container_name: hub-agent
restart: "on-failure"
command:
- run
- --hub.token=
- --auth-server.advertise-url=http://hub-agent
- --traefik.host=traefik
- --traefik.tls.insecure=true

volumes:
  - /var/run/docker.sock:/var/run/docker.sock
depends_on:
  - traefik

traefik:
image: traefik:v2.8
container_name: traefik
command:
# Enable Hub communication (open the port 9900 and 9901 by default)
- --experimental.hub=true
- --hub.tls.insecure=true
- --metrics.prometheus.addrouterslabels=true

Anybody can help me with some direction to solve it?

Best Regards

Hello @gpnunes, it seems you're having the same issue reported here: Can't connect to whoami from documentation

1 Like