控制台报http route error,请先检查下USE_WSS、ROUTE_PORT配置 这个错

18655145157 8天前 36

http route error,请先检查下USE_WSS、ROUTE_PORT配置

http://im.1998xuexi.com:18083/route 0
proto.min.js?t=1742436555166:57929 connect/route error -1 1742436951894
proto.min.js?t=1742436555166:57929 connection status changed -1
avenginekitproxy.js:406 emitToVoip connectionStatus -1
proto.min.js?t=1742436555166:1307 route request abort
proto.min.js?t=1742436555166:57929 connect/route error -1 1742436951897
proto.min.js?t=1742436555166:1063 request timeout, to abort

控制台报这个错

config 配置是这样的 
 static USE_WSS = false;
 static ROUTE_PORT = 18083;
 static DISABLE_LOG = false;
 static ENABLE_AUTO_LOGIN = true;
 static APP_SERVER = "http://im.1998xuexi.com";
 static ORGANIZATION_SERVER = "http://org.wildfirechat.cn";

调用wfc.connect 是这样的
 this.firstTimeConnect = wfc.connect(
      "1998prod-119820",
      "DFuF9tc5hNiJ9GCe+X6yyk8zoIHWcQkQALJaolT11FxrlnDV+xqT2QmO604fk5JkuACLXoFKo3fGgRA8MwcXJpmpjc5Qm6mSrcrv0h6rOWl0Ksm8jXk2rcUz2jwB2BzvCxYkKjwAWx+a+eCVoioYGdmaJDE3PjPMarPVr7No0gaC1365vMOqT+ycoPiAK47y"
    );

![]

最新回复 (1)
  • x86 8天前
    引用 2
    route_port 不是 websocket 的端口,是短链接端口,默认是 80;如果配置 https 之后,可能是 443 等
    app_server 要配置成 app_server 的地址,不是 im-server 的地址,浏览器访问 app-server 地址的时候,会返回 ok 两个字符。
返回