We are using WebClient+netty. We have run into
reactor.netty.http.client.PrematureCloseException: Connection prematurely closed DURING response.
Unfortunately the WebClientResponseException.getMessage() will just return
200 OK from POST http://localhost:50457/foo
in this case, not giving any helpful detail what the problem was.
Maybe the original exception message (Connection prematurely closed DURING response) should be shown or just some generic An error happend while reading the response? Everything would be better than 200 OK from ...
We are using WebClient+netty. We have run into
reactor.netty.http.client.PrematureCloseException: Connection prematurely closed DURING response.Unfortunately the
WebClientResponseException.getMessage()will just return200 OK from POST http://localhost:50457/fooin this case, not giving any helpful detail what the problem was.
Maybe the original exception message (
Connection prematurely closed DURING response) should be shown or just some genericAn error happend while reading the response? Everything would be better than200 OK from ...