默认
发表评论 1
想开发IM:买成品怕坑?租第3方怕贵?找开源自已撸?尽量别走弯路了... 找站长给点建议
[已回复] MobileIMSDK的H5端集成到uniapp后每十秒会自动重新登录?
阅读(23267) | 评论(1 收藏 淘帖1
背景:后端是eclipse 应该没问题
前端:集成在uniapp中 由其他界面用web-view 标签引入     引入界面时直接调用 fireSubmit方法用固定值登录    现在情况是会自动重新登录大概每过10s


前端后台
16:13:10.196 ☀ [12/16 16:13:10.192] [CORE] <DEBUG>[MBDataSender] 发送登陆指令时,socket连接未就绪,首先开始尝试发起连接(登陆指令将在连接成功后的回调中自动发出)。。。。
16:13:10.208 ☀ [12/16 16:13:10.194] [CORE] <DEBUG>[MBSocketProvider] 正在closeLocalSocket()...
16:13:10.209 ☀ [12/16 16:13:10.194] [CORE] <DEBUG>[MBSocketProvider] Socket处于未初化状态(可能是您还未登陆),无需关闭。
16:13:10.216 ☀ [12/16 16:13:10.194] [CORE] <DEBUG>[MBSocketProvider] tryConnectToHost并获取connection开始了...
16:13:10.222 ☢ [12/16 16:13:10.195] [SDK]  登陆/连接信息已发出(等待底层Socket反馈和服务端响应中...)!
16:13:10.223 ☀ [12/16 16:13:10.196] [CORE] <DEBUG>[MBSocketProvider] WS.onopen - 连接已成功建立!(isLocalSocketReady=true)
16:13:10.233 ☀ [12/16 16:13:10.197] [CORE] <DEBUG>[MBUtils] 正在send() websocket数据时,[dataWithString.len=164] ...
16:13:10.238 ☀ [12/16 16:13:10.197] [CORE] <INFO>[MBUtils] >> 数据已成功发出[dataLen=164].
16:13:10.243 ☀ [12/16 16:13:10.202] [CORE] <DEBUG>[MBSocketProvider] WS.onmessage - 收到消息(原始内容):{"bridge":false,"type":50,"dataContent":"{\"code\":0,\"firstLoginTime\":1639642390198}","from":"0","to":"1","QoS":false,"typeu":-1,"sm":-1}
16:13:10.249 ☀ [12/16 16:13:10.202] [CORE] <DEBUG>[MBDataReciever] 首次登陆验证成功,firstLoginTime=1639642390198
16:13:10.254 ☀ [12/16 16:13:10.203] [CORE] <DEBUG>[MBQoS4ReciveDaemon] 【QoS接收方】+++++ START 暂存处理线程正在运行中,当前长度0.
16:13:10.261 ___________________________AAAAAAAAA
16:13:10.266 [hashmap.js_showAll()] 列表中长度为:%d ! 0
16:13:10.267 ___________________________BBBBBBBBBB
16:13:10.272 ☀ [12/16 16:13:10.204] [CORE] <DEBUG>[MBQoS4ReciveDaemon] 【QoS接收方】+++++ END 暂存处理线程正在运行中,当前长度0.
16:13:10.273 ☢ [12/16 16:13:10.204] [SDK]  本客户端 SOCKET_EVENT_ON_LOGIN_RESPONSE 事件已经触发(code=0)
16:13:10.280 ☢ [12/16 16:13:10.204] [SDK]  本客户端 SOCKET_EVENT_ON_LOGIN_RESPONSE 事件中:登陆认证成功(首次登陆)!【code=0】
16:13:10.286 ☢ [12/16 16:13:10.205] [SDK]  ● ● ● ● ●【已成功登陆至 MobileIMSDK 服务器】● ● ● ● ●
16:13:21.204 ☀ [12/16 16:13:21.201] [CORE] <DEBUG>[MBSocketProvider] WS.onclose - 连接已断开,立即提前进入框架的“通信通道”断开处理逻辑(而不是等心跳线程探测到,那就已经比较迟了)......
16:13:21.217 ☀ [12/16 16:13:21.201] [CORE] <DEBUG>[MBSocketProvider] 正在closeLocalSocket()...
16:13:21.225 ☢ [12/16 16:13:21.201] [SDK]  本客户端 SOCKET_EVENT_ON_LINK_CLOSE 事件已经触发【END】!
16:13:21.232 ☢ [12/16 16:13:21.201] [SDK]  对不起,你与IM服务器的网络连接断开了(掉线罗)...
16:13:21.241 ☀ [12/16 16:13:21.201] [CORE] <DEBUG>[MBAutoReLoginDaemon] 自动重新登陆线程执行中, autoReLogin ? true...
16:13:21.250 ☀ [12/16 16:13:21.201] [CORE] <DEBUG>[MBDataSender] 发送登陆指令时,socket连接未就绪,首先开始尝试发起连接(登陆指令将在连接成功后的回调中自动发出)。。。。
16:13:21.258 ☀ [12/16 16:13:21.203] [CORE] <DEBUG>[MBSocketProvider] 正在closeLocalSocket()...
16:13:21.266 ☀ [12/16 16:13:21.203] [CORE] <DEBUG>[MBSocketProvider] Socket处于未初化状态(可能是您还未登陆),无需关闭。
16:13:21.274 ☀ [12/16 16:13:21.203] [CORE] <DEBUG>[MBSocketProvider] tryConnectToHost并获取connection开始了...
16:13:21.282 ☢ [12/16 16:13:21.203] [SDK]  本客户端 SOCKET_EVENT_RECONNECT_ATTEMPT 事件已触发
16:13:21.289 ☀ [12/16 16:13:21.206] [CORE] <DEBUG>[MBSocketProvider] WS.onopen - 连接已成功建立!(isLocalSocketReady=true)
16:13:21.290 ☀ [12/16 16:13:21.207] [CORE] <DEBUG>[MBUtils] 正在send() websocket数据时,[dataWithString.len=197] ...
16:13:21.298 ☀ [12/16 16:13:21.207] [CORE] <INFO>[MBUtils] >> 数据已成功发出[dataLen=197].
16:13:21.306 ☀ [12/16 16:13:21.208] [CORE] <DEBUG>[MBSocketProvider] WS.onmessage - 收到消息(原始内容):{"bridge":false,"type":50,"dataContent":"{\"code\":0,\"firstLoginTime\":1639642390198}","from":"0","to":"1","QoS":false,"typeu":-1,"sm":-1}
16:13:21.314 ☀ [12/16 16:13:21.208] [CORE] <DEBUG>[MBQoS4ReciveDaemon] 【QoS接收方】+++++ START 暂存处理线程正在运行中,当前长度0.
16:13:21.322 ___________________________AAAAAAAAA
16:13:21.330 [hashmap.js_showAll()] 列表中长度为:%d ! 0
16:13:21.339 ___________________________BBBBBBBBBB
16:13:21.347 ☀ [12/16 16:13:21.209] [CORE] <DEBUG>[MBQoS4ReciveDaemon] 【QoS接收方】+++++ END 暂存处理线程正在运行中,当前长度0.
16:13:21.356 ☢ [12/16 16:13:21.209] [SDK]  本客户端 SOCKET_EVENT_ON_LOGIN_RESPONSE 事件已经触发(code=0)
16:13:21.356 ☢ [12/16 16:13:21.210] [SDK]  本客户端 SOCKET_EVENT_ON_LOGIN_RESPONSE 事件中:登陆认证成功(掉线重连)!【code=0】
16:13:21.364 ☢ [12/16 16:13:21.210] [SDK]  ○ ○ ○ ○ ○【已成功重连至 MobileIMSDK 服务器】○ ○ ○ ○ ○
16:13:21.373 ☀ [12/16 16:13:21.199] [CORE] <DEBUG>[MBSocketProvider] WS.onclose - 连接已断开。。。。(isLocalSocketReady=false, MBClientCoreSDK.connectedToServer=true) [object] {"bubbles":false,"cancelBubble":false,"cancelable":false,"code":1006,"composed":false,"currentTarget":{"bi...} 
16:13:32.222 ☀ [12/16 16:13:32.219] [CORE] <DEBUG>[MBSocketProvider] WS.onclose - 连接已断开,立即提前进入框架的“通信通道”断开处理逻辑(而不是等心跳线程探测到,那就已经比较迟了)......
16:13:32.233 ☀ [12/16 16:13:32.220] [CORE] <DEBUG>[MBSocketProvider] 正在closeLocalSocket()...
16:13:32.234 ☢ [12/16 16:13:32.220] [SDK]  本客户端 SOCKET_EVENT_ON_LINK_CLOSE 事件已经触发【END】!
16:13:32.244 ☢ [12/16 16:13:32.220] [SDK]  对不起,你与IM服务器的网络连接断开了(掉线罗)...
16:13:32.254 ☀ [12/16 16:13:32.220] [CORE] <DEBUG>[MBAutoReLoginDaemon] 自动重新登陆线程执行中, autoReLogin ? true...
16:13:32.264 ☀ [12/16 16:13:32.220] [CORE] <DEBUG>[MBDataSender] 发送登陆指令时,socket连接未就绪,首先开始尝试发起连接(登陆指令将在连接成功后的回调中自动发出)。。。。
16:13:32.265 ☀ [12/16 16:13:32.220] [CORE] <DEBUG>[MBSocketProvider] 正在closeLocalSocket()...
16:13:32.275 ☀ [12/16 16:13:32.221] [CORE] <DEBUG>[MBSocketProvider] Socket处于未初化状态(可能是您还未登陆),无需关闭。
16:13:32.285 ☀ [12/16 16:13:32.221] [CORE] <DEBUG>[MBSocketProvider] tryConnectToHost并获取connection开始了...
16:13:32.286 ☢ [12/16 16:13:32.221] [SDK]  本客户端 SOCKET_EVENT_RECONNECT_ATTEMPT 事件已触发
16:13:32.295 ☀ [12/16 16:13:32.224] [CORE] <DEBUG>[MBSocketProvider] WS.onopen - 连接已成功建立!(isLocalSocketReady=true)
16:13:32.296 ☀ [12/16 16:13:32.224] [CORE] <DEBUG>[MBUtils] 正在send() websocket数据时,[dataWithString.len=197] ...
16:13:32.306 ☀ [12/16 16:13:32.224] [CORE] <INFO>[MBUtils] >> 数据已成功发出[dataLen=197].
16:13:32.307 ☀ [12/16 16:13:32.226] [CORE] <DEBUG>[MBSocketProvider] WS.onmessage - 收到消息(原始内容):{"bridge":false,"type":50,"dataContent":"{\"code\":0,\"firstLoginTime\":1639642390198}","from":"0","to":"1","QoS":false,"typeu":-1,"sm":-1}
16:13:32.317 ☀ [12/16 16:13:32.226] [CORE] <DEBUG>[MBQoS4ReciveDaemon] 【QoS接收方】+++++ START 暂存处理线程正在运行中,当前长度0.
16:13:32.327 ___________________________AAAAAAAAA
16:13:32.328 [hashmap.js_showAll()] 列表中长度为:%d ! 0
16:13:32.338 ___________________________BBBBBBBBBB
16:13:32.348 ☀ [12/16 16:13:32.227] [CORE] <DEBUG>[MBQoS4ReciveDaemon] 【QoS接收方】+++++ END 暂存处理线程正在运行中,当前长度0.
16:13:32.358 ☢ [12/16 16:13:32.227] [SDK]  本客户端 SOCKET_EVENT_ON_LOGIN_RESPONSE 事件已经触发(code=0)
16:13:32.358 ☢ [12/16 16:13:32.227] [SDK]  本客户端 SOCKET_EVENT_ON_LOGIN_RESPONSE 事件中:登陆认证成功(掉线重连)!【code=0】
16:13:32.367 ☢ [12/16 16:13:32.227] [SDK]  ○ ○ ○ ○ ○【已成功重连至 MobileIMSDK 服务器】○ ○ ○ ○ ○
16:13:32.377 ☀ [12/16 16:13:32.219] [CORE] <DEBUG>[MBSocketProvider] WS.onclose - 连接已断开。。。。(isLocalSocketReady=false, MBClientCoreSDK.connectedToServer=true) [object] {"bubbles":false,"cancelBubble":false,"cancelable":false,"code":1006,"composed":false,"currentTarget":{"bi...} 


服务端后台
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62826的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639641903681}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62826发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639641903681
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62826的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62826的会话已关闭(user_id=1, firstLoginTime=1639641903681)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=-2075124391, session.ip+port=/192.168.1.5:62826
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=-2075124391, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62834的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62834的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639641903681}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62834发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639641903681
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62834的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62834的会话已关闭(user_id=1, firstLoginTime=1639641903681)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=528787376, session.ip+port=/192.168.1.5:62834
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=528787376, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62837的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62837的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639641903681}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62837发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639641903681
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62837的会话已关闭(user_id=1, firstLoginTime=1639641903681)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=1583510414, session.ip+port=/192.168.1.5:62837
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=1583510414, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62899的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62899的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\"}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62899发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=0
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62899的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62899的会话已关闭(user_id=1, firstLoginTime=1639642390198)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=-1670044212, session.ip+port=/192.168.1.5:62899
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=-1670044212, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62907的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62907的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639642390198}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62907发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639642390198
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62907的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62907的会话已关闭(user_id=1, firstLoginTime=1639642390198)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=1565611082, session.ip+port=/192.168.1.5:62907
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=1565611082, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62911的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62911的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639642390198}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62911发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639642390198
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62911的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62911的会话已关闭(user_id=1, firstLoginTime=1639642390198)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=332323983, session.ip+port=/192.168.1.5:62911
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=332323983, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62916的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62916的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639642390198}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62916发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639642390198
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62916的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62916的会话已关闭(user_id=1, firstLoginTime=1639642390198)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=1804759804, session.ip+port=/192.168.1.5:62916
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=1804759804, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62941的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62941的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639642390198}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62941发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639642390198
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62941的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62941的会话已关闭(user_id=1, firstLoginTime=1639642390198)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=820572747, session.ip+port=/192.168.1.5:62941
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=820572747, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62943的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62943的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639642390198}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62943发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639642390198
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62943的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62943的会话已关闭(user_id=1, firstLoginTime=1639642390198)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=1856555198, session.ip+port=/192.168.1.5:62943
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=1856555198, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62946的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62946的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639642390198}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62946发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639642390198
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62946的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62946的会话已关闭(user_id=1, firstLoginTime=1639642390198)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=-1928768384, session.ip+port=/192.168.1.5:62946
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=-1928768384, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62949的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62949的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639642390198}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62949发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639642390198
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62949的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62949的会话已关闭(user_id=1, firstLoginTime=1639642390198)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=-219477777, session.ip+port=/192.168.1.5:62949
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=-219477777, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62951的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62951的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639642390198}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62951发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639642390198
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62951的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62951的会话已关闭(user_id=1, firstLoginTime=1639642390198)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=530553757, session.ip+port=/192.168.1.5:62951
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=530553757, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62954的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62954的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639642390198}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62954发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639642390198
 INFO | [IMCORE-ws]客户端{uid:1}/192.168.1.5:62954的会话已超时失效,很可能是对方非正常通出或网络故障,即将以会话异常的方式执行关闭流程 ...
 INFO | [IMCORE-unknow]{uid:1}/192.168.1.5:62954的会话已关闭(user_id=1, firstLoginTime=1639642390198)了...
 INFO | .......... 【0】[当前正在被关闭的session] session.hashCode=-136484110, session.ip+port=/192.168.1.5:62954
 INFO | .......... 【1】[处于在线列表中的session] session.hashCode=-136484110, session.ip+port=
 INFO | [IMCORE-websocket]与{uid:null}/192.168.1.5:62981的会话建立(channelActive)了...
 INFO | ---------------------------------------------------------
 INFO | [IMCORE-websocket] << 收到客户端{uid:null}/192.168.1.5:62981的消息:::{"bridge":false,"type":0,"dataContent":"{\"loginUserId\":\"1\",\"loginToken\":\"47384h3uhjfh3j4j343j434h43\",\"firstLoginTime\":1639642390198}","from":"1","to":"0","QoS":false,"typeu":-1,"sm":0}
 INFO | [IMCORE-websocket]>> 客户端{uid:null}/192.168.1.5:62981发过来的登陆信息内容是:uid=1、token=47384h3uhjfh3j4j343j434h43、firstLoginTime=1639642390198

即时通讯网 - 即时通讯开发者社区! 来源: - 即时通讯开发者社区!

上一篇:开源轻量级IM框架 MobileIMSDK v6.1.2 已发布!下一篇:[已回复] MobileIMSDK客户端之间能否知道对方是否在线?

本帖已收录至以下技术专辑

推荐方案
评论 1
这很奇怪,你用默认的浏览器端Demo连你部署的这个同一个服务端,效果是什么样的?也会每10秒掉线吗?
对照一下,看看是什么效果?
打赏楼主 ×
使用微信打赏! 使用支付宝打赏!

返回顶部