Closed cloudAndMonkey closed 4 months ago
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));
postman loading long time, console return error [ERROR] [2024-04-17 18:57:27] ?.?(?) | Connection was closed
4.5.7
Please try again without the body handler added to the route.
Reopen with detailed steps to reproduce if the tip above does not solve the problem
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));
postman loading long time, console return error [ERROR] [2024-04-17 18:57:27] ?.?(?) | Connection was closed
Version
4.5.7