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
Forward Authentication : Websocket compatibility #3039
Comments
Have you solved your issue? I'm trying to use this together with thomseddon/traefik-forward-auth and I'm having the same issue, the websocket connection cannot be verified as it output the following error: http2: invalid Upgrade request header: ["websocket"]" I believe connection to forward server should be http/https and websocket headers must be cleaned up. |
@xalexslx not solved the issue since this not seem to be prioritized... FYI : looking to switch to kong at this moment :) |
I'm also running into this issue. The web socket proxy not working is causing my local trusted network login to not work, I'm forced to authenticate on my tablets that should be trusted. 2018-08-28 21:00:35 INFO (MainThread) [homeassistant.components.http.view] Serving / to 1.0.0.10 (auth: True) The web socket call is my home assistant browser. I would expect X-Forwarded-For to be on the web socket request as well making them both show as coming from 1.0.0.10 and then work, but sadly no. Have you switched to Kong? Any sites with the steps you followed? How did it work? |
@cmconner156 Have you try with the latest Traefik version? |
This is definitely a problem with Traefik 1.7-rc3. It breaks websocket functionality on Vaadin applications. |
Hi, it looks like multiple bounties (including mine) have been placed on this issue. If an issue's priority is lowered, upgraded, or changed because of the bounty, will we be notified? Never used bountysource before |
Closed by #3900 |
Closed by #3907. |
This works perfectly with Vaadin now. Nice work. |
Do you want to request a feature or report a bug?
a feature
What did you do?
I use traefik in front of Home assistant which utilizes websocket.
I'm using Forward Authentication with success with all my apps who do not use websockets
(well, i'm waiting for this PR to be in the actual release : #2398 to really be able to use it)
What did you expect to see?
verify script returns 200 OK code (instantly and all the time for debuging purposes), websocket traffic is passing trough just like when Forward Authentication is not activated.
What did you see instead?
verify script returns 200 OK code (instantly and all the time for debuging purposes), websocket traffic is not passing trough (timeout as seen from end user side)
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 mode (
--debug
switch)The text was updated successfully, but these errors were encountered: