You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I deployed a Quart app on Azure (using Docker), and they have some kind of reverse proxy that decrypts HTTPS traffic to HTTP traffic.
Now if I apply ProxyFixMiddleware and use url_for(<websocket-endpoint>) in my template, I correctly get a wss address rendered BUT Quart always responds with HTTP 400.
If I do not apply the middleware and manually set the protocol to wss on the template, I can succesfully establish a websocket connection. Why is this?
Using quart = 0.19.4 and hypercorn = 0.16.0
The text was updated successfully, but these errors were encountered:
I deployed a Quart app on Azure (using Docker), and they have some kind of reverse proxy that decrypts HTTPS traffic to HTTP traffic.
Now if I apply ProxyFixMiddleware and use
url_for(<websocket-endpoint>)
in my template, I correctly get awss
address rendered BUT Quart always responds with HTTP 400.If I do not apply the middleware and manually set the protocol to
wss
on the template, I can succesfully establish a websocket connection. Why is this?Using
quart = 0.19.4
andhypercorn = 0.16.0
The text was updated successfully, but these errors were encountered: