Closed hmengy closed 2 years ago
前期在使用时是正常的,使用单聊收发消息都没有问题,但在使用群聊发送group消息之后,调用初始化及登录就出现闪退. 在对iOS端Example示例项目中替换了API_ADDRESS,WS_ADDRESS,LOGIN_USER_ID及token时也出现了同样的闪退现象. 崩溃点如下: 请问这种问题如何处理?
为什么会再次调用初始化和登录呢?
前期在使用时是正常的,使用单聊收发消息都没有问题,但使用群聊发送群组消息后,调用初始化和登录就出现闪退。在对iOS端示例项目中替换了API_ADDRESS,WS_ADDRESS,LOGIN_USER_ID及token时也出现了同样的闪退现象。崩溃点如下:请问如何处理这种问题?
为什么会再次调用初始化和登录?
不是发送消息后再次调用登录和初始化,而是我的账号进行发送群组消息测试后,当我下次启动app时,SDK初始化和登录那里出现了上图的闪退
@hmengy 我试了下我们的服务器完全正常。 你把服务器代码的版本和客户端的代码版本都贴出来,然后你把控制台打印的完整日志拷贝出来看看。
@hmengy 我试了下我们的服务器完全正常。 你把服务器代码的版本和客户端的代码版本都贴出来,然后你把控制台打印的完整日志拷贝出来看看。
服务器是从48f15bb71ce392b2485761808677a4f22a110952 的这个commit拉取的代码, iOS客户端是版本是2.0.7,(直接用的示例,改的了token等) 控制台日志(从启动到闪退): 2022-05-16 10:02:13.650522+0800 OpenIMSDKiOS_Example[15560:2916570]
-----初始化------ 2022-05-16 02:02:13.651[36m [INFO] [PID:15560] [FilePath:open_im_sdk_interface.go:58] [OperationID:22571140-9731-4B02-9F68-0B5F8F3CCB59] [0m[config {"data_dir":"\/var\/mobile\/Containers\/Data\/Application\/C3D82A02-0B00-4913-ADC6-68E06824D50A\/Documents\/","api_addr":"http:\/\/im-dev.hoogeek.com:10000","ws_addr":"ws:\/\/im-dev.hoogeek.com:17778","log_level":6,"object_storage":"cos","platform":1} {1 http://im-dev.hoogeek.com:10000 ws://im-dev.hoogeek.com:17778 /var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents/ 6 cos}] 2022-05-16 02:02:13.651[36m [INFO] [PID:15560] [FilePath:open_im_sdk_interface.go:59] [OperationID:22571140-9731-4B02-9F68-0B5F8F3CCB59] [0m[InitSDK {"data_dir":"\/var\/mobile\/Containers\/Data\/Application\/C3D82A02-0B00-4913-ADC6-68E06824D50A\/Documents\/","api_addr":"http:\/\/im-dev.hoogeek.com:10000","ws_addr":"ws:\/\/im-dev.hoogeek.com:17778","log_level":6,"object_storage":"cos","platform":1} Open-IM-SDK-Core-v2.0.0] 2022-05-16 02:02:13.651[36m [INFO] [PID:15560] [FilePath:init_login.go:239] [OperationID:22571140-9731-4B02-9F68-0B5F8F3CCB59] [0m[InitSDK {1 http://im-dev.hoogeek.com:10000 ws://im-dev.hoogeek.com:17778 /var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents/ 6 cos}] 2022-05-16 10:02:13.651571+0800 OpenIMSDKiOS_Example[15560:2916570] 初始化成功与否:1 2022-05-16 10:02:13.651658+0800 OpenIMSDKiOS_Example[15560:2916570]
----- login ----- 2022-05-16 02:02:13.651[36m [INFO] [PID:15560] [FilePath:init_login.go:161] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[login start... 232675 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9.ZK0ckMZJTAFNsHgI-AvCQq00NXC7HymhJnZaK-C1iaU {1 http://im-dev.hoogeek.com:10000 ws://im-dev.hoogeek.com:17778 /var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents/ 6 cos}] 2022-05-16 02:02:13.651[37m [DEBU] [PID:15560] [FilePath:init_login.go:388] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[CheckToken 232675 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9.ZK0ckMZJTAFNsHgI-AvCQq00NXC7HymhJnZaK-C1iaU] 2022-05-16 02:02:13.652[37m [DEBU] [PID:15560] [FilePath:user.go:152] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[GetSelfUserInfoFromSvr] 2022-05-16 02:02:13.865[36m [INFO] [PID:15560] [FilePath:init_login.go:164] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[checkToken ok 232675 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9.ZK0ckMZJTAFNsHgI-AvCQq00NXC7HymhJnZaK-C1iaU] 2022-05-16 02:02:13.871[36m [INFO] [PID:15560] [FilePath:db_init.go:88] [OperationID:open db:] [0m[/var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents//OpenIM_v2_232675.db] 2022-05-16 02:02:13.978[36m [INFO] [PID:15560] [FilePath:db_init.go:178] [OperationID:init db] [0m[startInitWorkMomentsNotificationUnreadCount ] 2022-05-16 02:02:13.979[36m [INFO] [PID:15560] [FilePath:db_init.go:53] [OperationID:] [0m[open db 232675] 2022-05-16 02:02:13.979[36m [INFO] [PID:15560] [FilePath:db_init.go:55] [OperationID:] [0m[db in map 232675] 2022-05-16 02:02:13.979[36m [INFO] [PID:15560] [FilePath:init_login.go:175] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[NewDataBase ok 232675 /var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents/] 2022-05-16 10:02:13.979906+0800 OpenIMSDKiOS_Example[15560:2916570] connecting 2022-05-16 02:02:14.136[36m [INFO] [PID:15560] [FilePath:ws_conn.go:160] [OperationID:1652666536576792162] [0m[ws conn, dail : ws://im-dev.hoogeek.com:17778?sendID=232675&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9.ZK0ckMZJTAFNsHgI-AvCQq00NXC7HymhJnZaK-C1iaU&platformID=1&operationID=1652666536576792162] 2022-05-16 10:02:14.137559+0800 OpenIMSDKiOS_Example[15560:2916570] connect success 2022-05-16 02:02:14.143[36m [INFO] [PID:15560] [FilePath:msg_sync.go:40] [OperationID:] [0m[load seq, normal, abnormal, 0 0 0 0] 2022-05-16 02:02:14.144[31m [ERRO] [PID:15560] [FilePath:open_im_sdk_work_moments.go:12] [OperationID:] [0m[callback is null] 2022-05-16 02:02:14.144[36m [INFO] [PID:15560] [FilePath:init_login.go:208] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[cos] 2022-05-16 02:02:14.144[36m [INFO] [PID:15560] [FilePath:trigger_channel.go:110] [OperationID:internal] [0m[doListener start. 0x13040bda0] 2022-05-16 02:02:14.144[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:105] [OperationID:1652666536998293694] [0m[send heartbeat req] 2022-05-16 02:02:14.144[36m [INFO] [PID:15560] [FilePath:init_login.go:210] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[forcedSynchronization success...] 2022-05-16 02:02:14.144[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:56] [OperationID:1652666536998293694] [0m[sub token eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9] 2022-05-16 02:02:14.144[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:62] [OperationID:1652666536998293694] [0m[decodeBytes {"UID":"232675","Platform":"IOS","exp":1653269341,"nbf":1652664541,"iat":1652664541}] 2022-05-16 02:02:14.146[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:69] [OperationID:1652666536998293694] [0m[exp 1653269341 now 1652666534] 2022-05-16 02:02:14.144[36m [INFO] [PID:15560] [FilePath:friend.go:296] [OperationID:1652666536024370118] [0m[SyncSelfFriendApplication args: ] 2022-05-16 02:02:14.144[36m [INFO] [PID:15560] [FilePath:init_login.go:211] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[all channel 0x13040bda0 0x13040bc80 0x13040bd40 0x13040bce0] 2022-05-16 02:02:14.145[36m [INFO] [PID:15560] [FilePath:group.go:811] [OperationID:1652666536024370118] [0m[SyncJoinedGroupMember args: ] 2022-05-16 02:02:14.147[37m [DEBU] [PID:15560] [FilePath:group.go:562] [OperationID:1652666536024370118] [0m[api args: {1652666536024370118 232675}] 2022-05-16 02:02:14.145[36m [INFO] [PID:15560] [FilePath:group.go:645] [OperationID:1652666536024370118] [0m[SyncAdminGroupApplication args: ] 2022-05-16 02:02:14.145[36m [INFO] [PID:15560] [FilePath:friend.go:358] [OperationID:1652666536024370118] [0m[SyncFriendApplication args: ] 2022-05-16 02:02:14.148[36m [INFO] [PID:15560] [FilePath:friend.go:249] [OperationID:1652666536024370118] [0m[getFriendApplicationFromServer args: ] 2022-05-16 02:02:14.149[36m [INFO] [PID:15560] [FilePath:init_login.go:212] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[cos] 2022-05-16 02:02:14.149[36m [INFO] [PID:15560] [FilePath:friend.go:262] [OperationID:1652666536024370118] [0m[getSelfFriendApplicationFromServer args: ] 2022-05-16 02:02:14.150[36m [INFO] [PID:15560] [FilePath:conversation.go:229] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[SyncConversations] 2022-05-16 02:02:14.150[36m [INFO] [PID:15560] [FilePath:conversation.go:215] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[getServerConversationList] 2022-05-16 02:02:14.145[36m [INFO] [PID:15560] [FilePath:friend.go:419] [OperationID:1652666536024370118] [0m[SyncFriendList args: ] 2022-05-16 02:02:14.151[36m [INFO] [PID:15560] [FilePath:friend.go:224] [OperationID:1652666536024370118] [0m[getServerFriendList args: ] 2022-05-16 02:02:14.145[36m [INFO] [PID:15560] [FilePath:group.go:584] [OperationID:1652666536024370118] [0m[SyncSelfGroupApplication args: ] 2022-05-16 02:02:14.145[36m [INFO] [PID:15560] [FilePath:friend.go:475] [OperationID:1652666536024370118] [0m[SyncBlackList args: ] 2022-05-16 02:02:14.144[36m [INFO] [PID:15560] [FilePath:user.go:73] [OperationID:1652666536024370118] [0m[SyncLoginUserInfo args: ] 2022-05-16 02:02:14.152[36m [INFO] [PID:15560] [FilePath:friend.go:236] [OperationID:1652666536024370118] [0m[getServerBlackList args: ] 2022-05-16 02:02:14.152[37m [DEBU] [PID:15560] [FilePath:user.go:152] [OperationID:1652666536024370118] [0m[GetSelfUserInfoFromSvr] 2022-05-16 02:02:14.144[36m [INFO] [PID:15560] [FilePath:organization.go:113] [OperationID:1652666536024370118] [0m[SyncDepartment args: ] 2022-05-16 02:02:14.144[36m [INFO] [PID:15560] [FilePath:group.go:705] [OperationID:1652666536024370118] [0m[SyncJoinedGroupList args: ] 2022-05-16 02:02:14.153[37m [DEBU] [PID:15560] [FilePath:group.go:562] [OperationID:1652666536024370118] [0m[api args: {1652666536024370118 232675}] 2022-05-16 02:02:14.153[37m [DEBU] [PID:15560] [FilePath:ws_conn.go:104] [OperationID:this msg length is :] [0m[0 kb] 2022-05-16 02:02:14.154[37m [DEBU] [PID:15560] [FilePath:ws.go:107] [OperationID:1652666536998293694] [0m[send ok wait resp] 2022-05-16 02:02:14.265[37m [DEBU] [PID:15560] [FilePath:ws.go:233] [OperationID:1652666536998293694] [0m[ws recv msg, code: 0 1001] 2022-05-16 02:02:14.308[37m [DEBU] [PID:15560] [FilePath:ws.go:49] [OperationID:1652666536998293694] [0m[ws ch recvMsg success, code 0] 2022-05-16 02:02:14.309[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:131] [OperationID:1652666536998293694] [0m[recv heartbeat resp, max seq on svr: 22] 2022-05-16 02:02:14.310[37m [DEBU] [PID:15560] [FilePath:msg_sync.go:46] [OperationID:1652666536998293694] [0m[recv max seq on svr, doMaxSeq, maxSeqOnSvr, m.seqMaxSynchronized, m.seqMaxNeedSync 22 0 0] 2022-05-16 02:02:14.310[37m [DEBU] [PID:15560] [FilePath:msg_sync.go:52] [OperationID:1652666536998293694] [0m[syncMsgFromServer 1 22] 2022-05-16 02:02:14.310[36m [INFO] [PID:15560] [FilePath:msg_sync.go:105] [OperationID:] [0m[do syncMsg 1 22] 2022-05-16 02:02:14.310[37m [DEBU] [PID:15560] [FilePath:ws_conn.go:104] [OperationID:this msg length is :] [0m[0 kb] 2022-05-16 02:02:14.312[37m [DEBU] [PID:15560] [FilePath:ws.go:107] [OperationID:1652666534982546080] [0m[send ok wait resp] 2022-05-16 02:02:14.360[36m [INFO] [PID:15560] [FilePath:friend.go:231] [OperationID:1652666536024370118] [0m[getServerFriendList return: []] 2022-05-16 02:02:14.360[36m [INFO] [PID:15560] [FilePath:group.go:658] [OperationID:1652666536024370118] [0m[svrList onServer onLocal [] [] []] 2022-05-16 02:02:14.360[36m [INFO] [PID:15560] [FilePath:group.go:660] [OperationID:1652666536024370118] [0m[diff [] [] [] []] 2022-05-16 02:02:14.361[36m [INFO] [PID:15560] [FilePath:friend.go:256] [OperationID:1652666536024370118] [0m[getFriendApplicationFromServer return: []] 2022-05-16 02:02:14.364[36m [INFO] [PID:15560] [FilePath:friend.go:431] [OperationID:1652666536024370118] [0m[list [] [] []] 2022-05-16 02:02:14.364[36m [INFO] [PID:15560] [FilePath:friend.go:436] [OperationID:1652666536024370118] [0m[diff [] [] [] []] 2022-05-16 02:02:14.365[36m [INFO] [PID:15560] [FilePath:group.go:822] [OperationID:1652666536024370118] [0m[syncGroupMemberByGroupID begin 1] 2022-05-16 02:02:14.366[36m [INFO] [PID:15560] [FilePath:group.go:758] [OperationID:1652666536024370118] [0m[syncGroupMemberByGroupID args: 6664] 2022-05-16 02:02:14.367[36m [INFO] [PID:15560] [FilePath:friend.go:370] [OperationID:1652666536024370118] [0m[list [] [] []] 2022-05-16 02:02:14.367[37m [DEBU] [PID:15560] [FilePath:friend.go:373] [OperationID:1652666536024370118] [0m[diff [] [] [] []] 2022-05-16 02:02:14.368[36m [INFO] [PID:15560] [FilePath:group.go:707] [OperationID:1652666536024370118] [0m[getJoinedGroupListFromSvr [groupID:"6664" groupName:"6664" ownerUserID:"206456" createTime:1651821267 memberCount:2 creatorUserID:"206456" ] 232675] 2022-05-16 02:02:14.371[36m [INFO] [PID:15560] [FilePath:conversation.go:245] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[diff [] [] [] []] 2022-05-16 02:02:14.371[36m [INFO] [PID:15560] [FilePath:init_login.go:233] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] [0m[login success...] 2022-05-16 10:02:14.372534+0800 OpenIMSDKiOS_Example[15560:2916570]
-----login Success -----
2022-05-16 02:02:14.372[36m [INFO] [PID:15560] [FilePath:trigger_channel.go:110] [OperationID:internal] [0m[doListener start. 0x13040bc80]
2022-05-16 02:02:14.374[36m [INFO] [PID:15560] [FilePath:init_login.go:154] [OperationID:AE9A1E74-804B-4B42-8443-FDCE8F50E529] [0m[wakeUp args ]
2022-05-16 10:02:14.376653+0800 OpenIMSDKiOS_Example[15560:2916570] data
2022-05-16 02:02:14.376[36m [INFO] [PID:15560] [FilePath:heartbeat.go:94] [OperationID:1652666534591675850] [0m[recv wake up cmd, start heartbeat wakeUp]
2022-05-16 02:02:14.376[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:105] [OperationID:1652666534591675850] [0m[send heartbeat req]
2022-05-16 02:02:14.376[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:56] [OperationID:1652666534591675850] [0m[sub token eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9]
2022-05-16 02:02:14.376[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:62] [OperationID:1652666534591675850] [0m[decodeBytes {"UID":"232675","Platform":"IOS","exp":1653269341,"nbf":1652664541,"iat":1652664541}]
2022-05-16 02:02:14.377[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:69] [OperationID:1652666534591675850] [0m[exp 1653269341 now 1652666534]
2022-05-16 02:02:14.378[37m [DEBU] [PID:15560] [FilePath:ws_conn.go:104] [OperationID:this msg length is :] [0m[0 kb]
2022-05-16 02:02:14.378[37m [DEBU] [PID:15560] [FilePath:ws.go:107] [OperationID:1652666534591675850] [0m[send ok wait resp]
2022-05-16 02:02:14.377[36m [INFO] [PID:15560] [FilePath:group.go:719] [OperationID:1652666536024370118] [0m[ onLocal [0x13016cbb0] 232675]
2022-05-16 02:02:14.379[36m [INFO] [PID:15560] [FilePath:group.go:721] [OperationID:1652666536024370118] [0m[diff [] [] [] [] 232675]
2022-05-16 02:02:14.403[37m [DEBU] [PID:15560] [FilePath:ws.go:233] [OperationID:1652666534982546080] [0m[ws recv msg, code: 0 1002]
2022-05-16 02:02:14.403[37m [DEBU] [PID:15560] [FilePath:ws.go:49] [OperationID:1652666534982546080] [0m[ws ch recvMsg success, code 0]
2022-05-16 02:02:14.405[33m [WARN] [PID:15560] [FilePath:msg_sync.go:159] [OperationID:1652666534982546080] [0m[TriggerCmdNewMsgCome ok 232675]
2022-05-16 02:02:14.405[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:681] [OperationID:internal] [0m[doListener work.. 005]
2022-05-16 02:02:14.406[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:689] [OperationID:internal] [0m[doMsgNew start.. 005]
2022-05-16 02:02:14.406[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:105] [OperationID:1652666534982546080] [0m[do Msg come here]
2022-05-16 02:02:14.408[36m [INFO] [PID:15560] [FilePath:group.go:37] [OperationID:1652666537903116023] [0m[DoNotification args: 12acbffcd24f3014ec8f4936e300d833 6e1c056c3625a4c8fb952fae08d3b88d]
2022-05-16 02:02:14.409[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:182] [OperationID:1652666534982546080] [0m[DoGroupMsg SingleChatType sendID:"206456" recvID:"232675" groupID:"6664" clientMsgID:"12acbffcd24f3014ec8f4936e300d833" serverMsgID:"6e1c056c3625a4c8fb952fae08d3b88d" sessionType:2 contentType:1501 content:"\n\210\001\n$\n\0046664\022\00466642\0062064568\323\225\323\223\006@\002Z\006206456\022 \n\0046664\022\006206456\030\002 \324\225\323\223\0068\001J\006206456\032\036\n\0046664\022\006232675\030\001 \324\225\323\223\006J\006206456\036\n\0046664\022\006206456\030\002 \324\225\323\223\006J\006206456\022\021 create the group\032\354\003{\"group\":{\"groupID\":\"6664\",\"groupName\":\"6664\",\"ownerUserID\":\"206456\",\"createTime\":1651821267,\"memberCount\":2,\"creatorUserID\":\"206456\"},\"opUser\":{\"groupID\":\"6664\",\"userID\":\"206456\",\"roleLevel\":2,\"joinTime\":1651821268,\"appMangerLevel\":1,\"operatorUserID\":\"206456\"},\"memberList\":[{\"groupID\":\"6664\",\"userID\":\"232675\",\"roleLevel\":1,\"joinTime\":1651821268,\"operatorUserID\":\"206456\"}],\"groupOwnerUser\":{\"groupID\":\"6664\",\"userID\":\"206456\",\"roleLevel\":2,\"joinTime\":1651821268,\"operatorUserID\":\"206456\"}}" seq:1 sendTime:1651821267516 createTime:1651821267512 options:<key:"offlinePush" value:true > options:<key:"unreadCount" value:true > offlinePushInfo:<title:"create group title" desc:"create group desc" ex:"create group ext" iOSPushSound:"xxx" iOSBadgeCount:true > ]
map[offlinePush:true unreadCount:true] true
2022-05-16 02:02:14.409[36m [INFO] [PID:15560] [FilePath:group.go:79] [OperationID:1652666537903116023] [0m[groupCreatedNotification args: 12acbffcd24f3014ec8f4936e300d833 6e1c056c3625a4c8fb952fae08d3b88d]
2022-05-16 02:02:14.410[36m [INFO] [PID:15560] [FilePath:group.go:705] [OperationID:1652666537903116023] [0m[SyncJoinedGroupList args: ]
2022-05-16 02:02:14.410[37m [DEBU] [PID:15560] [FilePath:group.go:562] [OperationID:1652666537903116023] [0m[api args: {1652666537903116023 232675}]
map[] true
2022-05-16 02:02:14.457[37m [DEBU] [PID:15560] [FilePath:ws.go:233] [OperationID:1652666534591675850] [0m[ws recv msg, code: 0 1001]
2022-05-16 02:02:14.458[37m [DEBU] [PID:15560] [FilePath:ws.go:49] [OperationID:1652666534591675850] [0m[ws ch recvMsg success, code 0]
2022-05-16 02:02:14.458[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:131] [OperationID:1652666534591675850] [0m[recv heartbeat resp, max seq on svr: 22]
2022-05-16 02:02:14.458[37m [DEBU] [PID:15560] [FilePath:msg_sync.go:46] [OperationID:1652666534591675850] [0m[recv max seq on svr, doMaxSeq, maxSeqOnSvr, m.seqMaxSynchronized, m.seqMaxNeedSync 22 22 22]
map[] true
2022-05-16 02:02:14.460[31m [ERRO] [PID:15560] [FilePath:organization.go:116] [OperationID:1652666536024370118] [0m[getAllDepartmentFromSvr failed ==> open_im_sdk/internal/organization.(Organization).getSubDepartmentFromSvr()@87: 1652666536024370118: ==> open_im_sdk/pkg/common.CheckErrAndResp()@79: api resp failed: ==> open_im_sdk/pkg/network.Post2Api()@42: post: ==> open_im_sdk/pkg/network.postLogic()@70: status code failed http://im-dev.hoogeek.com:10000/organization/get_sub_department: 404 Not Found]
2022-05-16 02:02:14.461[36m [INFO] [PID:15560] [FilePath:organization.go:227] [OperationID:1652666536024370118] [0m[SyncAllDepartmentMember args: ]
map[] true
2022-05-16 02:02:14.465[36m [INFO] [PID:15560] [FilePath:friend.go:243] [OperationID:1652666536024370118] [0m[getServerBlackList return: []]
2022-05-16 02:02:14.465[36m [INFO] [PID:15560] [FilePath:friend.go:269] [OperationID:1652666536024370118] [0m[getSelfFriendApplicationFromServer return: []]
2022-05-16 02:02:14.468[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:204] [OperationID:1652666534982546080] [0m[sync message 4 2ccbe34a571ba16c91b7d9274270ccae 3563caeaa359bf5a9ca1ccd8ead53cb1 {3563caeaa359bf5a9ca1ccd8ead53cb1 2ccbe34a571ba16c91b7d9274270ccae 1651821339799 1651821340019 2 232675 232675 100 101 1 6664 {"content":"您好,请问在吗?","contentType":101} 4 false 2 { false {} [] 0} { { 0 0 0 } { 0 0 0 } { 0 0 0 }} { 0 0} { 0 0 0 0 0} { 0} { [] []} { [] []
@hmengy 我试了下我们的服务器完全正常。 你把服务器代码的版本和客户端的代码版本都贴出来,然后你把控制台打印的完整日志拷贝出来看看。
服务器是从48f15bb71ce392b2485761808677a4f22a110952 的这个commit拉取的代码, iOS客户端是版本是2.0.7,(直接用的示例,改的了token等) 控制台日志(从启动到闪退): 2022-05-16 10:02:13.650522+0800 OpenIMSDKiOS_Example[15560:2916570]
-----初始化------ 2022-05-16 02:02:13.651�[36m [INFO] [PID:15560] [FilePath:open_im_sdk_interface.go:58] [OperationID:22571140-9731-4B02-9F68-0B5F8F3CCB59] �[0m[config {"data_dir":"/var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents/","api_addr":"http://im-dev.hoogeek.com:10000","ws_addr":"ws://im-dev.hoogeek.com:17778","log_level":6,"object_storage":"cos","platform":1} {1 http://im-dev.hoogeek.com:10000 ws://im-dev.hoogeek.com:17778 /var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents/ 6 cos}] 2022-05-16 02:02:13.651�[36m [INFO] [PID:15560] [FilePath:open_im_sdk_interface.go:59] [OperationID:22571140-9731-4B02-9F68-0B5F8F3CCB59] �[0m[InitSDK {"data_dir":"/var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents/","api_addr":"http://im-dev.hoogeek.com:10000","ws_addr":"ws://im-dev.hoogeek.com:17778","log_level":6,"object_storage":"cos","platform":1} Open-IM-SDK-Core-v2.0.0] 2022-05-16 02:02:13.651�[36m [INFO] [PID:15560] [FilePath:init_login.go:239] [OperationID:22571140-9731-4B02-9F68-0B5F8F3CCB59] �[0m[InitSDK {1 http://im-dev.hoogeek.com:10000 ws://im-dev.hoogeek.com:17778 /var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents/ 6 cos}] 2022-05-16 10:02:13.651571+0800 OpenIMSDKiOS_Example[15560:2916570] 初始化成功与否:1 2022-05-16 10:02:13.651658+0800 OpenIMSDKiOS_Example[15560:2916570]
----- login ----- 2022-05-16 02:02:13.651�[36m [INFO] [PID:15560] [FilePath:init_login.go:161] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[login start... 232675 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9.ZK0ckMZJTAFNsHgI-AvCQq00NXC7HymhJnZaK-C1iaU {1 http://im-dev.hoogeek.com:10000 ws://im-dev.hoogeek.com:17778 /var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents/ 6 cos}] 2022-05-16 02:02:13.651�[37m [DEBU] [PID:15560] [FilePath:init_login.go:388] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[CheckToken 232675 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9.ZK0ckMZJTAFNsHgI-AvCQq00NXC7HymhJnZaK-C1iaU] 2022-05-16 02:02:13.652�[37m [DEBU] [PID:15560] [FilePath:user.go:152] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[GetSelfUserInfoFromSvr] 2022-05-16 02:02:13.865�[36m [INFO] [PID:15560] [FilePath:init_login.go:164] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[checkToken ok 232675 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9.ZK0ckMZJTAFNsHgI-AvCQq00NXC7HymhJnZaK-C1iaU] 2022-05-16 02:02:13.871�[36m [INFO] [PID:15560] [FilePath:db_init.go:88] [OperationID:open db:] �[0m[/var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents//OpenIM_v2_232675.db] 2022-05-16 02:02:13.978�[36m [INFO] [PID:15560] [FilePath:db_init.go:178] [OperationID:init db] �[0m[startInitWorkMomentsNotificationUnreadCount ] 2022-05-16 02:02:13.979�[36m [INFO] [PID:15560] [FilePath:db_init.go:53] [OperationID:] �[0m[open db 232675] 2022-05-16 02:02:13.979�[36m [INFO] [PID:15560] [FilePath:db_init.go:55] [OperationID:] �[0m[db in map 232675] 2022-05-16 02:02:13.979�[36m [INFO] [PID:15560] [FilePath:init_login.go:175] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[NewDataBase ok 232675 /var/mobile/Containers/Data/Application/C3D82A02-0B00-4913-ADC6-68E06824D50A/Documents/] 2022-05-16 10:02:13.979906+0800 OpenIMSDKiOS_Example[15560:2916570] connecting 2022-05-16 02:02:14.136�[36m [INFO] [PID:15560] [FilePath:ws_conn.go:160] [OperationID:1652666536576792162] �[0m[ws conn, dail : ws://im-dev.hoogeek.com:17778?sendID=232675&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9.ZK0ckMZJTAFNsHgI-AvCQq00NXC7HymhJnZaK-C1iaU&platformID=1&operationID=1652666536576792162] 2022-05-16 10:02:14.137559+0800 OpenIMSDKiOS_Example[15560:2916570] connect success 2022-05-16 02:02:14.143�[36m [INFO] [PID:15560] [FilePath:msg_sync.go:40] [OperationID:] �[0m[load seq, normal, abnormal, 0 0 0 0] 2022-05-16 02:02:14.144�[31m [ERRO] [PID:15560] [FilePath:open_im_sdk_work_moments.go:12] [OperationID:] �[0m[callback is null] 2022-05-16 02:02:14.144�[36m [INFO] [PID:15560] [FilePath:init_login.go:208] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[cos] 2022-05-16 02:02:14.144�[36m [INFO] [PID:15560] [FilePath:trigger_channel.go:110] [OperationID:internal] �[0m[doListener start. 0x13040bda0] 2022-05-16 02:02:14.144�[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:105] [OperationID:1652666536998293694] �[0m[send heartbeat req] 2022-05-16 02:02:14.144�[36m [INFO] [PID:15560] [FilePath:init_login.go:210] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[forcedSynchronization success...] 2022-05-16 02:02:14.144�[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:56] [OperationID:1652666536998293694] �[0m[sub token eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9] 2022-05-16 02:02:14.144�[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:62] [OperationID:1652666536998293694] �[0m[decodeBytes {"UID":"232675","Platform":"IOS","exp":1653269341,"nbf":1652664541,"iat":1652664541}] 2022-05-16 02:02:14.146�[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:69] [OperationID:1652666536998293694] �[0m[exp 1653269341 now 1652666534] 2022-05-16 02:02:14.144�[36m [INFO] [PID:15560] [FilePath:friend.go:296] [OperationID:1652666536024370118] �[0m[SyncSelfFriendApplication args: ] 2022-05-16 02:02:14.144�[36m [INFO] [PID:15560] [FilePath:init_login.go:211] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[all channel 0x13040bda0 0x13040bc80 0x13040bd40 0x13040bce0] 2022-05-16 02:02:14.145�[36m [INFO] [PID:15560] [FilePath:group.go:811] [OperationID:1652666536024370118] �[0m[SyncJoinedGroupMember args: ] 2022-05-16 02:02:14.147�[37m [DEBU] [PID:15560] [FilePath:group.go:562] [OperationID:1652666536024370118] �[0m[api args: {1652666536024370118 232675}] 2022-05-16 02:02:14.145�[36m [INFO] [PID:15560] [FilePath:group.go:645] [OperationID:1652666536024370118] �[0m[SyncAdminGroupApplication args: ] 2022-05-16 02:02:14.145�[36m [INFO] [PID:15560] [FilePath:friend.go:358] [OperationID:1652666536024370118] �[0m[SyncFriendApplication args: ] 2022-05-16 02:02:14.148�[36m [INFO] [PID:15560] [FilePath:friend.go:249] [OperationID:1652666536024370118] �[0m[getFriendApplicationFromServer args: ] 2022-05-16 02:02:14.149�[36m [INFO] [PID:15560] [FilePath:init_login.go:212] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[cos] 2022-05-16 02:02:14.149�[36m [INFO] [PID:15560] [FilePath:friend.go:262] [OperationID:1652666536024370118] �[0m[getSelfFriendApplicationFromServer args: ] 2022-05-16 02:02:14.150�[36m [INFO] [PID:15560] [FilePath:conversation.go:229] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[SyncConversations] 2022-05-16 02:02:14.150�[36m [INFO] [PID:15560] [FilePath:conversation.go:215] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[getServerConversationList] 2022-05-16 02:02:14.145�[36m [INFO] [PID:15560] [FilePath:friend.go:419] [OperationID:1652666536024370118] �[0m[SyncFriendList args: ] 2022-05-16 02:02:14.151�[36m [INFO] [PID:15560] [FilePath:friend.go:224] [OperationID:1652666536024370118] �[0m[getServerFriendList args: ] 2022-05-16 02:02:14.145�[36m [INFO] [PID:15560] [FilePath:group.go:584] [OperationID:1652666536024370118] �[0m[SyncSelfGroupApplication args: ] 2022-05-16 02:02:14.145�[36m [INFO] [PID:15560] [FilePath:friend.go:475] [OperationID:1652666536024370118] �[0m[SyncBlackList args: ] 2022-05-16 02:02:14.144�[36m [INFO] [PID:15560] [FilePath:user.go:73] [OperationID:1652666536024370118] �[0m[SyncLoginUserInfo args: ] 2022-05-16 02:02:14.152�[36m [INFO] [PID:15560] [FilePath:friend.go:236] [OperationID:1652666536024370118] �[0m[getServerBlackList args: ] 2022-05-16 02:02:14.152�[37m [DEBU] [PID:15560] [FilePath:user.go:152] [OperationID:1652666536024370118] �[0m[GetSelfUserInfoFromSvr] 2022-05-16 02:02:14.144�[36m [INFO] [PID:15560] [FilePath:organization.go:113] [OperationID:1652666536024370118] �[0m[SyncDepartment args: ] 2022-05-16 02:02:14.144�[36m [INFO] [PID:15560] [FilePath:group.go:705] [OperationID:1652666536024370118] �[0m[SyncJoinedGroupList args: ] 2022-05-16 02:02:14.153�[37m [DEBU] [PID:15560] [FilePath:group.go:562] [OperationID:1652666536024370118] �[0m[api args: {1652666536024370118 232675}] 2022-05-16 02:02:14.153�[37m [DEBU] [PID:15560] [FilePath:ws_conn.go:104] [OperationID:this msg length is :] �[0m[0 kb] 2022-05-16 02:02:14.154�[37m [DEBU] [PID:15560] [FilePath:ws.go:107] [OperationID:1652666536998293694] �[0m[send ok wait resp] 2022-05-16 02:02:14.265�[37m [DEBU] [PID:15560] [FilePath:ws.go:233] [OperationID:1652666536998293694] �[0m[ws recv msg, code: 0 1001] 2022-05-16 02:02:14.308�[37m [DEBU] [PID:15560] [FilePath:ws.go:49] [OperationID:1652666536998293694] �[0m[ws ch recvMsg success, code 0] 2022-05-16 02:02:14.309�[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:131] [OperationID:1652666536998293694] �[0m[recv heartbeat resp, max seq on svr: 22] 2022-05-16 02:02:14.310�[37m [DEBU] [PID:15560] [FilePath:msg_sync.go:46] [OperationID:1652666536998293694] �[0m[recv max seq on svr, doMaxSeq, maxSeqOnSvr, m.seqMaxSynchronized, m.seqMaxNeedSync 22 0 0] 2022-05-16 02:02:14.310�[37m [DEBU] [PID:15560] [FilePath:msg_sync.go:52] [OperationID:1652666536998293694] �[0m[syncMsgFromServer 1 22] 2022-05-16 02:02:14.310�[36m [INFO] [PID:15560] [FilePath:msg_sync.go:105] [OperationID:] �[0m[do syncMsg 1 22] 2022-05-16 02:02:14.310�[37m [DEBU] [PID:15560] [FilePath:ws_conn.go:104] [OperationID:this msg length is :] �[0m[0 kb] 2022-05-16 02:02:14.312�[37m [DEBU] [PID:15560] [FilePath:ws.go:107] [OperationID:1652666534982546080] �[0m[send ok wait resp] 2022-05-16 02:02:14.360�[36m [INFO] [PID:15560] [FilePath:friend.go:231] [OperationID:1652666536024370118] �[0m[getServerFriendList return: []] 2022-05-16 02:02:14.360�[36m [INFO] [PID:15560] [FilePath:group.go:658] [OperationID:1652666536024370118] �[0m[svrList onServer onLocal [] [] []] 2022-05-16 02:02:14.360�[36m [INFO] [PID:15560] [FilePath:group.go:660] [OperationID:1652666536024370118] �[0m[diff [] [] [] []] 2022-05-16 02:02:14.361�[36m [INFO] [PID:15560] [FilePath:friend.go:256] [OperationID:1652666536024370118] �[0m[getFriendApplicationFromServer return: []] 2022-05-16 02:02:14.364�[36m [INFO] [PID:15560] [FilePath:friend.go:431] [OperationID:1652666536024370118] �[0m[list [] [] []] 2022-05-16 02:02:14.364�[36m [INFO] [PID:15560] [FilePath:friend.go:436] [OperationID:1652666536024370118] �[0m[diff [] [] [] []] 2022-05-16 02:02:14.365�[36m [INFO] [PID:15560] [FilePath:group.go:822] [OperationID:1652666536024370118] �[0m[syncGroupMemberByGroupID begin 1] 2022-05-16 02:02:14.366�[36m [INFO] [PID:15560] [FilePath:group.go:758] [OperationID:1652666536024370118] �[0m[syncGroupMemberByGroupID args: 6664] 2022-05-16 02:02:14.367�[36m [INFO] [PID:15560] [FilePath:friend.go:370] [OperationID:1652666536024370118] �[0m[list [] [] []] 2022-05-16 02:02:14.367�[37m [DEBU] [PID:15560] [FilePath:friend.go:373] [OperationID:1652666536024370118] �[0m[diff [] [] [] []] 2022-05-16 02:02:14.368�[36m [INFO] [PID:15560] [FilePath:group.go:707] [OperationID:1652666536024370118] �[0m[getJoinedGroupListFromSvr [groupID:"6664" groupName:"6664" ownerUserID:"206456" createTime:1651821267 memberCount:2 creatorUserID:"206456" ] 232675] 2022-05-16 02:02:14.371�[36m [INFO] [PID:15560] [FilePath:conversation.go:245] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[diff [] [] [] []] 2022-05-16 02:02:14.371�[36m [INFO] [PID:15560] [FilePath:init_login.go:233] [OperationID:D70F37A4-C9AC-4057-8DCA-250B6A736C30] �[0m[login success...] 2022-05-16 10:02:14.372534+0800 OpenIMSDKiOS_Example[15560:2916570]
-----login Success ----- 2022-05-16 02:02:14.372�[36m [INFO] [PID:15560] [FilePath:trigger_channel.go:110] [OperationID:internal] �[0m[doListener start. 0x13040bc80] 2022-05-16 02:02:14.374�[36m [INFO] [PID:15560] [FilePath:init_login.go:154] [OperationID:AE9A1E74-804B-4B42-8443-FDCE8F50E529] �[0m[wakeUp args ] 2022-05-16 10:02:14.376653+0800 OpenIMSDKiOS_Example[15560:2916570] data 2022-05-16 02:02:14.376�[36m [INFO] [PID:15560] [FilePath:heartbeat.go:94] [OperationID:1652666534591675850] �[0m[recv wake up cmd, start heartbeat wakeUp] 2022-05-16 02:02:14.376�[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:105] [OperationID:1652666534591675850] �[0m[send heartbeat req] 2022-05-16 02:02:14.376�[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:56] [OperationID:1652666534591675850] �[0m[sub token eyJVSUQiOiIyMzI2NzUiLCJQbGF0Zm9ybSI6IklPUyIsImV4cCI6MTY1MzI2OTM0MSwibmJmIjoxNjUyNjY0NTQxLCJpYXQiOjE2NTI2NjQ1NDF9] 2022-05-16 02:02:14.376�[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:62] [OperationID:1652666534591675850] �[0m[decodeBytes {"UID":"232675","Platform":"IOS","exp":1653269341,"nbf":1652664541,"iat":1652664541}] 2022-05-16 02:02:14.377�[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:69] [OperationID:1652666534591675850] �[0m[exp 1653269341 now 1652666534] 2022-05-16 02:02:14.378�[37m [DEBU] [PID:15560] [FilePath:ws_conn.go:104] [OperationID:this msg length is :] �[0m[0 kb] 2022-05-16 02:02:14.378�[37m [DEBU] [PID:15560] [FilePath:ws.go:107] [OperationID:1652666534591675850] �[0m[send ok wait resp] 2022-05-16 02:02:14.377�[36m [INFO] [PID:15560] [FilePath:group.go:719] [OperationID:1652666536024370118] �[0m[ onLocal [0x13016cbb0] 232675] 2022-05-16 02:02:14.379�[36m [INFO] [PID:15560] [FilePath:group.go:721] [OperationID:1652666536024370118] �[0m[diff [] [] [] [] 232675] 2022-05-16 02:02:14.403�[37m [DEBU] [PID:15560] [FilePath:ws.go:233] [OperationID:1652666534982546080] �[0m[ws recv msg, code: 0 1002] 2022-05-16 02:02:14.403�[37m [DEBU] [PID:15560] [FilePath:ws.go:49] [OperationID:1652666534982546080] �[0m[ws ch recvMsg success, code 0] 2022-05-16 02:02:14.405�[33m [WARN] [PID:15560] [FilePath:msg_sync.go:159] [OperationID:1652666534982546080] �[0m[TriggerCmdNewMsgCome ok 232675] 2022-05-16 02:02:14.405�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:681] [OperationID:internal] �[0m[doListener work.. 005] 2022-05-16 02:02:14.406�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:689] [OperationID:internal] �[0m[doMsgNew start.. 005] 2022-05-16 02:02:14.406�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:105] [OperationID:1652666534982546080] �[0m[do Msg come here] 2022-05-16 02:02:14.408�[36m [INFO] [PID:15560] [FilePath:group.go:37] [OperationID:1652666537903116023] �[0m[DoNotification args: 12acbffcd24f3014ec8f4936e300d833 6e1c056c3625a4c8fb952fae08d3b88d] 2022-05-16 02:02:14.409�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:182] [OperationID:1652666534982546080] �[0m[DoGroupMsg SingleChatType sendID:"206456" recvID:"232675" groupID:"6664" clientMsgID:"12acbffcd24f3014ec8f4936e300d833" serverMsgID:"6e1c056c3625a4c8fb952fae08d3b88d" sessionType:2 contentType:1501 content:"\n\210\001\n$\n\0046664\022\00466642\0062064568\323\225\323\223\006@\002Z\006206456\022 \n\0046664\022\006206456\030\002 \324\225\323\223\0068\001J\006206456\032\036\n\0046664\022\006232675\030\001 \324\225\323\223\006J\006206456\036\n\0046664\022\006206456\030\002 \324\225\323\223\006J\006206456\022\021 create the group\032\354\003{"group":{"groupID":"6664","groupName":"6664","ownerUserID":"206456","createTime":1651821267,"memberCount":2,"creatorUserID":"206456"},"opUser":{"groupID":"6664","userID":"206456","roleLevel":2,"joinTime":1651821268,"appMangerLevel":1,"operatorUserID":"206456"},"memberList":[{"groupID":"6664","userID":"232675","roleLevel":1,"joinTime":1651821268,"operatorUserID":"206456"}],"groupOwnerUser":{"groupID":"6664","userID":"206456","roleLevel":2,"joinTime":1651821268,"operatorUserID":"206456"}}" seq:1 sendTime:1651821267516 createTime:1651821267512 options:<key:"offlinePush" value:true > options:<key:"unreadCount" value:true > offlinePushInfo:<title:"create group title" desc:"create group desc" ex:"create group ext" iOSPushSound:"xxx" iOSBadgeCount:true > ] map[offlinePush:true unreadCount:true] true 2022-05-16 02:02:14.409�[36m [INFO] [PID:15560] [FilePath:group.go:79] [OperationID:1652666537903116023] �[0m[groupCreatedNotification args: 12acbffcd24f3014ec8f4936e300d833 6e1c056c3625a4c8fb952fae08d3b88d] 2022-05-16 02:02:14.410�[36m [INFO] [PID:15560] [FilePath:group.go:705] [OperationID:1652666537903116023] �[0m[SyncJoinedGroupList args: ] 2022-05-16 02:02:14.410�[37m [DEBU] [PID:15560] [FilePath:group.go:562] [OperationID:1652666537903116023] �[0m[api args: {1652666537903116023 232675}] map[] true 2022-05-16 02:02:14.457�[37m [DEBU] [PID:15560] [FilePath:ws.go:233] [OperationID:1652666534591675850] �[0m[ws recv msg, code: 0 1001] 2022-05-16 02:02:14.458�[37m [DEBU] [PID:15560] [FilePath:ws.go:49] [OperationID:1652666534591675850] �[0m[ws ch recvMsg success, code 0] 2022-05-16 02:02:14.458�[37m [DEBU] [PID:15560] [FilePath:heartbeat.go:131] [OperationID:1652666534591675850] �[0m[recv heartbeat resp, max seq on svr: 22] 2022-05-16 02:02:14.458�[37m [DEBU] [PID:15560] [FilePath:msg_sync.go:46] [OperationID:1652666534591675850] �[0m[recv max seq on svr, doMaxSeq, maxSeqOnSvr, m.seqMaxSynchronized, m.seqMaxNeedSync 22 22 22] map[] true 2022-05-16 02:02:14.460�[31m [ERRO] [PID:15560] [FilePath:organization.go:116] [OperationID:1652666536024370118] �[0m[getAllDepartmentFromSvr failed ==> open_im_sdk/internal/organization.(Organization).getSubDepartmentFromSvr()@87: 1652666536024370118: ==> open_im_sdk/pkg/common.CheckErrAndResp()@79: api resp failed: ==> open_im_sdk/pkg/network.Post2Api()@42: post: ==> open_im_sdk/pkg/network.postLogic()@70: status code failed http://im-dev.hoogeek.com:10000/organization/get_sub_department: 404 Not Found] 2022-05-16 02:02:14.461�[36m [INFO] [PID:15560] [FilePath:organization.go:227] [OperationID:1652666536024370118] �[0m[SyncAllDepartmentMember args: ] map[] true 2022-05-16 02:02:14.465�[36m [INFO] [PID:15560] [FilePath:friend.go:243] [OperationID:1652666536024370118] �[0m[getServerBlackList return: []] 2022-05-16 02:02:14.465�[36m [INFO] [PID:15560] [FilePath:friend.go:269] [OperationID:1652666536024370118] �[0m[getSelfFriendApplicationFromServer return: []] 2022-05-16 02:02:14.468�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:204] [OperationID:1652666534982546080] �[0m[sync message 4 2ccbe34a571ba16c91b7d9274270ccae 3563caeaa359bf5a9ca1ccd8ead53cb1 {3563caeaa359bf5a9ca1ccd8ead53cb1 2ccbe34a571ba16c91b7d9274270ccae 1651821339799 1651821340019 2 232675 232675 100 101 1 6664 {"content":"您好,请问在吗?","contentType":101} 4 false 2 { false {} [] 0} { { 0 0 0 } { 0 0 0 } { 0 0 0 }} { 0 0} { 0 0 0 0 0} { 0} { [] []} { [] [] false} {0 } { 0 0} { } { } { } {{[] 0} false 0}}] 2022-05-16 02:02:14.469�[37m [DEBU] [PID:15560] [FilePath:conversation_msg.go:234] [OperationID:1652666534982546080] �[0m[updateConversation msg sendID:"232675" recvID:"232675" groupID:"6664" clientMsgID:"3563caeaa359bf5a9ca1ccd8ead53cb1" serverMsgID:"2ccbe34a571ba16c91b7d9274270ccae" senderPlatformID:1 sessionType:2 msgFrom:100 contentType:101 content:"{"content":"\346\202\250\345\245\275\357\274\214\350\257\267\351\227\256\345\234\250\345\220\227\357\274\237","contentType":101}" seq:4 sendTime:1651821340019 createTime:1651821339799 offlinePushInfo:<> {group_6664 2 6664 0 0 0 {"clientMsgID":"3563caeaa359bf5a9ca1ccd8ead53cb1","serverMsgID":"2ccbe34a571ba16c91b7d9274270ccae","createTime":1651821339799,"sendTime":1651821340019,"sessionType":2,"sendID":"232675","recvID":"232675","msgFrom":100,"contentType":101,"platformID":1,"groupID":"6664","content":"{"content":"您好,请问在吗?","contentType":101}","seq":4,"isRead":false,"status":2,"offlinePush":{},"pictureElem":{"sourcePicture":{"size":0,"width":0,"height":0},"bigPicture":{"size":0,"width":0,"height":0},"snapshotPicture":{"size":0,"width":0,"height":0}},"soundElem":{"dataSize":0,"duration":0},"videoElem":{"videoSize":0,"duration":0,"snapshotSize":0,"snapshotWidth":0,"snapshotHeight":0},"fileElem":{"fileSize":0},"mergeElem":{},"atElem":{"isAtSelf":false},"faceElem":{"index":0},"locationElem":{"longitude":0,"latitude":0},"customElem":{},"quoteElem":{},"notificationElem":{},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0},"isPrivateChat":false,"hasReadTime":0}} 1651821340019 0 false false false }] map[] true 2022-05-16 02:02:14.469�[36m [INFO] [PID:15560] [FilePath:friend.go:487] [OperationID:1652666536024370118] �[0m[list [] [] []] 2022-05-16 02:02:14.475�[36m [INFO] [PID:15560] [FilePath:friend.go:489] [OperationID:1652666536024370118] �[0m[diff [] [] [] []] 2022-05-16 02:02:14.471�[36m [INFO] [PID:15560] [FilePath:group.go:597] [OperationID:1652666536024370118] �[0m[svrList onServer onLocal [] [] []] 2022-05-16 02:02:14.475�[36m [INFO] [PID:15560] [FilePath:group.go:599] [OperationID:1652666536024370118] �[0m[diff [] [] [] []] 2022-05-16 02:02:14.473�[36m [INFO] [PID:15560] [FilePath:friend.go:308] [OperationID:1652666536024370118] �[0m[list [] [] []] 2022-05-16 02:02:14.475�[37m [DEBU] [PID:15560] [FilePath:friend.go:311] [OperationID:1652666536024370118] �[0m[diff [] [] [] []] 2022-05-16 02:02:14.476�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:204] [OperationID:1652666534982546080] �[0m[sync message 5 c85b860be75215c54a9f714eee4d1bcd 0d6dc85e723070c6a0f5d6ca3df16358 {0d6dc85e723070c6a0f5d6ca3df16358 c85b860be75215c54a9f714eee4d1bcd 1651821352602 1651821352827 2 232675 232675 100 101 1 6664 {"content":"您好,我已经付款,麻烦尽快放币。","contentType":101} 5 false 2 { false {} [] 0} { { 0 0 0 } { 0 0 0 } { 0 0 0 }} { 0 0} { 0 0 0 0 0} { 0} { [] []} { [] [] false} {0 } { 0 0} { } { } { } {{[] 0} false 0}}] 2022-05-16 02:02:14.477�[37m [DEBU] [PID:15560] [FilePath:conversation_msg.go:234] [OperationID:1652666534982546080] �[0m[updateConversation msg sendID:"232675" recvID:"232675" groupID:"6664" clientMsgID:"0d6dc85e723070c6a0f5d6ca3df16358" serverMsgID:"c85b860be75215c54a9f714eee4d1bcd" senderPlatformID:1 sessionType:2 msgFrom:100 contentType:101 content:"{"content":"\346\202\250\345\245\275\357\274\214\346\210\221\345\267\262\347\273\217\344\273\230\346\254\276\357\274\214\351\272\273\347\203\246\345\260\275\345\277\253\346\224\276\345\270\201\343\200\202","contentType":101}" seq:5 sendTime:1651821352827 createTime:1651821352602 offlinePushInfo:<> {group_6664 2 6664 0 0 0 {"clientMsgID":"0d6dc85e723070c6a0f5d6ca3df16358","serverMsgID":"c85b860be75215c54a9f714eee4d1bcd","createTime":1651821352602,"sendTime":1651821352827,"sessionType":2,"sendID":"232675","recvID":"232675","msgFrom":100,"contentType":101,"platformID":1,"groupID":"6664","content":"{"content":"您好,我已经付款,麻烦尽快放币。","contentType":101}","seq":5,"isRead":false,"status":2,"offlinePush":{},"pictureElem":{"sourcePicture":{"size":0,"width":0,"height":0},"bigPicture":{"size":0,"width":0,"height":0},"snapshotPicture":{"size":0,"width":0,"height":0}},"soundElem":{"dataSize":0,"duration":0},"videoElem":{"videoSize":0,"duration":0,"snapshotSize":0,"snapshotWidth":0,"snapshotHeight":0},"fileElem":{"fileSize":0},"mergeElem":{},"atElem":{"isAtSelf":false},"faceElem":{"index":0},"locationElem":{"longitude":0,"latitude":0},"customElem":{},"quoteElem":{},"notificationElem":{},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0},"isPrivateChat":false,"hasReadTime":0}} 1651821352827 0 false false false }] map[] true 2022-05-16 02:02:14.480�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:204] [OperationID:1652666534982546080] �[0m[sync message 6 e38877257c748bbd2cd575768bd6bd24 b990bf961b759756593482edbcd5a394 {b990bf961b759756593482edbcd5a394 e38877257c748bbd2cd575768bd6bd24 1651821387975 1651821388193 2 232675 232675 100 101 1 6664 {"content":"大佬 别开枪是我","contentType":101} 6 false 2 { false {} [] 0} { { 0 0 0 } { 0 0 0 } { 0 0 0 }} { 0 0} { 0 0 0 0 0} { 0} { [] []} { [] [] false} {0 } { 0 0} { } { } { } {{[] 0} false 0}}] 2022-05-16 02:02:14.480�[37m [DEBU] [PID:15560] [FilePath:conversation_msg.go:234] [OperationID:1652666534982546080] �[0m[updateConversation msg sendID:"232675" recvID:"232675" groupID:"6664" clientMsgID:"b990bf961b759756593482edbcd5a394" serverMsgID:"e38877257c748bbd2cd575768bd6bd24" senderPlatformID:1 sessionType:2 msgFrom:100 contentType:101 content:"{"content":"\345\244\247\344\275\254 \345\210\253\345\274\200\346\236\252\346\230\257\346\210\221","contentType":101}" seq:6 sendTime:1651821388193 createTime:1651821387975 offlinePushInfo:<> {group_6664 2 6664 0 0 0 {"clientMsgID":"b990bf961b759756593482edbcd5a394","serverMsgID":"e38877257c748bbd2cd575768bd6bd24","createTime":1651821387975,"sendTime":1651821388193,"sessionType":2,"sendID":"232675","recvID":"232675","msgFrom":100,"contentType":101,"platformID":1,"groupID":"6664","content":"{"content":"大佬 别开枪是我","contentType":101}","seq":6,"isRead":false,"status":2,"offlinePush":{},"pictureElem":{"sourcePicture":{"size":0,"width":0,"height":0},"bigPicture":{"size":0,"width":0,"height":0},"snapshotPicture":{"size":0,"width":0,"height":0}},"soundElem":{"dataSize":0,"duration":0},"videoElem":{"videoSize":0,"duration":0,"snapshotSize":0,"snapshotWidth":0,"snapshotHeight":0},"fileElem":{"fileSize":0},"mergeElem":{},"atElem":{"isAtSelf":false},"faceElem":{"index":0},"locationElem":{"longitude":0,"latitude":0},"customElem":{},"quoteElem":{},"notificationElem":{},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0},"isPrivateChat":false,"hasReadTime":0}} 1651821388193 0 false false false }] map[] true 2022-05-16 02:02:14.484�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:204] [OperationID:1652666534982546080] �[0m[sync message 7 036e09588c6063cdb3d304f377f5b916 6e3f30485ca09150b10480f507f7c5a9 {6e3f30485ca09150b10480f507f7c5a9 036e09588c6063cdb3d304f377f5b916 1651822037754 1651822038004 2 232675 232675 100 101 1 6664 {"contentType":102,"content":"https://api-en.mojo.hoogeek.com/media/face/5f/c0/d5ceda57-3829-4846-b69a-6c44d3d3b08c.png"} 7 false 2 { false {} [] 0} { { 0 0 0 } { 0 0 0 } { 0 0 0 }} { 0 0} { 0 0 0 0 0} { 0} { [] []} { [] [] false} {0 } { 0 0} { } { } { } {{[] 0} false 0}}] 2022-05-16 02:02:14.484�[37m [DEBU] [PID:15560] [FilePath:conversation_msg.go:234] [OperationID:1652666534982546080] �[0m[updateConversation msg sendID:"232675" recvID:"232675" groupID:"6664" clientMsgID:"6e3f30485ca09150b10480f507f7c5a9" serverMsgID:"036e09588c6063cdb3d304f377f5b916" senderPlatformID:1 sessionType:2 msgFrom:100 contentType:101 content:"{"contentType":102,"content":"https:\/\/api-en.mojo.hoogeek.com\/media\/face\/5f\/c0\/d5ceda57-3829-4846-b69a-6c44d3d3b08c.png"}" seq:7 sendTime:1651822038004 createTime:1651822037754 offlinePushInfo:<> {group_6664 2 6664 0 0 0 {"clientMsgID":"6e3f30485ca09150b10480f507f7c5a9","serverMsgID":"036e09588c6063cdb3d304f377f5b916","createTime":1651822037754,"sendTime":1651822038004,"sessionType":2,"sendID":"232675","recvID":"232675","msgFrom":100,"contentType":101,"platformID":1,"groupID":"6664","content":"{"contentType":102,"content":"https:\/\/api-en.mojo.hoogeek.com\/media\/face\/5f\/c0\/d5ceda57-3829-4846-b69a-6c44d3d3b08c.png"}","seq":7,"isRead":false,"status":2,"offlinePush":{},"pictureElem":{"sourcePicture":{"size":0,"width":0,"height":0},"bigPicture":{"size":0,"width":0,"height":0},"snapshotPicture":{"size":0,"width":0,"height":0}},"soundElem":{"dataSize":0,"duration":0},"videoElem":{"videoSize":0,"duration":0,"snapshotSize":0,"snapshotWidth":0,"snapshotHeight":0},"fileElem":{"fileSize":0},"mergeElem":{},"atElem":{"isAtSelf":false},"faceElem":{"index":0},"locationElem":{"longitude":0,"latitude":0},"customElem":{},"quoteElem":{},"notificationElem":{},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0},"isPrivateChat":false,"hasReadTime":0}} 1651822038004 0 false false false }] map[] true map[] true 2022-05-16 02:02:14.488�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:204] [OperationID:1652666534982546080] �[0m[sync message 9 136ff5faa23c7bb037e6d29d35612798 1e23acab93609198c7ed2422077cd539 {1e23acab93609198c7ed2422077cd539 136ff5faa23c7bb037e6d29d35612798 1651822504195 1651822504243 2 232675 232675 100 101 1 6664 {"content":"请问怎么付款?","contentType":101} 9 false 2 { false {} [] 0} { { 0 0 0 } { 0 0 0 } { 0 0 0 }} { 0 0} { 0 0 0 0 0} { 0} { [] []} { [] [] false} {0 } { 0 0} { } { } { } {{[] 0} false 0}}] 2022-05-16 02:02:14.489�[37m [DEBU] [PID:15560] [FilePath:conversation_msg.go:234] [OperationID:1652666534982546080] �[0m[updateConversation msg sendID:"232675" recvID:"232675" groupID:"6664" clientMsgID:"1e23acab93609198c7ed2422077cd539" serverMsgID:"136ff5faa23c7bb037e6d29d35612798" senderPlatformID:1 sessionType:2 msgFrom:100 contentType:101 content:"{"content":"\350\257\267\351\227\256\346\200\216\344\271\210\344\273\230\346\254\276\357\274\237","contentType":101}" seq:9 sendTime:1651822504243 createTime:1651822504195 offlinePushInfo:<> {group_6664 2 6664 0 0 0 {"clientMsgID":"1e23acab93609198c7ed2422077cd539","serverMsgID":"136ff5faa23c7bb037e6d29d35612798","createTime":1651822504195,"sendTime":1651822504243,"sessionType":2,"sendID":"232675","recvID":"232675","msgFrom":100,"contentType":101,"platformID":1,"groupID":"6664","content":"{"content":"请问怎么付款?","contentType":101}","seq":9,"isRead":false,"status":2,"offlinePush":{},"pictureElem":{"sourcePicture":{"size":0,"width":0,"height":0},"bigPicture":{"size":0,"width":0,"height":0},"snapshotPicture":{"size":0,"width":0,"height":0}},"soundElem":{"dataSize":0,"duration":0},"videoElem":{"videoSize":0,"duration":0,"snapshotSize":0,"snapshotWidth":0,"snapshotHeight":0},"fileElem":{"fileSize":0},"mergeElem":{},"atElem":{"isAtSelf":false},"faceElem":{"index":0},"locationElem":{"longitude":0,"latitude":0},"customElem":{},"quoteElem":{},"notificationElem":{},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0},"isPrivateChat":false,"hasReadTime":0}} 1651822504243 0 false false false }] map[] true 2022-05-16 02:02:14.492�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:204] [OperationID:1652666534982546080] �[0m[sync message 10 6cac96c70b421687a4f758bc212099fb 86a5b6d7beecdff84f9617b715f50033 {86a5b6d7beecdff84f9617b715f50033 6cac96c70b421687a4f758bc212099fb 1651822529604 1651822529671 2 232675 232675 100 101 1 6664 {"contentType":101,"content":"我改成groupid 在给你发消息"} 10 false 2 { false {} [] 0} { { 0 0 0 } { 0 0 0 } { 0 0 0 }} { 0 0} { 0 0 0 0 0} { 0} { [] []} { [] [] false} {0 } { 0 0} { } { } { } {{[] 0} false 0}}] 2022-05-16 02:02:14.492�[37m [DEBU] [PID:15560] [FilePath:conversation_msg.go:234] [OperationID:1652666534982546080] �[0m[updateConversation msg sendID:"232675" recvID:"232675" groupID:"6664" clientMsgID:"86a5b6d7beecdff84f9617b715f50033" serverMsgID:"6cac96c70b421687a4f758bc212099fb" senderPlatformID:1 sessionType:2 msgFrom:100 contentType:101 content:"{"contentType":101,"content":"\346\210\221\346\224\271\346\210\220groupid \345\234\250\347\273\231\344\275\240\345\217\221\346\266\210\346\201\257"}" seq:10 sendTime:1651822529671 createTime:1651822529604 offlinePushInfo:<> {group_6664 2 6664 0 0 0 {"clientMsgID":"86a5b6d7beecdff84f9617b715f50033","serverMsgID":"6cac96c70b421687a4f758bc212099fb","createTime":1651822529604,"sendTime":1651822529671,"sessionType":2,"sendID":"232675","recvID":"232675","msgFrom":100,"contentType":101,"platformID":1,"groupID":"6664","content":"{"contentType":101,"content":"我改成groupid 在给你发消息"}","seq":10,"isRead":false,"status":2,"offlinePush":{},"pictureElem":{"sourcePicture":{"size":0,"width":0,"height":0},"bigPicture":{"size":0,"width":0,"height":0},"snapshotPicture":{"size":0,"width":0,"height":0}},"soundElem":{"dataSize":0,"duration":0},"videoElem":{"videoSize":0,"duration":0,"snapshotSize":0,"snapshotWidth":0,"snapshotHeight":0},"fileElem":{"fileSize":0},"mergeElem":{},"atElem":{"isAtSelf":false},"faceElem":{"index":0},"locationElem":{"longitude":0,"latitude":0},"customElem":{},"quoteElem":{},"notificationElem":{},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0},"isPrivateChat":false,"hasReadTime":0}} 1651822529671 0 false false false }] map[] true 2022-05-16 02:02:14.495�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:204] [OperationID:1652666534982546080] �[0m[sync message 11 d8b82d7e9a48ae5f9aa88cfcb167e529 f783e7aa35cb4fca38be97280753dd8f {f783e7aa35cb4fca38be97280753dd8f d8b82d7e9a48ae5f9aa88cfcb167e529 1651822562572 1651822562640 2 232675 232675 100 101 1 6664 {"content":"https://api-en.mojo.hoogeek.com/media/face/5f/c0/454fe3e0-ce0c-4bac-991a-0a4ff19f51a2.png","contentType":102} 11 false 2 { false {} [] 0} { { 0 0 0 } { 0 0 0 } { 0 0 0 }} { 0 0} { 0 0 0 0 0} { 0} { [] []} { [] [] false} {0 } { 0 0} { } { } { } {{[] 0} false 0}}] 2022-05-16 02:02:14.495�[37m [DEBU] [PID:15560] [FilePath:conversation_msg.go:234] [OperationID:1652666534982546080] �[0m[updateConversation msg sendID:"232675" recvID:"232675" groupID:"6664" clientMsgID:"f783e7aa35cb4fca38be97280753dd8f" serverMsgID:"d8b82d7e9a48ae5f9aa88cfcb167e529" senderPlatformID:1 sessionType:2 msgFrom:100 contentType:101 content:"{"content":"https:\/\/api-en.mojo.hoogeek.com\/media\/face\/5f\/c0\/454fe3e0-ce0c-4bac-991a-0a4ff19f51a2.png","contentType":102}" seq:11 sendTime:1651822562640 createTime:1651822562572 offlinePushInfo:<> {group_6664 2 6664 0 0 0 {"clientMsgID":"f783e7aa35cb4fca38be97280753dd8f","serverMsgID":"d8b82d7e9a48ae5f9aa88cfcb167e529","createTime":1651822562572,"sendTime":1651822562640,"sessionType":2,"sendID":"232675","recvID":"232675","msgFrom":100,"contentType":101,"platformID":1,"groupID":"6664","content":"{"content":"https:\/\/api-en.mojo.hoogeek.com\/media\/face\/5f\/c0\/454fe3e0-ce0c-4bac-991a-0a4ff19f51a2.png","contentType":102}","seq":11,"isRead":false,"status":2,"offlinePush":{},"pictureElem":{"sourcePicture":{"size":0,"width":0,"height":0},"bigPicture":{"size":0,"width":0,"height":0},"snapshotPicture":{"size":0,"width":0,"height":0}},"soundElem":{"dataSize":0,"duration":0},"videoElem":{"videoSize":0,"duration":0,"snapshotSize":0,"snapshotWidth":0,"snapshotHeight":0},"fileElem":{"fileSize":0},"mergeElem":{},"atElem":{"isAtSelf":false},"faceElem":{"index":0},"locationElem":{"longitude":0,"latitude":0},"customElem":{},"quoteElem":{},"notificationElem":{},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0},"isPrivateChat":false,"hasReadTime":0}} 1651822562640 0 false false false }] map[] true map[] true 2022-05-16 02:02:14.497�[36m [INFO] [PID:15560] [FilePath:group.go:37] [OperationID:1652666535863260456] �[0m[DoNotification args: 906b8ecfb533874c14d4be4e57178519 af88c40c7f521c1db1d0110c8b0e88f5] 2022-05-16 02:02:14.497�[36m [INFO] [PID:15560] [FilePath:conversation_msg.go:182] [OperationID:1652666534982546080] �[0m[DoGroupMsg SingleChatType recvID:"232675" groupID:"6664" clientMsgID:"906b8ecfb533874c14d4be4e57178519" serverMsgID:"af88c40c7f521c1db1d0110c8b0e88f5" sessionType:2 contentType:1516 content:"\022\026\346\265\213\350\257\225\347\273\231232675\347\232\204tips" seq:14 sendTime:1651822932297 createTime:1651822932297 options:<key:"offlinePush" value:false > options:<key:"unreadCount" value:false > offlinePushInfo:<iOSPushSound:"xxx" iOSBadgeCount:true > ] map[offlinePush:false unreadCount:false] true 2022-05-16 02:02:14.497�[36m [INFO] [PID:15560] [FilePath:group.go:264] [OperationID:1652666535863260456] �[0m[groupMemberInfoSetNotification args: 906b8ecfb533874c14d4be4e57178519 af88c40c7f521c1db1d0110c8b0e88f5 recvID:"232675" groupID:"6664" clientMsgID:"906b8ecfb533874c14d4be4e57178519" serverMsgID:"af88c40c7f521c1db1d0110c8b0e88f5" sessionType:2 contentType:1516 content:"\022\026\346\265\213\350\257\225\347\273\231232675\347\232\204tips" seq:14 sendTime:1651822932297 createTime:1651822932297 options:<key:"offlinePush" value:false > options:<key:"unreadCount" value:false > offlinePushInfo:<iOSPushSound:"xxx" iOSBadgeCount:true > detail : ] (lldb)
请更新sdk。
前期在使用时是正常的,使用单聊收发消息都没有问题,但在使用群聊发送group消息之后,调用初始化及登录就出现闪退. 在对iOS端Example示例项目中替换了API_ADDRESS,WS_ADDRESS,LOGIN_USER_ID及token时也出现了同样的闪退现象. 崩溃点如下:
请问这种问题如何处理?