tencentyun / wafer2-startup

Wafer - 腾讯云下一代小程序综合解决方案
1.02k stars 225 forks source link

本地服务器tunnel报错 #131

Closed noveleven closed 6 years ago

noveleven commented 6 years ago

现在在本地开发和测试服务器端,但是ws不能用啊

{
  code: 1001, 
  message: "连接信道服务失败,网络错误或者信道服务没有正确响应",
  detail: {
    type: "connect ECONNREFUSED 127.0.0.1:80",
    message: "登录态已过期"
  }
}

是不是本地服务器调试不支持tunnel

noveleven commented 6 years ago

解决了报错是因为没填写tunnelServerUrl,虽然不报错但是connect消息都不能监听到,也不能进行广播

jas0ncn commented 6 years ago

本地是无法进行信道的测试的,信道服务器需要回调你的 Node 程序,而本地的程序并不能被访问到。