
踩坑之路
码云逸栈
vx:zhangchuan191
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
安装electron失败 postinstall: `node install.js`
解决方法:将electron下载地址指向taobao镜像npm config set electron_mirror “https://npm.taobao.org/mirrors/electron/”转载 2021-07-30 15:37:04 · 7924 阅读 · 1 评论 -
io.netty.handler.codec.CorruptedFrameException: Max frame length of 65536 has been exceeded.
记录一下今天使用netty的两个坑1:channel在 active回调里发送消息失败具体如下:连接成功,但是并没有消息返回解决方法:创建新线程异步发送 new Thread(()-> ctx.channel().writeAndFlush(new TextWebSocketFrame("{\"FaceCount\": 0}"))).start();2:客户端发送的数据过大,服务端接收异常解决方法:设置服务端编码器的最大数据长度pipeline.addLast(ne原创 2021-03-10 22:50:28 · 2241 阅读 · 0 评论