Skip to content
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

Interceptors are not applied for websocket upgrades #48

Open
fbuetler opened this issue May 11, 2023 · 0 comments
Open

Interceptors are not applied for websocket upgrades #48

fbuetler opened this issue May 11, 2023 · 0 comments
Labels
bug Something isn't working gsoc2024

Comments

@fbuetler
Copy link

Version

4.3.8

Context

I investigated an issue, where websocket upgrades were failing. We have a service handling websockets living behind the vertx-http-proxy. This service is living on a different root path, than the vertx-http-proxy is exposing. Hence a path prefix is removed in the vertx-http-proxy with the help of a ProxyInterceptor. This works for normal http requests.

However, it turns out the ProxyInterceptors are not applied for websocket upgrades as websocket upgrades are handled and returned before the interceptors are applied.

This behaviour results in the path prefix not being removed and the service running behind the proxy returning a 404 for the websocket upgrade.

@fbuetler fbuetler added the bug Something isn't working label May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gsoc2024
Projects
None yet
Development

No branches or pull requests

2 participants