[GH-ISSUE #1098] All requests return 404 #1762

Closed
opened 2026-04-16 08:34:20 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @Mag329 on GitHub (Jul 19, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1098

Hello everyone!
I installed a fresh Pangolin version 1.7.3 using the official installation script.
Configured everything, the newt connector is connected and working.

Problem:
When accessing any proxied resource, I get a 404 error (404 page not found).
However, the Pangolin dashboard itself is working correctly and accessible.

Originally created by @Mag329 on GitHub (Jul 19, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/1098 Hello everyone! I installed a fresh Pangolin version 1.7.3 using the official installation script. Configured everything, the newt connector is connected and working. Problem: When accessing any proxied resource, I get a 404 error (404 page not found). However, the Pangolin dashboard itself is working correctly and accessible.
Author
Owner

@oschwartz10612 commented on GitHub (Jul 19, 2025):

Hum this sounds concerning!

Do you see anything in the logs that might indicate an issue? Are you using the domain from the domains page or from config/installer when you set it up?

<!-- gh-comment-id:3092472226 --> @oschwartz10612 commented on GitHub (Jul 19, 2025): Hum this sounds concerning! Do you see anything in the logs that might indicate an issue? Are you using the domain from the domains page or from config/installer when you set it up?
Author
Owner

@Mag329 commented on GitHub (Jul 19, 2025):

I am using the domain that was set during the installation through the script. The Pangolin dashboard loads normally when using this domain.

However, I checked the logs, and it seems that the problem is that Traefik cannot load badger plugin.

ERR Plugins are disabled because an error has occurred. error="unable to set up plugins environment: unable to download plugin github.com/fosrl/badger: failed to call service: Get \"https://plugins.traefik.io/public/download/github.com/fosrl/badger/v1.2.0\": GET https://plugins.traefik.io/public/download/github.com/fosrl/badger/v1.2.0 giving up after 4 attempt(s): Get \"https://plugins.traefik.io/public/download/github.com/fosrl/badger/v1.2.0\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)" plugins=["badger"]

It looks like my VPS is having access issues. plugins.traefik.io

ERR error="invalid middleware \"badger@http\" configuration: invalid middleware type or middleware does not exist" entryPointName=websecure routerName=1-router@http

Can the badger download error cause a 404 and how can I download the plugin manually?

<!-- gh-comment-id:3092484037 --> @Mag329 commented on GitHub (Jul 19, 2025): I am using the domain that was set during the installation through the script. The Pangolin dashboard loads normally when using this domain. However, I checked the logs, and it seems that the problem is that Traefik cannot load badger plugin. ``` ERR Plugins are disabled because an error has occurred. error="unable to set up plugins environment: unable to download plugin github.com/fosrl/badger: failed to call service: Get \"https://plugins.traefik.io/public/download/github.com/fosrl/badger/v1.2.0\": GET https://plugins.traefik.io/public/download/github.com/fosrl/badger/v1.2.0 giving up after 4 attempt(s): Get \"https://plugins.traefik.io/public/download/github.com/fosrl/badger/v1.2.0\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)" plugins=["badger"] ``` It looks like my VPS is having access issues. plugins.traefik.io ``` ERR error="invalid middleware \"badger@http\" configuration: invalid middleware type or middleware does not exist" entryPointName=websecure routerName=1-router@http ``` Can the badger download error cause a 404 and how can I download the plugin manually?
Author
Owner

@oschwartz10612 commented on GitHub (Jul 19, 2025):

Ahh yeah this might be causing it! Try to give it a restart one or two times. Sometimes traefik blocks the download of the plugin for various reasons. If it does not download properly then you could try "Local Mode" https://plugins.traefik.io/install

Let me know how it goes

<!-- gh-comment-id:3092499150 --> @oschwartz10612 commented on GitHub (Jul 19, 2025): Ahh yeah this might be causing it! Try to give it a restart one or two times. Sometimes traefik blocks the download of the plugin for various reasons. If it does not download properly then you could try "Local Mode" https://plugins.traefik.io/install Let me know how it goes
Author
Owner

@Mag329 commented on GitHub (Jul 19, 2025):

Installing on another VPS fixed the problem

Thanks for the help

<!-- gh-comment-id:3092501918 --> @Mag329 commented on GitHub (Jul 19, 2025): Installing on another VPS fixed the problem Thanks for the help
Author
Owner

@LeonvanHeerden commented on GitHub (Jul 27, 2025):

Sometimes traefik blocks the download of the plugin for various reasons.

It looks like this was, my issue. I restored my backup from last night and restarted just Traefik until it worked. There was an error in the Traefik logs showing that the Plugin souin could not be downloaded.
after a couple of restarts it worked.

Then I tried to add a new resource again and it again started with the dashboard not working.

Going through the Traefik resources config i found the possible mistake.

I added the new subdomain as pdf.example.com on the screen where it asks to enter the full domain. It showed the Subdomain: pdf below the full domain pdf.example.com.

The resource file contains

       91-router-auth-auth:
            entryPoints:
                - websecure
            middlewares:
                - badger@http
            priority: 100
            rule: "Host(`example.com`)"
            service: "91-service@http"
            tls:
                certResolver: "letsencrypt"

Is this not supposed to be pdf.example.com. it is not clashing with the live main domain of the site.

<!-- gh-comment-id:3124647482 --> @LeonvanHeerden commented on GitHub (Jul 27, 2025): > Sometimes traefik blocks the download of the plugin for various reasons. It looks like this was, my issue. I restored my backup from last night and restarted just Traefik until it worked. There was an error in the Traefik logs showing that the Plugin `souin` could not be downloaded. after a couple of restarts it worked. Then I tried to add a new resource again and it again started with the dashboard not working. Going through the Traefik resources config i found the possible mistake. I added the new subdomain as `pdf.example.com` on the screen where it asks to enter the full domain. It showed the `Subdomain: pdf` below the full domain `pdf.example.com`. The resource file contains ``` 91-router-auth-auth: entryPoints: - websecure middlewares: - badger@http priority: 100 rule: "Host(`example.com`)" service: "91-service@http" tls: certResolver: "letsencrypt" ``` Is this not supposed to be `pdf.example.com`. it is not clashing with the live main domain of the site.
Author
Owner

@oschwartz10612 commented on GitHub (Aug 6, 2025):

Yeah it should be thats strange. What version are you on?

Does it show correctly in the dashboard? Could you post a screenshot?

<!-- gh-comment-id:3161837962 --> @oschwartz10612 commented on GitHub (Aug 6, 2025): Yeah it should be thats strange. What version are you on? Does it show correctly in the dashboard? Could you post a screenshot?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#1762