• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 11 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0033 秒)

1. websocket connection failed: Invalid frame header [ 100%]

websocket connection failed: Invalid frame header 服务端传输的数据,四个包,包头,除非包长度不同234三个字节可能不一样,但是客户端这边会在收到第四个包的时候报上述的错误,网上搜到有说握手报文返回多出/0,但是报文并没有发现第...

来源: Laya_社区 发布时间: 20191024

2. WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header [ 97%]

WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header 一开始连接正常,密集发送消息到服务器后,就会给服务器程序发送关闭连接的信息。WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header WebSocket connection to 'ws:/...

来源: Laya_社区 发布时间: 20180612

3. WebSocket的握手失败 [ 95%]

WebSocket的握手失败 请问下,我自己写的C++服务器收到了laya的握手包,我应该返回什么样格式的包给laya客户端? GET / HTTP/1.1 Host: 192.168.31.2:10002 Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Upgrade: websocket Origin: file:// Sec-WebSocket-V...

来源: Laya_社区 发布时间: 20181120

4. 关于https的websocket [ 83%]

关于https的websocket 腾讯审核时需要提供https的地址,我们运维也申请了证书和配置上了,但是通过https访问发起websocket连接时一直连不上,提示 请问下该怎么处理呢?谢谢了!对了,这是H5项目的 附件 : --> 2018-01-31 添加评论 免...

来源: Laya_社区 发布时间: 20180131

5. socket通讯返回数据 [ 81%]

...错如下: 连接出错 Event {isTrusted: true, type: "error", target: WebSocket, currentTarget: WebSocket, eventPhase: 2…} 关闭事件 CloseEvent {wasClean: false, code: 1006, reason: "", type: "close", target: WebSocket…} //-------------------------------------------------------------------...

来源: Laya_社区 发布时间: 20180211

6. websocket出错 [ 80%]

websocket出错  socket=new Laya.Socket();         socket.connectByUrl("ws://192.168.1.229:8282");         //socket.connect("0.0.0.0",8383);                  output=socket.output;         socket.on(Laya.Event.OPEN,this,onSocketOpen);         socket.on(Laya.Event.CLOSE,this...

来源: Laya_社区 发布时间: 20170116

7. native 1.0.2 连不上wss [ 79%]

...ml> <head> </head> <body> <script> var ws = new WebSocket("wss://login.huanxi.twbuyu.com:27777"); ws.onopen = function() { alert("connect success~"); ws.send('tom'); alert("send to server msg: tom"); }; ws.onmessage = function(e) { alert("accpet msg: " + e.data); }; ws.one...

来源: Laya_社区 发布时间: 20181018

8. Array buffer allocation failed [ 68%]

...,打包成apk后 httprequest报Request failed Status:404 text:undefined websocket connection failed: Invalid frame header Request failed Status:404 text:undefined 问题状态 最新活动: 2018-05-28 11:41 浏览: 1275 关注: 2 人

来源: Laya_社区 发布时间: 20180524

9. 如何与服务端建立连接 [ 62%]

...0 1 分享 微博 QZONE 微信 吉日-jerry 赞同来自: 用socket 或者 websocket 连接,可以用protobuff 作为数据格式 2018-05-15 0 0 分享 微博 QZONE 微信 189*****192 赞同来自: 创建连接    this.socket = new Socket();this.socket.connectByUrl("ws://localhost:8989");this.so...

来源: Laya_社区 发布时间: 20180514

10. Array buffer allocation failed [ 62%]

...报Request failed Status:404 text:undefined Array buffer allocation failed websocket connection failed: Invalid frame header Request failed Status:404 text:undefined 问题状态 最新活动: 2019-09-12 17:58 浏览: 11514 关注: 6 人 爱的誓言 • 2019-08-21 11:30 魅族手机 爱的誓言 ...

来源: Laya_社区 发布时间: 20190322