DongPoJuShi commented on issue #5788: URL: https://github.com/apache/shenyu/issues/5788#issuecomment-2488095055
我用的shenyu 2.5.1版本,报错 handle error: [84979ebf-2] Resolved [ShenyuException: response modify failure. java.lang.String can not be converted to JSON] for HTTP GET /sso/verifyCode/test org.apache.shenyu.common.exception.ShenyuException: response modify failure. java.lang.String can not be converted to JSON at org.apache.shenyu.plugin.modify.response.ModifyResponsePlugin$ModifyResponseDecorator.modifyBody(ModifyResponsePlugin.java:163) ~[shenyu-plugin-modify-response-2.5.1.jar!/:2.5.1] Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: Error has been observed at the following site(s): *__checkpoint ⇢ org.apache.shenyu.web.configuration.ErrorHandlerConfiguration$1 [DefaultWebFilterChain] *__checkpoint ⇢ cn.dev33.satoken.reactor.filter.SaReactorFilter [DefaultWebFilterChain] *__checkpoint ⇢ org.apache.shenyu.web.filter.LocalDispatcherFilter [DefaultWebFilterChain] *__checkpoint ⇢ org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter [DefaultWebFilterChain] *__checkpoint ⇢ HTTP GET "/sso/verifyCode/test" [ExceptionHandlingWebHandler] 配置如下:   看代码的话是将响应转json报错了,下载文件接口返回的二进制流,是有什么设置还是需要升级shenyu版本?感谢您回答  -- 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: notifications-unsubscr...@shenyu.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org