middleware specified at entrypoint #46
Replies: 4 comments 18 replies
|
Thanks for reporting this! This is a known display gap - the middleware you've applied at the entrypoint level is actually working correctly in Traefik, it just doesn't show up in TM for routes that use config files. Routes using Docker labels show it because Traefik includes that info differently for those. It's on my list to fix in a future release. Nothing broken on your end - your middleware is being applied, TM just isn't showing it. |
|
the beta image has added support for entrypoint middleware and if you want to test it for me use :beta tag and update |
|
Found the issue - there was a misconfigured proxy header setting (x_prefix) that caused Traefik to mangle all URL routing when it sent X-Forwarded-Prefix. Just pushed a fix, pull the latest :beta and the domain should work again alongside the entrypoint middleware display. Both of those are expected behavior: The "fix" prompt - that's the self-route entrypoint validator in Settings → Connection → Self Route. TM checks the entrypoint you enter against the live Traefik API. If it can't find a match it warns you and suggests the closest one. If your entrypoint is internal-only and not showing in the Traefik API, you can dismiss the warning - it won't affect routing. Entrypoints showing the same - if multiple entrypoints have the same middleware defined in your traefik.yml, the ep chips will be identical on all matching routes. That's correct - they inherit the same middleware. "don't do anything" - if an entrypoint isn't returned by your Traefik API it won't appear in the chip selector, or if selected it won't be saved. Make sure your Traefik API is reachable from TM and returning all entrypoints at /api/entrypoints. |
|
Thanks for the detailed report. Found the bug: if any route in your Traefik config uses a YAML scalar for entryPoints (e.g. entryPoints: websecure instead of entryPoints: [websecure]) the backend was passing it as a string. JavaScript's String.prototype.includes is a substring search, so a route with entryPoints: "websecure" would incorrectly match a filter for "web". This is fixed in the next release - the backend now always normalizes to a list, and the Route Map uses an array-safe helper everywhere. That said, for your specific websecure-ext/websecure-int case, neither name is a substring of the other so the scalar bug wouldn't produce identical results. The most likely explanation there is that all your routes genuinely have both entrypoints assigned. You can now verify this using the Entry Point chips added to each route's popup in the Route Map. For the Android crash: if it happens when opening a route's detail screen, the scalar entryPoints fix closes that path (calling .join() on a string throws a TypeError). If the crash persists after the update, please share a logcat stack trace so I can pinpoint it exactly. |





Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I don't know if this has been mentioned already and I apologise if it has ( i've had a look but couldn't see anything that matches what I've noticed)
I have some headers applied at the entrypoint (defined in a dynamic config.yml file)
when viewing routes in traefik-manager, it only shows the middleware defined here for containers that are using traefik labels
for containers that use a dynamic file for their routes and service, they still have the headers applied but traefik-manager doesn't reflect this
All reactions