open-im-server icon indicating copy to clipboard operation
open-im-server copied to clipboard

[BUG] conversation not found in GetConversation

Open weiwuxing opened this issue 9 months ago • 2 comments

OpenIM Server Version

3.8.3

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

Use API to send messages to users. Suddenly an accidental error occurred. After it appears, the frequency becomes very high. 1004 error, prompting session not found.

94448691", "opUserID": "imAdmin", "funcName": "/openim.conversation.conversation/GetConversation", "req": "conversationID:"si_d526932b1fae48e3ad3d06fa50f3f081_ebd401c896624e6cbd1e8920d1356948" ownerUserID:"ebd401c896624e6cbd1e8920d1356948""} 2025-07-19 11:07:28.710 WARN [PID:3469] openim-rpc-conversation [3.8.2] [mw/rpc_server_interceptor.go:94] rpc server resp WithDetails error {"platform": "Admin", "operationID": "1752894448691", "opUserID": "imAdmin", "funcName": "/openim.conversation.conversation/GetConversation", "error": "Error: conversation not found: 1004 RecordNotFoundError | Error trace: 1 (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1029) -> handleStream (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1805) -> processUnaryRPC (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1394) -> _Conversation_GetConversation_Handler (/root/go/pkg/mod/github.com/openimsdk/[email protected]/conversation/conversation.pb.go:4855) -> func1 (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1202) -> RpcServerInterceptor (/root/go/pkg/mod/github.com/openimsdk/[email protected]/mw/rpc_server_interceptor.go:50) -> func1 (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1211) -> func6 (/root/open-im-server/pkg/common/startrpc/start.go:185) -> func1 (/root/go/pkg/mod/github.com/openimsdk/[email protected]/conversation/conversation.pb.go:4853) -> GetConversation (/root/open-im-server/internal/rpc/conversation/conversation.go:99) -> WrapMsg (/root/go/pkg/mod/github.com/openimsdk/[email protected]/errs/coderr.go:78) -> WrapMsg (/root/go/pkg/mod/github.com/openimsdk/[email protected]/errs/coderr.go:134)"} 2025-07-19 11:07:28.710 WARN [PID:3469] openim-rpc-conversation [3.8.2] [mw/rpc_server_interceptor.go:113] RPC Server Response Error - GetConversation {"platform": "Admin", "operationID": "1752894448691", "opUserID": "imAdmin

Screenshots Link

No response

weiwuxing avatar Jul 19 '25 06:07 weiwuxing

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

OpenIM-Robot avatar Jul 19 '25 06:07 OpenIM-Robot

Can you give me more infomation? You can try to update Server version to v3.8.3-patch.6.

mo3et avatar Jul 23 '25 08:07 mo3et