-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backend for custom error page has no RemoteAddr/Scheme #3643
Comments
I guess I'm facing the same thing – see my comment in #3678 |
I also got this error in a rancher environment now: The backend was resolved to a non-existent IP, resulting in bad gateway. |
If you have this problem, could you give us the version of Traefik you are using. |
I opened this issue, it's still 1.7-RC2. Haven't tried RC3, but according to the changelog nothing has been done regarding this issue. |
1.7-RC3 |
Also 1.7-RC3 (details in #3678 (comment)). I could not make custom error pages working regardless of what I tried. Is there an example ingress rule that I can test in my cluster? I don't exclude that the error occurs because of a clash with other annotations that I've been using. |
I confirm the bug, it's a regression related to #3312 |
@ldez do you think the bug occurs in all scenarios or are there certain combinations of ignress annotations where a custom error would be shown? If yes, I'd be keen to taste the flavour of this feature. |
the bug occurs in all scenarios and all providers, I don't think there is any workaround. Sorry. |
Closed by #3894. |
Do you want to request a feature or report a bug?
Bug
What did you do?
Trying to use custom error pages for a service "gateway" from the backend "keycloak". The browser shows "Internal server error" and the traefik logs indicate the backend is not resolved properly.
Environment is traefik:1.7 docker image running in swarm mode.
What did you expect to see?
A HTML page from the "keycloak" service.
What did you see instead?
Internal Server Error
Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
If applicable, please paste the log output in DEBUG level (
--logLevel=DEBUG
switch)The text was updated successfully, but these errors were encountered: