"No entryPoint defined for this router..." Why tho?

Hi :slight_smile:

I am currently migrating from Traefik1 to Traefik2 and have a question regarding the entrypoint router thingy:

I set an entrypoint for the dashboard in my dynamic conf, but it says in the logfile:

"No entryPoint defined for this router, using the default one(s) instead: [traefik-dash web web-https]" >routerName=api@file

What am I missing?

Thanks!

My static conf:

## static configuration
# traefik.yml

entryPoints:
  web:
    address: ":80"

  web-https:
    address: ":443"

  traefik-dash:
    address: ":8383"

log:
  level: DEBUG

certificatesResolvers:
  sample:
    acme:
      email: .......
      storage: acme.json
      httpChallenge:
        # used during the challenge
        entryPoint: web

api: {}

providers:
  file:
    directory: /etc/traefik/

And my dynamic conf:

http:
  routers:
    api:
      rule: Host(`10.71.16.135`)
      entrypoints:
        - "traefik-dash"
      service: api@internal
      middlewares:
        - myAuth
      tls: {}

  middlewares:
    myAuth:
      basicAuth:
        users:
          - 'test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/'

Hello,

YAML is case sensitive, so entryPoints instead of entrypoints.

1 Like

Well, thank you very much! That was easy :sweat_smile: