Problem with FAQ I want to reverse proxy an application which defaults to https with a self-signed certificate

Hello,

I’m trying to install the Unifi Controller. I followed your FAQ and created a serversTransport called ignorecert and then configured the service to point to it.

But I’m getting this error:

msg="servers transport not found ignorecert@docker" entryPointName=websecure routerName=unifi@docker

So, it seems the router is looking for a serversTransport called ignorecert@docker instead of looking for ignorecert which is the one I declared.

What am I doing wrong? How can this be solved?

Thanks in advance.

And yet, I am unable to find serversTransports in the webgui so I have no way to confirm that my ignorecert was inded created.

This is the part of my Traefik configuration where I declare it:

[http]
  [http.services]
    [http.services.noop.loadBalancer]
      [[http.services.noop.loadBalancer.servers]]
        url = "http://127.0.0.1/"

  [http.middlewares]
    [http.middlewares.httpsRedirect.redirectScheme]
      scheme = "https"

  [http.routers]
    [http.routers.common]
      rule = "HostRegexp(`{host:.+}`)"
      service = "noop"
      entryPoints = ["web"]
      middlewares = ["httpsRedirect"]

  [http.serversTransports]
    [http.serversTransports.ignorecert]
      insecureSkipVerify = true

I assume it is ok because I don’t see an error in the logs but I can’t find ignorecert in the webgui interface.

We only support our reverse proxy, SWAG. You’re welcome to seek best effort help with other proxies in #other-support on our discord.

I did try to join the Discord before but the invite in the footer of the linuxserver.io site is invalid and I couldn’t find a valid one. Can someone help me get a valid invite? Thanks.

the one on our site worked for me… you can try this one
Discord

Indeed it works. But if I click on it it says invalid. I had to add it directly in the Discord app and then it worked. Thanks. I will ask for help there.

for anyone who stumbles upon this, nununo came to discord and solved their issue. See below or use this link link Discord

[4:41 PM]nununo:

Hello, I’m trying to install the Unifi Controller with Traefik. I created a serversTransport called ignorecert and then configured the service to point to it like explained in the FAQ (Frequently Asked Questions - LinuxServer.io). But I’m getting this error:

msg=“servers transport not found ignorecert@docker” entryPointName=websecure routerName=unifi@docker

So, it seems Traefik is looking for a serversTransport called ignorecert@docker instead of looking for ignorecert which is the one I declared. What am I doing wrong? How can this be solved? Does anyone know? (edited)

[4:53 PM]Spad:

If you are defining the serverstransport in a file rather than a container label then you need to include the namespace in the middleware name when you call it, e.g. ignorecert@file

[5:22 PM]nununo:

oh my! That’s it! It works now! THANK YOU!

link to the discord chat itself: Discord

Thank you @driz!

1 Like

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