After added the Traefik real ip plugin, website showing 404 page not found

Hi Team,

We are using traefik for a while and for a new requirements we tried to add/install the traefik-real-ip plugin through helm. But After we added the plugin and added the middleware we are getting the "404 page not found" error. We used the following docs for adding the traefik real ip plugin:

https://pilot.traefik.io/plugins/605afbb0a5f67ab9a1b0e520/traefik-real-ip

our values.yaml:

additionalArguments:
  - "--ping"
  - "--ping.entrypoint=traefik"
  - "--log.level=DEBUG"

deployment:
  kind: DaemonSet

service:
  enabled: false

hostNetwork: true

securityContext:
  capabilities:
    add:
      - NET_BIND_SERVICE
  runAsNonRoot: false
  runAsUser: 0

ports:
  web:
    port: 80
    expose: true
    protocol: TCP
    exposePort: 80
  websecure:
    port: 443
    expose: true
    protocol: TCP
    exposePort: 443
  traefik:
    port: 9000
    expose: true
    protocol: TCP
    exposePort: 9000
  metrics:
    port: 9050
    expose: true
    protocol: TCP
    exposePort: 9050

tlsOptions:
  default:
    maxVersion: VersionTLS13
    minVersion: VersionTLS12
  maxtls12:
    maxVersion: VersionTLS12

pilot:
  token: 528xxxxx-xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxxxxx

experimental:
  plugins:
    traefik-real-ip:
      modulename: github.com/soulbalz/traefik-real-ip
      version: v1.0.3

our middleware.yaml:

apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: staging-my-defense-traefik-real-ip
  namespace: portal
spec:
  plugin:
    traefik-real-ip:
      excludednets:
        - "1.1.1.1/24"

Can someone please have look at this and what we have missed here?

Hi all,

Can someone please have a look at this?

Regards,
Stuart

Hello @stuartm21,

Can you provide all DEBUG logs you have ? It can help in debugging your issue :smiley:

@tommoulard
Thanks for the response.

I have installed the traefik through helm(above values.yaml), but after installed traefik, I was described the pod and I couldn't find any details related to real-ip plugin. So I am suspecting the installation is not proper? Can you guide me to what I did is correct or not?