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

route BodyHandler before ProxyHandler, response [ERROR] [2024-04-17 18:57:27] ?.?(?) | Connection was closed #5188

Closed
cloudAndMonkey opened this issue Apr 17, 2024 · 2 comments
Labels

Comments

@cloudAndMonkey
Copy link

cloudAndMonkey commented Apr 17, 2024

Questions

HttpClientOptions clientOptions = new HttpClientOptions();
HttpClient proxyClient = VERTX.createHttpClient(clientOptions);
HttpProxy proxy = HttpProxy.reverseProxy(proxyClient);
proxy.originSelector(request -> Future.succeededFuture(resolveOriginAddress(request)));

mainHttpRouter.route().handler(BodyHandler.create()).handler(ProxyHandler.create(proxy));

image postman loading long time, console return error [ERROR] [2024-04-17 18:57:27] ?.?(?) | Connection was closed

Version

4.5.7

@tsegismont
Copy link
Contributor

Please try again without the body handler added to the route.

@tsegismont
Copy link
Contributor

Reopen with detailed steps to reproduce if the tip above does not solve the problem

@tsegismont tsegismont closed this as not planned Won't fix, can't repro, duplicate, stale May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants