Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] IMSDK.deleteMessage() call to delete message interface reports error 10005 #91

Open
c-riverSouth opened this issue Dec 19, 2024 · 6 comments

Comments

@c-riverSouth
Copy link

OpenIM Server Version

3.8.2-1

Operating System and CPU Architecture

Windows (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

[OperationID:d00b9a5f-c2a1-4dc0-aab0-2d38a391124c] (invoked by js) run deleteMessage with error{"errCode":10005,"errMsg":"error *errors.withStack not implement CodeError: ==> github.com/openimsdk/openim-sdk-core/v3/pkg/utils.JsonStringToStruct()@79: json Unmarshal failed: json: Unmarshal(non-pointer []*model_struct.LocalChatLog)","operationID":"d00b9a5f-c2a1-4dc0-aab0-2d38a391124c"}

Screenshots Link

Uploading lQLPJxsxHtSXzW0pzQO1sI7xHEr3uZ5WB0jaPYocHgA_949_41.png…
Uploading lQLPKHGjUJJ-LW1czQO0sJrVvX85lBbEB0jaPYocHgE_948_92.png…

@c-riverSouth
Copy link
Author

lQLPKHGjUJJ-LW1czQO0sJrVvX85lBbEB0jaPYocHgE_948_92

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


lQLPKHGjUJJ-LW1czQO0sJrVvX85lBbEB0jaPYocHgE_948_92

@c-riverSouth
Copy link
Author

lQLPJxsxHtSXzW0pzQO1sI7xHEr3uZ5WB0jaPYocHgA_949_41

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


lQLPJxsxHtSXzW0pzQO1sI7xHEr3uZ5WB0jaPYocHgA_949_41

@Bloomingg
Copy link
Member

https://github.com/openimsdk/open-im-sdk-web-wasm/blob/main/assets/wasm_exec.js#L22
The SDK core logs will be printed here. can you collect more logs?

@Bloomingg Bloomingg changed the title [BUG] IMSDK.deleteMessage() 删除消息接口调用报错10005 [BUG] IMSDK.deleteMessage() call to delete message interface reports error 10005 Dec 23, 2024
@c-riverSouth
Copy link
Author

SDK => [OperationID:a0d981bc-852d-471a-ab2e-9fca69702905] (invoked by js) run deleteMessage with args ["a0d981bc-852d-471a-ab2e-9fca69702905","sg_1921269247","c4dea45e3b79957f14c27ce9d19d1837"]
wasm_exec.js:22 2025-01-07 13:54:01.239 INFO [PID:-1] [version:3.8.0] [open_im_sdk/caller.go:116] func call req {"operationID": "a0d981bc-852d-471a-ab2e-9fca69702905", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).DeleteMessage-fm", "args": ["sg_1921269247","c4dea45e3b79957f14c27ce9d19d1837"]}
@openim-10815ebf.js:1 => (invoked by go wasm) run getMessage method with args ["sg_1921269247","c4dea45e3b79957f14c27ce9d19d1837"]
@openim-10815ebf.js:1 => (invoked by go wasm) run getMessage method with response {"data":"{"clientMsgID":"c4dea45e3b79957f14c27ce9d19d1837","serverMsgID":"c5c9359dcb841a178b5e5c629d9313ef","sendID":"9663338950","recvID":"1921269247","senderPlatformID":5,"senderNickname":"测试","senderFaceURL":"","sessionType":3,"msgFrom":100,"contentType":101,"content":"{\"content\":\"22\"}","isRead":false,"status":2,"seq":2,"sendTime":1736229237916,"createTime":1736229237958,"attachedInfo":"{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":4},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}","ex":"","localEx":"","isReact":false,"isExternalExtensions":false,"msgFirstModifyTime":0}","errCode":0,"errMsg":""}
wasm_exec.js:22 2025-01-07 13:54:01.244 DEBUG [PID:-1] [version:3.8.0] [exec/executor.go:81] js then function {"=> (main go context) GetMessage with response ": "{"data":"{\"clientMsgID\":\"c4dea45e3b79957f14c27ce9d19d1837\",\"serverMsgID\":\"c5c9359dcb841a178b5e5c629d9313ef\",\"sendID\":\"9663338950\",\"recvID\":\"1921269247\",\"senderPlatformID\":5,\"senderNickname\":\"测试\",\"senderFaceURL\":\"\",\"sessionType\":3,\"msgFrom\":100,\"contentType\":101,\"content\":\"{\\\"content\\\":\\\"22\\\"}\",\"isRead\":false,\"status\":2,\"seq\":2,\"sendTime\":1736229237916,\"createTime\":1736229237958,\"attachedInfo\":\"{\\\"groupHasReadInfo\\\":{\\\"hasReadCount\\\":0,\\\"groupMemberCount\\\":4},\\\"isPrivateChat\\\":false,\\\"burnDuration\\\":0,\\\"hasReadTime\\\":0,\\\"isEncryption\\\":false,\\\"inEncryptStatus\\\":false}\",\"ex\":\"\",\"localEx\":\"\",\"isReact\":false,\"isExternalExtensions\":false,\"msgFirstModifyTime\":0}","errCode":0,"errMsg":""}"}
@openim-10815ebf.js:1 => (invoked by go wasm) run getMessage method with args ["sg_1921269247","c4dea45e3b79957f14c27ce9d19d1837"]
@openim-10815ebf.js:1 => (invoked by go wasm) run getMessage method with response {"data":"{"clientMsgID":"c4dea45e3b79957f14c27ce9d19d1837","serverMsgID":"c5c9359dcb841a178b5e5c629d9313ef","sendID":"9663338950","recvID":"1921269247","senderPlatformID":5,"senderNickname":"测试","senderFaceURL":"","sessionType":3,"msgFrom":100,"contentType":101,"content":"{\"content\":\"22\"}","isRead":false,"status":2,"seq":2,"sendTime":1736229237916,"createTime":1736229237958,"attachedInfo":"{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":4},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}","ex":"","localEx":"","isReact":false,"isExternalExtensions":false,"msgFirstModifyTime":0}","errCode":0,"errMsg":""}
wasm_exec.js:22 2025-01-07 13:54:01.246 DEBUG [PID:-1] [version:3.8.0] [exec/executor.go:81] js then function {"=> (main go context) GetMessage with response ": "{"data":"{\"clientMsgID\":\"c4dea45e3b79957f14c27ce9d19d1837\",\"serverMsgID\":\"c5c9359dcb841a178b5e5c629d9313ef\",\"sendID\":\"9663338950\",\"recvID\":\"1921269247\",\"senderPlatformID\":5,\"senderNickname\":\"测试\",\"senderFaceURL\":\"\",\"sessionType\":3,\"msgFrom\":100,\"contentType\":101,\"content\":\"{\\\"content\\\":\\\"22\\\"}\",\"isRead\":false,\"status\":2,\"seq\":2,\"sendTime\":1736229237916,\"createTime\":1736229237958,\"attachedInfo\":\"{\\\"groupHasReadInfo\\\":{\\\"hasReadCount\\\":0,\\\"groupMemberCount\\\":4},\\\"isPrivateChat\\\":false,\\\"burnDuration\\\":0,\\\"hasReadTime\\\":0,\\\"isEncryption\\\":false,\\\"inEncryptStatus\\\":false}\",\"ex\":\"\",\"localEx\":\"\",\"isReact\":false,\"isExternalExtensions\":false,\"msgFirstModifyTime\":0}","errCode":0,"errMsg":""}"}
wasm_exec.js:22 2025-01-07 13:54:01.250 DEBUG [PID:-1] [version:3.8.0] [network/http_client.go:96] ApiRequest {"operationID": "a0d981bc-852d-471a-ab2e-9fca69702905", "url": "http://172.168.2.24:10002/msg/delete_msgs", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiI5NjYzMzM4OTUwIiwiUGxhdGZvcm1JRCI6NSwiZXhwIjoxNzQyMTA1MTkzLCJuYmYiOjE3MzQzMjg4OTMsImlhdCI6MTczNDMyOTE5M30.acOSV2qyxjpdQkmxKDT-r4Xrn2GarMYGafMa8Gp3i04", "body": "{"conversationID":"sg_1921269247","seqs":[2],"userID":"9663338950","deleteSyncOpt":null}"}
wasm_exec.js:22 2025-01-07 13:54:01.269 DEBUG [PID:-1] [version:3.8.0] [network/http_client.go:131] ApiResponse {"operationID": "a0d981bc-852d-471a-ab2e-9fca69702905", "url": "http://172.168.2.24:10002/msg/delete_msgs", "status": "200 OK", "body": "{"errCode":0,"errMsg":"","errDlt":""}"}
wasm_exec.js:22 2025-01-07 13:54:01.271 DEBUG [PID:-1] [version:3.8.0] [network/http_client.go:73] CallApi {"operationID": "a0d981bc-852d-471a-ab2e-9fca69702905", "duration": "22ms", "api": "/msg/delete_msgs", "state": "success"}
@openim-10815ebf.js:1 => (invoked by go wasm) run getMessage method with args ["sg_1921269247","c4dea45e3b79957f14c27ce9d19d1837"]
@openim-10815ebf.js:1 => (invoked by go wasm) run getMessage method with response {"data":"{"clientMsgID":"c4dea45e3b79957f14c27ce9d19d1837","serverMsgID":"c5c9359dcb841a178b5e5c629d9313ef","sendID":"9663338950","recvID":"1921269247","senderPlatformID":5,"senderNickname":"测试","senderFaceURL":"","sessionType":3,"msgFrom":100,"contentType":101,"content":"{\"content\":\"22\"}","isRead":false,"status":2,"seq":2,"sendTime":1736229237916,"createTime":1736229237958,"attachedInfo":"{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":4},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}","ex":"","localEx":"","isReact":false,"isExternalExtensions":false,"msgFirstModifyTime":0}","errCode":0,"errMsg":""}
wasm_exec.js:22 2025-01-07 13:54:01.273 DEBUG [PID:-1] [version:3.8.0] [exec/executor.go:81] js then function {"=> (main go context) GetMessage with response ": "{"data":"{\"clientMsgID\":\"c4dea45e3b79957f14c27ce9d19d1837\",\"serverMsgID\":\"c5c9359dcb841a178b5e5c629d9313ef\",\"sendID\":\"9663338950\",\"recvID\":\"1921269247\",\"senderPlatformID\":5,\"senderNickname\":\"测试\",\"senderFaceURL\":\"\",\"sessionType\":3,\"msgFrom\":100,\"contentType\":101,\"content\":\"{\\\"content\\\":\\\"22\\\"}\",\"isRead\":false,\"status\":2,\"seq\":2,\"sendTime\":1736229237916,\"createTime\":1736229237958,\"attachedInfo\":\"{\\\"groupHasReadInfo\\\":{\\\"hasReadCount\\\":0,\\\"groupMemberCount\\\":4},\\\"isPrivateChat\\\":false,\\\"burnDuration\\\":0,\\\"hasReadTime\\\":0,\\\"isEncryption\\\":false,\\\"inEncryptStatus\\\":false}\",\"ex\":\"\",\"localEx\":\"\",\"isReact\":false,\"isExternalExtensions\":false,\"msgFirstModifyTime\":0}","errCode":0,"errMsg":""}"}
@openim-10815ebf.js:1 => (invoked by go wasm) run updateColumnsMessage method with args ["sg_1921269247","c4dea45e3b79957f14c27ce9d19d1837","{"status":4}"]
@openim-10815ebf.js:1 => (invoked by go wasm) run updateColumnsMessage method with response {"data":"[]","errCode":0,"errMsg":""}
wasm_exec.js:22 2025-01-07 13:54:01.276 DEBUG [PID:-1] [version:3.8.0] [exec/executor.go:81] js then function {"=> (main go context) UpdateColumnsMessage with response ": "{"data":"[]","errCode":0,"errMsg":""}"}
@openim-10815ebf.js:1 => (invoked by go wasm) run getConversation method with args ["sg_1921269247"]
@openim-10815ebf.js:1 => (invoked by go wasm) run getConversation method with response {"data":"{"conversationID":"sg_1921269247","conversationType":3,"userID":"","groupID":"1921269247","showName":"测试","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"c4dea45e3b79957f14c27ce9d19d1837\",\"serverMsgID\":\"c5c9359dcb841a178b5e5c629d9313ef\",\"createTime\":1736229237958,\"sendTime\":1736229237916,\"sessionType\":3,\"sendID\":\"9663338950\",\"msgFrom\":100,\"contentType\":101,\"senderPlatformID\":5,\"senderNickname\":\"测试\",\"groupID\":\"1921269247\",\"seq\":2,\"isRead\":false,\"status\":2,\"textElem\":{\"content\":\"22\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":4},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1736229237916,"draftText":"","draftTextTime":0,"isPinned":false,"burnDuration":0,"isPrivateChat":false,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":null,"msgDestructTime":0,"isMsgDestruct":false}","errCode":0,"errMsg":""}
wasm_exec.js:22 2025-01-07 13:54:01.277 DEBUG [PID:-1] [version:3.8.0] [exec/executor.go:81] js then function {"=> (main go context) GetConversation with response ": "{"data":"{\"conversationID\":\"sg_1921269247\",\"conversationType\":3,\"userID\":\"\",\"groupID\":\"1921269247\",\"showName\":\"测试\",\"faceURL\":\"\",\"recvMsgOpt\":0,\"unreadCount\":0,\"groupAtType\":0,\"latestMsg\":\"{\\\"clientMsgID\\\":\\\"c4dea45e3b79957f14c27ce9d19d1837\\\",\\\"serverMsgID\\\":\\\"c5c9359dcb841a178b5e5c629d9313ef\\\",\\\"createTime\\\":1736229237958,\\\"sendTime\\\":1736229237916,\\\"sessionType\\\":3,\\\"sendID\\\":\\\"9663338950\\\",\\\"msgFrom\\\":100,\\\"contentType\\\":101,\\\"senderPlatformID\\\":5,\\\"senderNickname\\\":\\\"测试\\\",\\\"groupID\\\":\\\"1921269247\\\",\\\"seq\\\":2,\\\"isRead\\\":false,\\\"status\\\":2,\\\"textElem\\\":{\\\"content\\\":\\\"22\\\"},\\\"attachedInfoElem\\\":{\\\"groupHasReadInfo\\\":{\\\"hasReadCount\\\":0,\\\"groupMemberCount\\\":4},\\\"isPrivateChat\\\":false,\\\"burnDuration\\\":0,\\\"hasReadTime\\\":0,\\\"isEncryption\\\":false,\\\"inEncryptStatus\\\":false}}\",\"latestMsgSendTime\":1736229237916,\"draftText\":\"\",\"draftTextTime\":0,\"isPinned\":false,\"burnDuration\":0,\"isPrivateChat\":false,\"isNotInGroup\":false,\"updateUnreadCountTime\":0,\"attachedInfo\":\"\",\"ex\":\"\",\"maxSeq\":0,\"minSeq\":0,\"hasReadSeq\":null,\"msgDestructTime\":0,\"isMsgDestruct\":false}","errCode":0,"errMsg":""}"}
wasm_exec.js:22 2025-01-07 13:54:01.278 DEBUG [PID:-1] [version:3.8.0] [conversation_msg/delete.go:166] latestMsg deleted {"operationID": "a0d981bc-852d-471a-ab2e-9fca69702905", "seq": 2, "clientMsgID": "c4dea45e3b79957f14c27ce9d19d1837"}
@openim-10815ebf.js:1 => (invoked by go wasm) run getLatestActiveMessage method with args ["sg_1921269247",false]
@openim-10815ebf.js:1 => (invoked by go wasm) run getLatestActiveMessage method with response {"data":"[{"clientMsgID":"8d291753dee03e65fa67607342e9a4a5","serverMsgID":"c95e5c04cc324116744ba07e287d013f","sendID":"9663338950","recvID":"1921269247","senderPlatformID":0,"senderNickname":"","senderFaceURL":"","sessionType":3,"msgFrom":200,"contentType":1501,"content":"{\"detail\":\"{\\\"group\\\":{\\\"groupID\\\":\\\"1921269247\\\",\\\"groupName\\\":\\\"测试\\\",\\\"notification\\\":\\\"\\\",\\\"introduction\\\":\\\"\\\",\\\"faceURL\\\":\\\"\\\",\\\"ownerUserID\\\":\\\"9663338950\\\",\\\"createTime\\\":1736217529050,\\\"memberCount\\\":4,\\\"ex\\\":\\\"\\\",\\\"status\\\":0,\\\"creatorUserID\\\":\\\"9663338950\\\",\\\"groupType\\\":2,\\\"needVerification\\\":0,\\\"lookMemberInfo\\\":0,\\\"applyMemberFriend\\\":0,\\\"notificationUpdateTime\\\":0,\\\"notificationUserID\\\":\\\"\\\"},\\\"opUser\\\":{\\\"groupID\\\":\\\"1921269247\\\",\\\"userID\\\":\\\"9663338950\\\",\\\"roleLevel\\\":100,\\\"joinTime\\\":1736217529052,\\\"nickname\\\":\\\"测试\\\",\\\"faceURL\\\":\\\"\\\",\\\"appMangerLevel\\\":0,\\\"joinSource\\\":2,\\\"operatorUserID\\\":\\\"9663338950\\\",\\\"ex\\\":\\\"\\\",\\\"muteEndTime\\\":0,\\\"inviterUserID\\\":\\\"9663338950\\\"},\\\"memberList\\\":[{\\\"groupID\\\":\\\"1921269247\\\",\\\"userID\\\":\\\"9663338950\\\",\\\"roleLevel\\\":100,\\\"joinTime\\\":1736217529052,\\\"nickname\\\":\\\"测试\\\",\\\"faceURL\\\":\\\"\\\",\\\"appMangerLevel\\\":0,\\\"joinSource\\\":2,\\\"operatorUserID\\\":\\\"9663338950\\\",\\\"ex\\\":\\\"\\\",\\\"muteEndTime\\\":0,\\\"inviterUserID\\\":\\\"9663338950\\\"}],\\\"operationTime\\\":1736217529050,\\\"groupOwnerUser\\\":{\\\"groupID\\\":\\\"1921269247\\\",\\\"userID\\\":\\\"9663338950\\\",\\\"roleLevel\\\":100,\\\"joinTime\\\":1736217529052,\\\"nickname\\\":\\\"\\\",\\\"faceURL\\\":\\\"\\\",\\\"appMangerLevel\\\":0,\\\"joinSource\\\":2,\\\"operatorUserID\\\":\\\"9663338950\\\",\\\"ex\\\":\\\"\\\",\\\"muteEndTime\\\":0,\\\"inviterUserID\\\":\\\"9663338950\\\"},\\\"groupMemberVersion\\\":1,\\\"groupMemberVersionID\\\":\\\"677c93b9d2a89f3288d47775\\\"}\"}","isRead":false,"status":2,"seq":1,"sendTime":1736217529071,"createTime":1736217529068,"attachedInfo":"{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}","ex":"","localEx":"","isReact":false,"isExternalExtensions":false,"msgFirstModifyTime":0}]","errCode":0,"errMsg":""}
wasm_exec.js:22 2025-01-07 13:54:01.280 DEBUG [PID:-1] [version:3.8.0] [exec/executor.go:81] js then function {"=> (main go context) GetLatestActiveMessage with response ": "{"data":"[{\"clientMsgID\":\"8d291753dee03e65fa67607342e9a4a5\",\"serverMsgID\":\"c95e5c04cc324116744ba07e287d013f\",\"sendID\":\"9663338950\",\"recvID\":\"1921269247\",\"senderPlatformID\":0,\"senderNickname\":\"\",\"senderFaceURL\":\"\",\"sessionType\":3,\"msgFrom\":200,\"contentType\":1501,\"content\":\"{\\\"detail\\\":\\\"{\\\\\\\"group\\\\\\\":{\\\\\\\"groupID\\\\\\\":\\\\\\\"1921269247\\\\\\\",\\\\\\\"groupName\\\\\\\":\\\\\\\"测试\\\\\\\",\\\\\\\"notification\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"introduction\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"faceURL\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"ownerUserID\\\\\\\":\\\\\\\"9663338950\\\\\\\",\\\\\\\"createTime\\\\\\\":1736217529050,\\\\\\\"memberCount\\\\\\\":4,\\\\\\\"ex\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"status\\\\\\\":0,\\\\\\\"creatorUserID\\\\\\\":\\\\\\\"9663338950\\\\\\\",\\\\\\\"groupType\\\\\\\":2,\\\\\\\"needVerification\\\\\\\":0,\\\\\\\"lookMemberInfo\\\\\\\":0,\\\\\\\"applyMemberFriend\\\\\\\":0,\\\\\\\"notificationUpdateTime\\\\\\\":0,\\\\\\\"notificationUserID\\\\\\\":\\\\\\\"\\\\\\\"},\\\\\\\"opUser\\\\\\\":{\\\\\\\"groupID\\\\\\\":\\\\\\\"1921269247\\\\\\\",\\\\\\\"userID\\\\\\\":\\\\\\\"9663338950\\\\\\\",\\\\\\\"roleLevel\\\\\\\":100,\\\\\\\"joinTime\\\\\\\":1736217529052,\\\\\\\"nickname\\\\\\\":\\\\\\\"测试\\\\\\\",\\\\\\\"faceURL\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"appMangerLevel\\\\\\\":0,\\\\\\\"joinSource\\\\\\\":2,\\\\\\\"operatorUserID\\\\\\\":\\\\\\\"9663338950\\\\\\\",\\\\\\\"ex\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"muteEndTime\\\\\\\":0,\\\\\\\"inviterUserID\\\\\\\":\\\\\\\"9663338950\\\\\\\"},\\\\\\\"memberList\\\\\\\":[{\\\\\\\"groupID\\\\\\\":\\\\\\\"1921269247\\\\\\\",\\\\\\\"userID\\\\\\\":\\\\\\\"9663338950\\\\\\\",\\\\\\\"roleLevel\\\\\\\":100,\\\\\\\"joinTime\\\\\\\":1736217529052,\\\\\\\"nickname\\\\\\\":\\\\\\\"测试\\\\\\\",\\\\\\\"faceURL\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"appMangerLevel\\\\\\\":0,\\\\\\\"joinSource\\\\\\\":2,\\\\\\\"operatorUserID\\\\\\\":\\\\\\\"9663338950\\\\\\\",\\\\\\\"ex\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"muteEndTime\\\\\\\":0,\\\\\\\"inviterUserID\\\\\\\":\\\\\\\"9663338950\\\\\\\"}],\\\\\\\"operationTime\\\\\\\":1736217529050,\\\\\\\"groupOwnerUser\\\\\\\":{\\\\\\\"groupID\\\\\\\":\\\\\\\"1921269247\\\\\\\",\\\\\\\"userID\\\\\\\":\\\\\\\"9663338950\\\\\\\",\\\\\\\"roleLevel\\\\\\\":100,\\\\\\\"joinTime\\\\\\\":1736217529052,\\\\\\\"nickname\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"faceURL\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"appMangerLevel\\\\\\\":0,\\\\\\\"joinSource\\\\\\\":2,\\\\\\\"operatorUserID\\\\\\\":\\\\\\\"9663338950\\\\\\\",\\\\\\\"ex\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"muteEndTime\\\\\\\":0,\\\\\\\"inviterUserID\\\\\\\":\\\\\\\"9663338950\\\\\\\"},\\\\\\\"groupMemberVersion\\\\\\\":1,\\\\\\\"groupMemberVersionID\\\\\\\":\\\\\\\"677c93b9d2a89f3288d47775\\\\\\\"}\\\"}\",\"isRead\":false,\"status\":2,\"seq\":1,\"sendTime\":1736217529071,\"createTime\":1736217529068,\"attachedInfo\":\"{\\\"groupHasReadInfo\\\":{\\\"hasReadCount\\\":0,\\\"groupMemberCount\\\":0},\\\"isPrivateChat\\\":false,\\\"burnDuration\\\":0,\\\"hasReadTime\\\":0,\\\"isEncryption\\\":false,\\\"inEncryptStatus\\\":false}\",\"ex\":\"\",\"localEx\":\"\",\"isReact\":false,\"isExternalExtensions\":false,\"msgFirstModifyTime\":0}]","errCode":0,"errMsg":""}"}
wasm_exec.js:22 2025-01-07 13:54:01.281 ERROR [PID:-1] [version:3.8.0] [open_im_sdk/caller.go:110] fn call error {"operationID": "a0d981bc-852d-471a-ab2e-9fca69702905", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).DeleteMessage-fm", "cost time": "42 ms", "error": "==> github.com/openimsdk/openim-sdk-core/v3/pkg/utils.JsonStringToStruct()@79: json Unmarshal failed: json: Unmarshal(non-pointer []*model_struct.LocalChatLog)"}
@openim-10815ebf.js:1 SDK => [OperationID:a0d981bc-852d-471a-ab2e-9fca69702905] (invoked by js) run deleteMessage with error {"errCode":10005,"errMsg":"error *errors.withStack not implement CodeError: ==> github.com/openimsdk/openim-sdk-core/v3/pkg/utils.JsonStringToStruct()@79: json Unmarshal failed: json: Unmarshal(non-pointer []*model_struct.LocalChatLog)","operationID":"a0d981bc-852d-471a-ab2e-9fca69702905"}
index-751ac842.js:9 undefined {operationID: 'a0d981bc-852d-471a-ab2e-9fca69702905', event: 'Deletemessage ', errCode: 10005, errMsg: 'error *errors.withStack not implement CodeError: =…marshal(non-pointer []*model_struct.LocalChatLog)'}errCode: 10005errMsg: "error *errors.withStack not implement CodeError: ==> github.com/openimsdk/openim-sdk-core/v3/pkg/utils.JsonStringToStruct()@79: json Unmarshal failed: json: Unmarshal(non-pointer []*model_struct.LocalChatLog)"event: "Deletemessage "operationID: "a0d981bc-852d-471a-ab2e-9fca69702905"[[Prototype]]: Object
ht @ index-751ac842.js:9
w @ index-751ac842.js:9
await in w
p @ index-751ac842.js:9
onClick @ index-751ac842.js:9
Na @ react-dom-a8cb9ed7.js:9
Pa @ react-dom-a8cb9ed7.js:9
_a @ react-dom-a8cb9ed7.js:9
Lu @ react-dom-a8cb9ed7.js:9
ls @ react-dom-a8cb9ed7.js:9
(匿名) @ react-dom-a8cb9ed7.js:9
Xi @ react-dom-a8cb9ed7.js:9
_o @ react-dom-a8cb9ed7.js:9
al @ react-dom-a8cb9ed7.js:9
Ei @ react-dom-a8cb9ed7.js:9
Wa @ react-dom-a8cb9ed7.js:9
wasm_exec.js:22 2025-01-07 13:54:09.954 INFO [PID:-1] [version:3.8.0] [interaction/long_conn_mgr.go:321] sendPingMessage {"operationID": "ab5b3032-be98-4c98-92ac-f81a52148ecb", "goroutine ID:": 33}
wasm_exec.js:22 2025-01-07 13:54:09.955 DEBUG [PID:-1] [version:3.8.0] [interaction/long_conn_mgr.go:332] ping Message Started {"operationID": "ab5b3032-be98-4c98-92ac-f81a52148ecb", "goroutine ID:": 33, "opid": "1736229250757138783"}
wasm_exec.js:22 2025-01-07 13:54:09.956 DEBUG [PID:-1] [version:3.8.0] [interaction/long_conn_mgr.go:334] ping Message Started isConnected {"operationID": "ab5b3032-be98-4c98-92ac-f81a52148ecb", "goroutine ID:": 33, "opid": "1736229250757138783"}
wasm_exec.js:22 2025-01-07 13:54:33.943 INFO [PID:-1] [version:3.8.0] [interaction/long_conn_mgr.go:321] sendPingMessage {"operationID": "ab5b3032-be98-4c98-92ac-f81a52148ecb", "goroutine ID:": 33}
wasm_exec.js:22 2025-01-07 13:54:33.944 DEBUG [PID:-1] [version:3.8.0] [interaction/long_conn_mgr.go:332] ping Message Started {"operationID": "ab5b3032-be98-4c98-92ac-f81a52148ecb", "goroutine ID:": 33, "opid": "1736229274359137374"}
wasm_exec.js:22 2025-01-07 13:54:33.945 DEBUG [PID:-1] [version:3.8.0] [interaction/long_conn_mgr.go:334] ping Message Started isConnected {"operationID": "ab5b3032-be98-4c98-92ac-f81a52148ecb", "goroutine ID:": 33, "opid": "1736229274359137374"}

https://github.com/openimsdk/open-im-sdk-web-wasm/blob/main/assets/wasm_exec.js#L22 The SDK core logs will be printed here. can you collect more logs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants