内网测试时,登录成功后显示一直连接中

yilan 24天前 111

内网测试时,登录成功后显示一直连接中,感觉是8083的长连接与客户端未建联成功,server日志如下:

13/03/2020 12:18:33,072 [main] INFO  BrokerInterceptor 47  - Initializing broker interceptor. InterceptorIds=[]  13/03/2020 12:18:33,080 [main] INFO  ProtocolProcessor 147  - Initializing MQTT protocol processor...  13/03/2020 12:18:33,081 [main] INFO  ProtocolProcessor 157  - Initializing messages publisher...  13/03/2020 12:18:33,088 [main] INFO  ProtocolProcessor 161  - Initializing QoS publish handlers...  13/03/2020 12:18:33,234 [main] INFO  Server 263  - Initialized MQTT protocol processor  13/03/2020 12:18:33,235 [main] WARN  Server 265  - Using default SSL context creator  13/03/2020 12:18:33,236 [main] INFO  Server 271  - Binding server to the configured ports  13/03/2020 12:18:33,240 [main] INFO  NettyAcceptor 114  - Initializing Netty acceptor...  13/03/2020 12:18:33,240 [main] INFO  NettyAcceptor 134  - Netty is using NIO  13/03/2020 12:18:33,316 [main] INFO  NettyAcceptor 195  - Configuring TCP MQTT transport  13/03/2020 12:18:33,317 [main] INFO  NettyAcceptor 161  - Initializing server. Protocol=TCP MQTT  13/03/2020 12:18:33,322 [main] INFO  NettyAcceptor 183  - Binding server. host=0.0.0.0, port=1883  13/03/2020 12:18:33,572 [main] INFO  NettyAcceptor 186  - Server has been bound. host=0.0.0.0, port=1883  13/03/2020 12:18:33,578 [main] INFO  Server 276  - Moquette server has been initialized successfully  13/03/2020 12:19:41,695 [nioEventLoopGroup-5-2] INFO  Qos1PublishHandler 152  - imHandler fromUser=PSPIPIRR, topic=GETTOKEN  13/03/2020 12:19:41,701 [pool-2-thread-1] INFO  IMHandler 156  - imHandler fromUser=PSPIPIRR, clientId=E5456049-0E50-4F11-9C66-77B5A32E5106, topic=GETTOKEN  13/03/2020 12:19:41,708 [pool-2-thread-1] INFO  DatabaseStore 1473  - clearMultiEndpoint PSPIPIRR, E5456049-0E50-4F11-9C66-77B5A32E5106  13/03/2020 12:19:41,711 [pool-2-thread-1] INFO  DatabaseStore 1509  - Update rows 0  13/03/2020 12:19:42,020 [nioEventLoopGroup-5-3] INFO  Qos1PublishHandler 152  - imHandler fromUser=admin, topic=MS  13/03/2020 12:19:42,021 [pool-2-thread-1] INFO  IMHandler 156  - imHandler fromUser=admin, clientId=null, topic=MS  13/03/2020 12:19:42,077 [pool-1-thread-1] INFO  DatabaseStore 534  - Update rows 1  13/03/2020 12:19:42,079 [pool-1-thread-2] INFO  DatabaseStore 838  - Update rows 1  13/03/2020 12:19:42,083 [pool-1-thread-1] INFO  DatabaseStore 838  - Update rows 1  13/03/2020 12:19:42,099 [pool-2-thread-1] INFO  MessagesPublisher 287  - the target E5456049-0E50-4F11-9C66-77B5A32E5106 of user PSPIPIRR is not active  13/03/2020 12:19:42,099 [pool-2-thread-1] INFO  MessagesPublisher 308  - device token not exist

上传的附件:
最新回复 (3)
  • x86 24天前
    引用 2
    请参考下这个:

    http://docs.wildfirechat.cn/faq/server/q2.html
  • yilan 24天前
    引用 3

    1、都没问题的,但登录成功后,就一直连接中,日志跟踪,感觉是1883端口跟客户端未建连,请问一下通过80端口返回的长连接地址在哪里看(在代码中,非配置文件)。

    2、客户端有报4099错误,麻烦看一下,谢谢了(以下为客服端日志)

    Failed to create synchronous remote

    object proxy: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named

    com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The

    connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.

  • x86 23天前
    引用 4

    长连接地址是: IM_SERVER_HOST:1883

    qing

返回