Traefik Hub on Synology

Hello,
I installed traefik / hub-agent using docker commands on a synology NAS.
I then added the containous/whoami, hub agent saw the service, I published it, and could see that working.
Any other site I add seem to end up with a 404 not found page.

I vaguely remember playing with containous/whoami some time ago so might have made a config setting that I have forgotten about.

Anyone know what additional steps are needed on a DSM 7 Synology NAS to route the requests from the web page https://.....ay447a.b3quq7vu.traefikhub.io via Traefik into a docker container on the same NAS.

I tried publishing traefik : 80 and hub-agent : 80 but these both result in a 404 page.

Steve

Hi @stevegroom, thanks for your interest in Traefik Hub!

What do you mean exactly?
Could you describe what you are trying to do?

Thank you!

From https://hub.traefik.io/agents -> connect a new agent.
Choose the docker option.
Open terminal to Synology NAS, su as root.
mkdir /volume1/docker/traefik
cd /volume1/docker/traefik
copy the proposed docker commands and execute under root.
I also deployed containous/whoami

traefik, hub and whoami are all shown as running on https://hub.traefik.io/dashboard .
I clicked on publish - no errors.
I can now open whoami but the other two give 404 not found.

regards
Steve

Hi @stevegroom if you check in the Hub UI, can you see the services you want to connect under services overview?

Did you check the network settings? Are the other services connected to the network of Traefik and the Hub agent?

The hub UI discovers every service that I add.

The synology docker app shows each container is connected to both traefik_traefik_hub and bridge networks.

I think I’m missing something on Synology to publish the docker container’s hostname or ports but have no experience with the platform and no luck yet in finding a guide on the topic.

Steve

@stevegroom
A couple of questions:

  • Do you use Docker or Docker Compose?
  • Could you run the Traefik Hub Agent in DEBUG mode and post the output?
  • Could post a picture of the service overview in the Hub UI and a service (in the Hub UI) you're trying to reach (see the example picture)

Hi,
I tried with docker and docker-compose - same results.

image

image

image

image

I reckon the issue is in Synology Docker / Web Station
For whoami the Web Station was checked

And for the others it was not. I tried to set the others on and then Web Station shows this:

BUT once these are created in Web Station there does not seem to be any way to edit or remove them.

I have to look up how to enable debug mode for hub agent.

When you start the Hub Agent with Docker add --log.level=DEBUG, see the example below:

# Launch the Hub Agent for Traefik
docker run -d  --volume /var/run/docker.sock:/var/run/docker.sock \
--restart="on-failure" \
--log.level=DEBUG
--network=traefik-hub \
--pull=always \
--name=hub-agent ghcr.io/traefik/hub-agent-traefik:v1.1.0 run \
--auth-server.advertise-url=http://hub-agent \
--hub.token=MyTOKEN \
--traefik.host=traefik \
--traefik.tls.insecure=true  

This will print the DEBUG output into your CLI

Thank you for this.
On DSM 7 the parameter cannot be directly changed. I exported the container settings as hub-agent.json, added the --log parameter to the cmd and tried to re-upload it. Re-upload does not work directly, as the named container exists. Renamed the existing container, imported the hub-agent.json and started it.

The agent status turned red, and after a while I had to click on publish.

I tried to connect to hub agent a couple of times - still the same 404.

