【问题标题】:Micronaut web socket client: max frame length exceededMicronaut Web 套接字客户端:超出最大帧长度
【发布时间】:2020-02-22 19:31:11
【问题描述】:

我正在使用来自 micronaut 框架的内置 Web 套接字客户端 (@ClientWebSocket)。当使用大消息时,客户端失败并终止连接。抛出以下错误:

17:59:47.153 [nioEventLoopGroup-1-2] ERROR i.m.h.c.w.NettyWebSocketClientHandler - Unexpected Exception in WebSocket [my.package.WebSocket$Intercepted@79698b5f]: Max frame length of 65536 has been exceeded.
io.netty.handler.codec.http.websocketx.CorruptedWebSocketFrameException: Max frame length of 65536 has been exceeded.

有没有办法增加最大帧长度或跳过太长的消息? 我尝试在 application.yml 中设置 ma​​x-frame-length 但这不起作用。

【问题讨论】:

    标签: websocket micronaut


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-01-20
      • 1970-01-01
      • 2011-07-31
      • 2017-06-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多