luzhuqun opened a new issue, #4339: URL: https://github.com/apache/shenyu/issues/4339
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior use curl request shenyu gateway `curl --location --request POST 'http://***/content-admin/open/api/file/v1/upload' --header 'User-Agent: Apifox/1.0.0 (https://www.apifox.cn)' --header 'Content-Type: multipart/form-data' --header 'Accept: */*' --header 'Connection: keep-alive' --form 'file=@/tmp/accessLj.log' ` and response 502 error log `{"logType":"error","log_time":"2023-01-31 20:33:15.037","skyWalkingId":"TID:N/A","level":"ERROR","threadName":"shenyu-netty-epoll-3","className":"reactor.util.Loggers$Slf4JLogger","content":"[0ce093a0-1, ] ","stackTrace":"java.lang.IllegalStateException: No multipart HttpMessageReader.\n\tat org.springframework.web.server.adapter.DefaultServerWebExchange.lambda$initMultipartData$4(DefaultServerWebExchange.java:168)\n\tat java.util.Optional.orElseThrow(Optional.java:290)\n\tat org.springframework.web.server.adapter.DefaultServerWebExchange.initMultipartData(DefaultServerWebExchange.java:168)\n\tat org.springframework.web.server.adapter.DefaultServerWebExchange.<init>(DefaultServerWebExchange.java:132)\n\tat org.springframework.web.server.adapter.DefaultServerWebExchange.<init>(DefaultServerWebExchange.java)\n\tat org.springframework.web.server.adapter.HttpWebHandlerAdapter.createExchange(HttpWebHandlerAdapter.java:252)\n\tat org.springframework.web.server.adapter.HttpWebHandlerAda pter.handle(HttpWebHandlerAdapter.java:238)\n\tat org.springframework.boot.web.reactive.context.WebServerManager$DelayedInitializationHttpHandler.handle(WebServerManager.java:97)\n\tat org.springframework.http.server.reactive.ReactorHttpHandlerAdapter.apply(ReactorHttpHandlerAdapter.java:65)\n\tat org.springframework.http.server.reactive.ReactorHttpHandlerAdapter.apply(ReactorHttpHandlerAdapter.java:40)\n"} ` divide config  rewrite config  ### Expected Behavior file upload success ### Steps To Reproduce _No response_ ### Environment ```markdown ShenYu version(s):2.5.0 ``` ### Debug logs _No response_ ### Anything else? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