{"level":"info","version":"v1.1.0","module":"github.com/traefik/hub-agent-traefik","commit":"e5fd164","built":"2023-03-31_07:06:49AM","go_version":"go1.20.2","os":"linux","arch":"amd64","time":1680632759,"caller":"github.com/traefik/hub-agent-traefik/pkg/version/version.go:94"}
{"level":"debug","component":"traefik_client","method":"GET","url":"https://traefik:9900/state","time":1680632759,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"info","addr":"http://hub-agent","time":1680632759,"caller":"github.com/traefik/hub-agent-traefik/cmd/agent/run.go:242","message":"Using Agent reachable address"}
{"level":"debug","component":"platform-client","method":"POST","url":"https://platform.hub.traefik.io/agent/link","time":1680632759,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"platform-client","method":"GET","url":"https://platform.hub.traefik.io/agent/config","time":1680632760,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"info","addr":"0.0.0.0:80","time":1680632760,"caller":"github.com/traefik/hub-agent-traefik/pkg/acp/server.go:82","message":"Starting auth server"}
{"level":"debug","component":"tunnel-client","method":"GET","url":"https://platform.hub.traefik.io/agent/tunnel-endpoints","time":1680632760,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"alerting_client","method":"GET","url":"https://platform.hub.traefik.io/agent/rules","time":1680632760,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"metrics_client","method":"GET","url":"https://platform.hub.traefik.io/agent/data","time":1680632760,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/edge-ingresses","time":1680632760,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"platform-client","method":"GET","url":"https://platform.hub.traefik.io/agent/topology","time":1680632760,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"platform-client","method":"PATCH","url":"https://platform.hub.traefik.io/agent/topology","time":1680632760,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/acps","time":1680632760,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"traefik_client","method":"GET","url":"https://traefik:9900/metrics","time":1680632760,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"certificate-client","method":"GET","url":"https://platform.hub.traefik.io/agent/wildcard-certificate","time":1680632760,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"error","workspace_id":"62ed31019979e32719cc6275","cluster_id":"34e019d7-f495-48fc-8fc3-d1c6049eadf1","edge_ingress_id":"642aac8c3c595440bf9ff6c1","service_name":"traefik~hub-agent","service_network":"traefik_traefik-hub","error":"Error: No such container: /traefik~hub-agent","time":1680632761,"caller":"github.com/traefik/hub-agent-traefik/cmd/agent/edge.go:97","message":"unable to get IP"}
{"level":"debug","component":"traefik_client","method":"POST","url":"https://traefik:9900/config","time":1680632761,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","acp_name":"basic-auth","acp_type":"Basic Auth","time":1680632761,"caller":"github.com/traefik/hub-agent-traefik/pkg/acp/server.go:122","message":"Registering ACP handler"}
{"level":"debug","component":"tunnel-client","method":"GET","url":"https://platform.hub.traefik.io/agent/tunnel-endpoints","time":1680632820,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/edge-ingresses","time":1680632820,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/acps","time":1680632820,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"certificate-client","method":"GET","url":"https://platform.hub.traefik.io/agent/wildcard-certificate","time":1680632820,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"error","workspace_id":"62ed31019979e32719cc6275","cluster_id":"34e019d7-f495-48fc-8fc3-d1c6049eadf1","edge_ingress_id":"642aac8c3c595440bf9ff6c1","service_name":"traefik~hub-agent","service_network":"traefik_traefik-hub","error":"Error: No such container: /traefik~hub-agent","time":1680632820,"caller":"github.com/traefik/hub-agent-traefik/cmd/agent/edge.go:97","message":"unable to get IP"}
{"level":"debug","component":"traefik_client","method":"POST","url":"https://traefik:9900/config","time":1680632820,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","acp_name":"basic-auth","acp_type":"Basic Auth","time":1680632820,"caller":"github.com/traefik/hub-agent-traefik/pkg/acp/server.go:122","message":"Registering ACP handler"}
{"level":"debug","count":0,"time":1680632820,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:153","message":"Checking alerts to send"}
{"level":"debug","component":"alerting_client","method":"POST","url":"https://platform.hub.traefik.io/agent/preflight","time":1680632820,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"metrics_client","method":"POST","url":"https://platform.hub.traefik.io/agent/metrics","time":1680632820,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"traefik_client","method":"GET","url":"https://traefik:9900/metrics","time":1680632820,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","count":0,"time":1680632820,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:161","message":"Sending alerts"}
{"level":"debug","component":"tunnel-client","method":"GET","url":"https://platform.hub.traefik.io/agent/tunnel-endpoints","time":1680632880,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/edge-ingresses","time":1680632880,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/acps","time":1680632880,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"certificate-client","method":"GET","url":"https://platform.hub.traefik.io/agent/wildcard-certificate","time":1680632880,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"error","workspace_id":"62ed31019979e32719cc6275","cluster_id":"34e019d7-f495-48fc-8fc3-d1c6049eadf1","edge_ingress_id":"642aac8c3c595440bf9ff6c1","service_name":"traefik~hub-agent","service_network":"traefik_traefik-hub","error":"Error: No such container: /traefik~hub-agent","time":1680632880,"caller":"github.com/traefik/hub-agent-traefik/cmd/agent/edge.go:97","message":"unable to get IP"}
{"level":"debug","component":"traefik_client","method":"POST","url":"https://traefik:9900/config","time":1680632880,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","acp_name":"basic-auth","acp_type":"Basic Auth","time":1680632880,"caller":"github.com/traefik/hub-agent-traefik/pkg/acp/server.go:122","message":"Registering ACP handler"}
{"level":"debug","count":0,"time":1680632880,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:153","message":"Checking alerts to send"}
{"level":"debug","component":"alerting_client","method":"POST","url":"https://platform.hub.traefik.io/agent/preflight","time":1680632880,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"traefik_client","method":"GET","url":"https://traefik:9900/metrics","time":1680632880,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","count":0,"time":1680632880,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:161","message":"Sending alerts"}
{"level":"debug","component":"metrics_client","method":"POST","url":"https://platform.hub.traefik.io/agent/metrics","time":1680632880,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/edge-ingresses","time":1680632940,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"tunnel-client","method":"GET","url":"https://platform.hub.traefik.io/agent/tunnel-endpoints","time":1680632940,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/acps","time":1680632940,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"certificate-client","method":"GET","url":"https://platform.hub.traefik.io/agent/wildcard-certificate","time":1680632940,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"error","workspace_id":"62ed31019979e32719cc6275","cluster_id":"34e019d7-f495-48fc-8fc3-d1c6049eadf1","edge_ingress_id":"642aac8c3c595440bf9ff6c1","service_name":"traefik~hub-agent","service_network":"traefik_traefik-hub","error":"Error: No such container: /traefik~hub-agent","time":1680632940,"caller":"github.com/traefik/hub-agent-traefik/cmd/agent/edge.go:97","message":"unable to get IP"}
{"level":"debug","component":"traefik_client","method":"POST","url":"https://traefik:9900/config","time":1680632940,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","acp_name":"basic-auth","acp_type":"Basic Auth","time":1680632940,"caller":"github.com/traefik/hub-agent-traefik/pkg/acp/server.go:122","message":"Registering ACP handler"}
{"level":"debug","count":0,"time":1680632940,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:153","message":"Checking alerts to send"}
{"level":"debug","component":"alerting_client","method":"POST","url":"https://platform.hub.traefik.io/agent/preflight","time":1680632940,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"traefik_client","method":"GET","url":"https://traefik:9900/metrics","time":1680632940,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","count":0,"time":1680632940,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:161","message":"Sending alerts"}
{"level":"debug","component":"metrics_client","method":"POST","url":"https://platform.hub.traefik.io/agent/metrics","time":1680632940,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/edge-ingresses","time":1680633000,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"tunnel-client","method":"GET","url":"https://platform.hub.traefik.io/agent/tunnel-endpoints","time":1680633000,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/acps","time":1680633000,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"certificate-client","method":"GET","url":"https://platform.hub.traefik.io/agent/wildcard-certificate","time":1680633000,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"error","workspace_id":"62ed31019979e32719cc6275","cluster_id":"34e019d7-f495-48fc-8fc3-d1c6049eadf1","edge_ingress_id":"642aac8c3c595440bf9ff6c1","service_name":"traefik~hub-agent","service_network":"traefik_traefik-hub","error":"Error: No such container: /traefik~hub-agent","time":1680633000,"caller":"github.com/traefik/hub-agent-traefik/cmd/agent/edge.go:97","message":"unable to get IP"}
{"level":"debug","component":"traefik_client","method":"POST","url":"https://traefik:9900/config","time":1680633000,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","acp_name":"basic-auth","acp_type":"Basic Auth","time":1680633000,"caller":"github.com/traefik/hub-agent-traefik/pkg/acp/server.go:122","message":"Registering ACP handler"}
{"level":"debug","count":0,"time":1680633000,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:153","message":"Checking alerts to send"}
{"level":"debug","component":"alerting_client","method":"POST","url":"https://platform.hub.traefik.io/agent/preflight","time":1680633000,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"traefik_client","method":"GET","url":"https://traefik:9900/metrics","time":1680633000,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","count":0,"time":1680633000,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:161","message":"Sending alerts"}
{"level":"debug","component":"metrics_client","method":"POST","url":"https://platform.hub.traefik.io/agent/metrics","time":1680633000,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/edge-ingresses","time":1680633060,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"tunnel-client","method":"GET","url":"https://platform.hub.traefik.io/agent/tunnel-endpoints","time":1680633060,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"platform-client","method":"POST","url":"https://platform.hub.traefik.io/agent/ping","time":1680633060,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/acps","time":1680633060,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"certificate-client","method":"GET","url":"https://platform.hub.traefik.io/agent/wildcard-certificate","time":1680633060,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"error","workspace_id":"62ed31019979e32719cc6275","cluster_id":"34e019d7-f495-48fc-8fc3-d1c6049eadf1","edge_ingress_id":"642aac8c3c595440bf9ff6c1","service_name":"traefik~hub-agent","service_network":"traefik_traefik-hub","error":"Error: No such container: /traefik~hub-agent","time":1680633060,"caller":"github.com/traefik/hub-agent-traefik/cmd/agent/edge.go:97","message":"unable to get IP"}
{"level":"debug","component":"traefik_client","method":"POST","url":"https://traefik:9900/config","time":1680633060,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","acp_name":"basic-auth","acp_type":"Basic Auth","time":1680633060,"caller":"github.com/traefik/hub-agent-traefik/pkg/acp/server.go:122","message":"Registering ACP handler"}
{"level":"debug","count":0,"time":1680633060,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:153","message":"Checking alerts to send"}
{"level":"debug","component":"alerting_client","method":"POST","url":"https://platform.hub.traefik.io/agent/preflight","time":1680633060,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"traefik_client","method":"GET","url":"https://traefik:9900/metrics","time":1680633060,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","count":0,"time":1680633060,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:161","message":"Sending alerts"}
{"level":"debug","component":"metrics_client","method":"POST","url":"https://platform.hub.traefik.io/agent/metrics","time":1680633060,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/edge-ingresses","time":1680633120,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"tunnel-client","method":"GET","url":"https://platform.hub.traefik.io/agent/tunnel-endpoints","time":1680633120,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/acps","time":1680633120,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"certificate-client","method":"GET","url":"https://platform.hub.traefik.io/agent/wildcard-certificate","time":1680633120,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"error","workspace_id":"62ed31019979e32719cc6275","cluster_id":"34e019d7-f495-48fc-8fc3-d1c6049eadf1","edge_ingress_id":"642aac8c3c595440bf9ff6c1","service_name":"traefik~hub-agent","service_network":"traefik_traefik-hub","error":"Error: No such container: /traefik~hub-agent","time":1680633120,"caller":"github.com/traefik/hub-agent-traefik/cmd/agent/edge.go:97","message":"unable to get IP"}
{"level":"debug","component":"traefik_client","method":"POST","url":"https://traefik:9900/config","time":1680633120,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","acp_name":"basic-auth","acp_type":"Basic Auth","time":1680633120,"caller":"github.com/traefik/hub-agent-traefik/pkg/acp/server.go:122","message":"Registering ACP handler"}
{"level":"debug","count":0,"time":1680633120,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:153","message":"Checking alerts to send"}
{"level":"debug","component":"alerting_client","method":"POST","url":"https://platform.hub.traefik.io/agent/preflight","time":1680633120,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"traefik_client","method":"GET","url":"https://traefik:9900/metrics","time":1680633120,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","count":0,"time":1680633120,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:161","message":"Sending alerts"}
{"level":"debug","component":"metrics_client","method":"POST","url":"https://platform.hub.traefik.io/agent/metrics","time":1680633121,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/edge-ingresses","time":1680633180,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"tunnel-client","method":"GET","url":"https://platform.hub.traefik.io/agent/tunnel-endpoints","time":1680633180,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/acps","time":1680633180,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"certificate-client","method":"GET","url":"https://platform.hub.traefik.io/agent/wildcard-certificate","time":1680633180,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"error","workspace_id":"62ed31019979e32719cc6275","cluster_id":"34e019d7-f495-48fc-8fc3-d1c6049eadf1","edge_ingress_id":"642aac8c3c595440bf9ff6c1","service_name":"traefik~hub-agent","service_network":"traefik_traefik-hub","error":"Error: No such container: /traefik~hub-agent","time":1680633180,"caller":"github.com/traefik/hub-agent-traefik/cmd/agent/edge.go:97","message":"unable to get IP"}
{"level":"debug","component":"traefik_client","method":"POST","url":"https://traefik:9900/config","time":1680633180,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","acp_name":"basic-auth","acp_type":"Basic Auth","time":1680633180,"caller":"github.com/traefik/hub-agent-traefik/pkg/acp/server.go:122","message":"Registering ACP handler"}
{"level":"debug","count":0,"time":1680633180,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:153","message":"Checking alerts to send"}
{"level":"debug","component":"alerting_client","method":"POST","url":"https://platform.hub.traefik.io/agent/preflight","time":1680633180,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"traefik_client","method":"GET","url":"https://traefik:9900/metrics","time":1680633180,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","count":0,"time":1680633180,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:161","message":"Sending alerts"}
{"level":"debug","component":"metrics_client","method":"POST","url":"https://platform.hub.traefik.io/agent/metrics","time":1680633181,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/edge-ingresses","time":1680633240,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"tunnel-client","method":"GET","url":"https://platform.hub.traefik.io/agent/tunnel-endpoints","time":1680633240,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"edge-client","method":"GET","url":"https://platform.hub.traefik.io/agent/acps","time":1680633240,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"certificate-client","method":"GET","url":"https://platform.hub.traefik.io/agent/wildcard-certificate","time":1680633240,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"error","workspace_id":"62ed31019979e32719cc6275","cluster_id":"34e019d7-f495-48fc-8fc3-d1c6049eadf1","edge_ingress_id":"642aac8c3c595440bf9ff6c1","service_name":"traefik~hub-agent","service_network":"traefik_traefik-hub","error":"Error: No such container: /traefik~hub-agent","time":1680633240,"caller":"github.com/traefik/hub-agent-traefik/cmd/agent/edge.go:97","message":"unable to get IP"}
{"level":"debug","component":"traefik_client","method":"POST","url":"https://traefik:9900/config","time":1680633240,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","acp_name":"basic-auth","acp_type":"Basic Auth","time":1680633240,"caller":"github.com/traefik/hub-agent-traefik/pkg/acp/server.go:122","message":"Registering ACP handler"}
{"level":"debug","count":0,"time":1680633240,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:153","message":"Checking alerts to send"}
{"level":"debug","component":"alerting_client","method":"POST","url":"https://platform.hub.traefik.io/agent/preflight","time":1680633240,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","component":"traefik_client","method":"GET","url":"https://traefik:9900/metrics","time":1680633240,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}
{"level":"debug","count":0,"time":1680633240,"caller":"github.com/traefik/hub-agent-traefik/pkg/alerting/manager.go:161","message":"Sending alerts"}
{"level":"debug","component":"metrics_client","method":"POST","url":"https://platform.hub.traefik.io/agent/metrics","time":1680633241,"caller":"github.com/hashicorp/go-retryablehttp@v0.7.2/client.go:587","message":"Performing request"}

I'm not sure if this log is valid or I have to completely re-deploy traefik and hub-agent.

Steve

Hey @stevegroom

Having Web Station in between makes it a bit harder to debug.
Currently, it is hard to say where the issue is located.
Do you have another way to run Docker?

I dropped everything that was running on the Synology and tried a setup on an ancient NUC running ubuntu.
With this setup I quickly got two web sites running and published. :slight_smile: However publishing the traefik port still gives a 404 - I wonder if the traefik docker command needs extra parameters to enable the dashboard.

Although the test is working, it's running on hardware that I have to retire - so I will have to return to the Synology sever sooner or later.

regards

Could you explain a bit more what you're trying to do here?

Yes, but know you know that it is somehow related to Web Station :smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.