探究springboot集成websocket,连接不上,使用netty-websocket却能连接上
原因:集成spring-security了。把websocket请求拦截了,且不输出日志(因为一般spring相关日志级别是warn。debug模式下日志太多了 然后可以修改undertow日志级别看日志 # 日志配置 logging:level:com.cas.wict: debugorg.springframework: wa…
2025-06-21