You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.20 18:48:40