Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

还是关于匹配的问题 #12

Closed
usetme opened this issue Mar 6, 2018 · 2 comments
Closed

还是关于匹配的问题 #12

usetme opened this issue Mar 6, 2018 · 2 comments

Comments

@usetme
Copy link

usetme commented Mar 6, 2018

您好!现在就是匹配不到人,转发给好友也匹配不到人,不报错,也都是通的,您能给我一些建议,可能是哪里出了问题吗?非常感谢!已star

@usetme
Copy link
Author

usetme commented Mar 6, 2018

我现在wafer上还没有部署,用的是开发环境测试版本,会不会有影响

@jacksplwxy
Copy link
Owner

jacksplwxy commented Mar 6, 2018

你是用的最新版吗?最新版有个错误:server/controllers/tunnel.js下的第23行,this应该要改为match;第38行的this应该去掉。之前我改了自己也没测试,就草率提交了。现在我测试了应该是可以了。你用开发环境是没问题的,我建议你查看单步调试的打印错误应该很快可以定位问题。 另外,不建议你将这个wafer方案用作正式项目: 问题传送门,信道有一定概率断掉。另外,这个方案也不是纯粹的客户端与服务器端websocket通信,而是前后端传送每次都要通过信道服务器作为中介者,延迟感觉也挺久的。当然我对websocket也不是太了解,这个项目仅仅是我用来学习练手的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants