引入sleuth依赖导致websocket 发送 STOMP 消息失败

Posted 疯狂小公举

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了引入sleuth依赖导致websocket 发送 STOMP 消息失败相关的知识,希望对你有一定的参考价值。

引入sleuth依赖websocket 发送 STOMP 消息失败

添加了sleuth和zipkin之后,报下面这个错误,这个问题找了好久终于解决

需要添加sleuth配置

通过以下方式禁用侦探的 websocket 消息传递支持

spring.sleuth.integration.websockets.enabled=false

具体参考这个
通过websocket 发送 STOMP消息时出错

以上是关于引入sleuth依赖导致websocket 发送 STOMP 消息失败的主要内容,如果未能解决你的问题,请参考以下文章