扫码关注官方订阅号
建立ws连接时,出现错误。有一点很奇怪的是,它不是每次都报错,时好时坏。我想知道的是这个是由什么原因引起的。
闭关修行中......
https://github.com/sockjs/sockjs-node/issues/27 看这里,与你的问题差不多。
可能解决办法:http://blog.fgribreau.com/2012/05/how-to-fix-could-not-decode-text-frame.htmlhttp://stackoverflow.com/questions/27516223/perl-websocket-server-causing-could-not-decode-a-text-frame-as-utf-8-in-chrome
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
https://github.com/sockjs/sockjs-node/issues/27 看这里,与你的问题差不多。
可能解决办法:
http://blog.fgribreau.com/2012/05/how-to-fix-could-not-decode-text-frame.html
http://stackoverflow.com/questions/27516223/perl-websocket-server-causing-could-not-decode-a-text-frame-as-utf-8-in-chrome