Spring Boot中FilterChainProxy与DispatcherServlet间存在1分钟请求延迟
请求延迟1分钟问题排查求助
请求出现1分钟延迟,已开启Spring Framework的TRACE日志,日志显示延迟发生在FilterChainProxy与DispatcherServlet之间,问题持续存在,暂未找到排查方向。
应用日志
2022-08-31 16:12:31.256 TRACE 42851 --- [nio-9090-exec-7] o.s.s.w.a.i.FilterSecurityInterceptor : Authorizing filter invocation [POST /com/myrequest/my-action.do] with attributes [authenticated] 2022-08-31 16:12:31.256 DEBUG 42851 --- [nio-9090-exec-7] o.s.s.w.a.i.FilterSecurityInterceptor : Authorized filter invocation [POST /com/myrequest/my-action.do] with attributes [authenticated] 2022-08-31 16:12:31.256 TRACE 42851 --- [nio-9090-exec-7] o.s.s.w.a.i.FilterSecurityInterceptor : Did not switch RunAs authentication since RunAsManager returned null 2022-08-31 16:12:31.256 DEBUG 42851 --- [nio-9090-exec-7] o.s.security.web.FilterChainProxy : Secured POST /com/myrequest/my-action.do 2022-08-31 16:13:31.259 TRACE 42851 --- [nio-9090-exec-7] o.s.web.servlet.DispatcherServlet : POST "/com/myrequest/my-action.do", parameters={}, headers={masked} in DispatcherServlet 'dispatcherServlet' 2022-08-31 16:13:31.259 TRACE 42851 --- [nio-9090-exec-7] o.s.b.f.s.DefaultListableBeanFactory : Returning cached instance of singleton bean 'dashboardController'
Spring Boot application.yml配置
logging: level: org.springframework: TRACE com.myorg: TRACE
项目基于Maven构建,使用spring-boot-starter-parent:2.5.12版本。
内容的提问来源于stack exchange,提问作者Chirag Visavadiya
相关产品推荐
相关产品推荐

