Something wrong with the latest version of Traefik

Hi all,

I've been using Traefik for years now. This morning i updated traefik from v2.3 to the latest docker image and one of my reverse proxies (HomeAssistant is behind it) stopped working. I'm getting the following error in Chrome now:

When i downgrade traefik to v2.3 it all works again and the error disappears.

This is the config I use:

global:
  checkNewVersion: true
  sendAnonymousUsage: false
  
serversTransport:
  insecureSkipVerify: true

entryPoints:
  https:
    address: :443

providers:
  providersThrottleDuration: 2s
  file:
    filename: "/etc/traefik/traefik.yml"

log:
  level: WARN
  format: json
  filePath: "/logs/traefik.log.json"
accessLog:
  format: json
  filePath: "/logs/accessLogs.log.json"

certificatesResolvers:
  letsencrypt:
    acme:
      email: removed@domain.com
      storage: "/etc/traefik/acme.json"
      dnsChallenge:
        provider: cloudflare
        delayBeforeCheck: 0

http:
  routers:
    home:
      rule: "Host(`home.domain.com`)"
      tls:
        certResolver: letsencrypt
      service: home@file
      entryPoints:
      - https
      middlewares:
      - referrerPolicy
      - compress
      - ipWhitelisting

  middlewares:
    referrerPolicy:
      headers:
        referrerPolicy: "no-referrer"
    compress:
      compress: {}
    ipWhitelisting:
      ipWhiteList:
        sourceRange:
        - 173.245.48.0/20
        - 103.21.244.0/22
        - 103.22.200.0/22
        - 103.31.4.0/22
        - 141.101.64.0/18
        - 108.162.192.0/18
        - 190.93.240.0/20
        - 188.114.96.0/20
        - 197.234.240.0/22
        - 198.41.128.0/17
        - 162.158.0.0/15
        - 104.16.0.0/12
        - 172.64.0.0/13
        - 131.0.72.0/22
        - 192.168.0.0/19
        - 192.168.32.0/24
        - 192.168.33.0/24

  services:
    home:
      loadBalancer:
        passHostHeader: true
        servers:
          - url: http://192.168.0.12:8123

Is this a bug in the latest version?

Hello,

the current latest image is v2.2, because the v2.3 is in the RC phase.

Are you using v2.2 or v2.3?

I think that your are using v2.2.10, The issue has been detected https://github.com/containous/traefik/issues/7250

I created a fix https://github.com/containous/traefik/pull/7252

Ah perfect! By default i'm using "latest" as image tag (this one doesnt work right now). When I change it to v2.3 it works.

I havent tried any other versions. What is the best version to use at this point? and any idea when your fix will be included in the new "latest" tag on Docker Hub?

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