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
Is it supposed to work to begin with? I believe Spring Cloud Gateway is a reverse proxy that isn't supposed to act as a forward proxy with HTTP CONNECT protocol. Please correct me if I'm wrong.
In order to implement it you can extend WebServerFactoryCustomizer<NettyReactiveWebServerFactory> to change the Netty pipeline, to accept HTTP CONNECT requests.
Describe the bug
When trying to proxy requests through Spring cloud gateway:
the response is:
However:
works fine:
Sample
I reproduce the issue here:
https://github.com/qcastel/reproduce-spring-cloud-gateway-error
Please note that I use the latest netty snapshot, as they were an NPE on netty that is now solved by reactor/reactor-netty#948
The text was updated successfully, but these errors were encountered: