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] Requesting history messages getAdvancedHistoryMessageList always times out 10001 Network timeout error #61

Open
FunnyerFeng opened this issue Nov 15, 2024 · 3 comments

Comments

@FunnyerFeng
Copy link

OpenIM Server Version

3.8.1

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

2024-11-15 10:06:04.659 �[34mINFO�[0m �[34m[PID:63302] �[0m [version:v3.8.1
] [native_iOS/IOS] [open_im_sdk/caller.go:108] fn call success {"operationID": "1731665149509", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).GetAdvancedHistoryMessageList-fm", "cost time": "15149 ms", "resp": {"messageList":[{"clientMsgID":"91711833d31b84149c56dd4a90cd1dc0","serverMsgID":"86da0c34590b6bf9349b9bd4dfcb247a","createTime":1731664854036,"sendTime":1731664854036,"sessionType":3,"sendID":"1319275566","recvID":"6424209406","msgFrom":200,"contentType":110,"senderPlatformID":5,"senderNickname":"1212","senderFaceUrl":"http://10.11.8.252:10002/object/1319275566/6.webp","groupID":"3442940208","seq":8,"isRead":false,"status":2,"customElem":{"data":"您好,当前为非工作时间,我们的工作时间:交易日 9:00-18:00。您可以进行留言,我们将在工作后尽快回复。","description":"群文本通知","extension":"{"subType":11001}"},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":0},"isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}},{"clientMsgID":"b3ec4f32abe51bfa7e32bca2804407dc","serverMsgID":"89b4e40a4172477777ac35b355fad5c7","createTime":1731664945095,"sendTime":1731664951337,"sessionType":3,"sendID":"6424209406","recvID":"6424209406","msgFrom":100,"contentType":101,"senderPlatformID":1,"senderNickname":"200013391","groupID":"3442940208","seq":9,"isRead":false,"status":2,"textElem":{"content":"😀😁😃😇"},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":8},"isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}},{"clientMsgID":"1b8828d9fbfe7587ee92fe9ef79e04e7","serverMsgID":"2f1d974c87a41252a86cc18a79b2be8d","createTime":1731664970242,"sendTime":1731664971520,"sessionType":3,"sendID":"6424209406","recvID":"6424209406","msgFrom":100,"contentType":102,"senderPlatformID":1,"senderNickname":"200013391","groupID":"3442940208","seq":10,"isRead":false,"status":2,"pictureElem":{"sourcePath":"/var/mobile/Containers/Data/Application/CAC385F9-3988-4E10-8181-E32583983EB8/Library/Caches/com.hackemist.SDImageCache/default/ef8f78819290cdd4a913373ccbad09c5","sourcePicture":{"type":"image/jpeg","size":0,"width":2268,"height":4032,"url":"http://10.11.8.252:10002/object/6424209406/msg_picture_1b8828d9fbfe7587ee92fe9ef79e04e7"},"bigPicture":{"type":"image/jpeg","size":0,"width":2268,"height":4032,"url":"http://10.11.8.252:10002/object/6424209406/msg_picture_1b8828d9fbfe7587ee92fe9ef79e04e7"},"snapshotPicture":{"size":0,"width":640,"height":640,"url":"http://10.11.8.252:10002/object/6424209406/msg_picture_1b8828d9fbfe7587ee92fe9ef79e04e7?height=640&type=image&width=640"}},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":8},"isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}},{"clientMsgID":"d895517e9d1972a1dacba7794d988261","serverMsgID":"a8408090648cc3e384b07e7656a8ded0","createTime":1731664974124,"sendTime":1731664981737,"sessionType":3,"sendID":"6424209406","recvID":"6424209406","msgFrom":100,"contentType":102,"senderPlatformID":1,"senderNickname":"200013391","groupID":"3442940208","seq":11,"isRead":false,"status":2,"pictureElem":{"sourcePath":"/var/mobile/Containers/Data/Application/CAC385F9-3988-4E10-8181-E32583983EB8/Library/Caches/com.hackemist.SDImageCache/default/044c0567d7888dfa96b4c0b64956268a","sourcePicture":{"type":"image/jpeg","size":0,"width":1080,"height":1920,"url":"http://10.11.8.252:10002/object/6424209406/msg_picture_d895517e9d1972a1dacba7794d988261"},"bigPicture":{"type":"image/jpeg","size":0,"width":1080,"height":1920,"url":"http://10.11.8.252:10002/object/6424209406/msg_picture_d895517e9d1972a1dacba7794d988261"},"snapshotPicture":{"size":0,"width":640,"height":640,"url":"http://10.11.8.252:10002/object/6424209406/msg_picture_d895517e9d1972a1dacba7794d988261?height=640&type=image&width=640"}},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":8},"isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}},{"clientMsgID":"32a0dd927449e6c28b739900297c8e52","serverMsgID":"9dfb03bf920ef6c3c98bbfd9363e1606","createTime":1731664976457,"sendTime":1731664981763,"sessionType":3,"sendID":"6424209406","recvID":"6424209406","msgFrom":100,"contentType":102,"senderPlatformID":1,"senderNickname":"200013391","groupID":"3442940208","seq":12,"isRead":false,"status":2,"pictureElem":{"sourcePath":"/var/mobile/Containers/Data/Application/CAC385F9-3988-4E10-8181-E32583983EB8/Library/Caches/com.hackemist.SDImageCache/default/f8b1de46fb114d26964d0cf06a5cfafe","sourcePicture":{"type":"image/jpeg","size":0,"width":1080,"height":2336,"url":"http://10.11.8.252:10002/object/6424209406/msg_picture_32a0dd927449e6c28b739900297c8e52"},"bigPicture":{"type":"image/jpeg","size":0,"width":1080,"height":2336,"url":"http://10.11.8.252:10002/object/6424209406/msg_picture_32a0dd927449e6c28b739900297c8e52"},"snapshotPicture":{"size":0,"width":640,"height":640,"url":"http://10.11.8.252:10002/object/6424209406/msg_picture_32a0dd927449e6c28b739900297c8e52?height=640&type=image&width=640"}},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":8},"isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}},{"clientMsgID":"4038ca9889c333f8fc1b7105012b3b43","serverMsgID":"37daca180ec0295c37cb44fdb8650ecf","createTime":1731665033786,"sendTime":1731665044096,"sessionType":3,"sendID":"6424209406","recvID":"6424209406","msgFrom":100,"contentType":105,"senderPlatformID":1,"senderNickname":"200013391","groupID":"3442940208","seq":13,"isRead":false,"status":2,"fileElem":{"filePath":"/var/mobile/Containers/Data/Application/CAC385F9-3988-4E10-8181-E32583983EB8/Library/Caches/com.hackemist.SDImageCache/default/08887dab461ae0aca360af7933e9e2ff.pdf","sourceUrl":"http://10.11.8.252:10002/object/6424209406/msg_file_4038ca9889c333f8fc1b7105012b3b43/2020科目一《法律法规》日期、时间、公式汇总.pdf","fileName":"2020科目一《法律法规》日期、时间、公式汇总.pdf","fileSize":286665},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":8},"isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}}],"lastMinSeq":8,"isEnd":false,"errCode":100,"errMsg":"10001 Network timeout error"}}

Screenshots Link

No response

@std-s std-s changed the title [BUG] 请求历史消息getAdvancedHistoryMessageList 总是超时10001 Network timeout error [BUG] Requesting history messages getAdvancedHistoryMessageList always times out 10001 Network timeout error Nov 19, 2024
@std-s
Copy link
Member

std-s commented Nov 19, 2024

Hi, what is the setting of "count" for the parameter of "GetAdvancedHistoryMessageList"?

@FunnyerFeng
Copy link
Author

Hi, what is the setting of "count" for the parameter of "GetAdvancedHistoryMessageList"?

historyMessageListParam.count = 50

@std-s
Copy link
Member

std-s commented Nov 22, 2024

Provide the complete client log.

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

2 participants