Skip to content

[BUG] conversation not found in GetConversation #3464

@weiwuxing

Description

@weiwuxing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions