uni-huanxin-im icon indicating copy to clipboard operation
uni-huanxin-im copied to clipboard

【功能】重连机制优化

Open liuxiaoyucc opened this issue 4 years ago • 12 comments

现有的重连机制有时会重连失败

断网后马上打开网络,会导致重连失败

liuxiaoyucc avatar Oct 18 '19 02:10 liuxiaoyucc

重连问题是环信的小程序遗留的问题, 可以借鉴@[email protected] 同学的解决办法

liuxiaoyucc avatar Jan 19 '20 16:01 liuxiaoyucc

重连是有点问题,用在APP上退到后台,过两分钟打开App就连不上了报错:16:45:13.591 sendSocketMessage:fail WebSocket is not connected __ERROR 16:45:13.612 socjet发送失败 at sdk/libs/strophe.js:5912 补充下,我的重连问题我修改sdk/connection 里面的login方法得到解决,打印options发现为空,我在这里加个判断,如果为空就读取本地缓存数据放到SDK里面

liuxiaoyucc avatar Jan 19 '20 16:01 liuxiaoyucc

https://ext.dcloud.net.cn/plugin?id=825

liuxiaoyucc avatar Jan 19 '20 16:01 liuxiaoyucc

[email protected] 的方案怎么处理啊?谢谢!

wqscode avatar Jul 10 '20 06:07 wqscode

[email protected] 的方案怎么处理啊?谢谢!

image

liuxiaoyucc avatar Jul 11 '20 05:07 liuxiaoyucc

强制断开解决不了问题。 去看可了下环信修复了,但是没到老哥你的github上用的是哪个sdk啊? image 那个啊?我研究下。谢谢!

wqscode avatar Jul 11 '20 10:07 wqscode

不 你们是谁呀 怎么知道我 邮箱的 ?

| | Jore | | 邮箱:[email protected] |

Signature is customized by Netease Mail Master

在2020年07月11日 18:23,15192095633 写道:

强制断开解决不了问题。 去看可了下环信修复了,但是没到老哥你的github上用的是哪个sdk啊? 那个啊?我研究下。谢谢!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

JoraNoe avatar Jul 13 '20 04:07 JoraNoe

强制断开解决不了问题。 去看可了下环信修复了,但是没到老哥你的github上用的是哪个sdk啊? image 那个啊?我研究下。谢谢!

小程序的

liuxiaoyucc avatar Jul 13 '20 04:07 liuxiaoyucc

什么 小程序的 what 没搞懂 ?

| | Jore | | 邮箱:[email protected] |

Signature is customized by Netease Mail Master

在2020年07月13日 12:11,liuxy 写道:

强制断开解决不了问题。 去看可了下环信修复了,但是没到老哥你的github上用的是哪个sdk啊? 那个啊?我研究下。谢谢!

小程序的

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

JoraNoe avatar Jul 13 '20 04:07 JoraNoe

不 你们是谁呀 怎么知道我 邮箱的 ? | | Jore | | 邮箱:[email protected] | Signature is customized by Netease Mail Master 在2020年07月11日 18:23,15192095633 写道: 强制断开解决不了问题。 去看可了下环信修复了,但是没到老哥你的github上用的是哪个sdk啊? 那个啊?我研究下。谢谢! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

emm..这是你在uniapp插件市场提出的解决办法,我将它贴到了这边,然后留下了你在插件市场的用户id,也就是这个邮箱,来注明下解决办法的出处

liuxiaoyucc avatar Jul 13 '20 04:07 liuxiaoyucc

什么 小程序的 what 没搞懂 ? | | Jore | | 邮箱:[email protected] | Signature is customized by Netease Mail Master 在2020年07月13日 12:11,liuxy 写道: 强制断开解决不了问题。 去看可了下环信修复了,但是没到老哥你的github上用的是哪个sdk啊? 那个啊?我研究下。谢谢! 小程序的 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

邮件是github的issues回复自动发送的

liuxiaoyucc avatar Jul 13 '20 04:07 liuxiaoyucc

噢噢噢 明白了

| | Jore | | 邮箱:[email protected] |

Signature is customized by Netease Mail Master

在2020年07月13日 12:14,liuxy 写道:

不 你们是谁呀 怎么知道我 邮箱的 ? | | Jore | | 邮箱:[email protected] | Signature is customized by Netease Mail Master 在2020年07月11日 18:23,15192095633 写道: 强制断开解决不了问题。 去看可了下环信修复了,但是没到老哥你的github上用的是哪个sdk啊? 那个啊?我研究下。谢谢! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

emm..这是你在uniapp插件市场提出的解决办法,我将它贴到了这边,然后留下了你在插件市场的用户id,也就是这个邮箱,来注明下解决办法的出处

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

JoraNoe avatar Jul 13 '20 04:07 JoraNoe