Multipart timeouts when send via WebClient after setting R/W timeouts via doOnConnected/HttpClient/ReactorClientHttpConnector #23375
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
Affects: SpringBoot 2.1.6.RELEASE
Usecase
Want to proxy a Multipart content in reactive manner from server to another server (eg. curl/postman call -> serverApp1 -> serverApp2).
Problem
The the whole chain hangs and timeouts when reaching server2. All Reactive Filters on the way on both servers are called properly, proper endpoint on server2 is determined, but the actual controller method of server2 never gets called. After the set timeout, the connection is cancelled.
Suspected cause
Setting the timeouts on the WebClient (see commented section of code below).
Notes
Code (prototype of the error extracted from the actual app, stripped of filters, security, etc):
The text was updated successfully, but these errors were encountered: