Skip to content

[BUG] Error messages when invite user to group #3272

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

Open
hahahaasss opened this issue Apr 3, 2025 · 4 comments
Open

[BUG] Error messages when invite user to group #3272

hahahaasss opened this issue Apr 3, 2025 · 4 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@hahahaasss
Copy link

OpenIM Server Version

3.8.3

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

The error message says that the user does not exist when trying to add the user to the group chat, but the action of adding the user to the group chat was successful, and the user was added to the group.

Image

Screenshots Link

The error message says that the user does not exist when trying to add the user to the group chat, but the action of adding the user to the group chat was successful, and the user was added to the group.

@hahahaasss hahahaasss added the bug Categorizes issue or PR as related to a bug. label Apr 3, 2025
@OpenIM-Robot
Copy link

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.

@hahahaasss
Copy link
Author

thanks,this is relevant logs.

@hahahaasss
Copy link
Author

"platform": "Admin", "operationID": "1743667474431", "opUserID": "imAdmin", "error": "Error: 1101 UserIDNotFoundError user not found | -> errs.(*codeError).WrapMsg() /go/pkg/mod/github.com/openimsdk/tools@v0.0.50-alpha.74/errs/coderr.go:67 -> group.(*NotificationSender).getUser() /openim-server/internal/rpc/group/notification.go:125 -> group.(*NotificationSender).fillUserByUserID() /openim-server/internal/rpc/group/notification.go:262 -> group.(*NotificationSender).GroupApplicationAgreeMemberEnterNotification() /openim-server/internal/rpc/group/notification.go:565 -> group.(*groupServer).InviteUserToGroup() /openim-server/internal/rpc/group/group.go:457 -> group._Group_InviteUserToGroup_Handler.func1() /go/pkg/mod/github.com/openimsdk/protocol@v0.0.72-alpha.78/group/group_grpc.pb.go:1046 -> startrpc.Start[...].prommetricsUnaryInterceptor.func7() /openim-server/pkg/common/startrpc/start.go:229 -> grpc.getChainUnaryHandler.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1211 -> mw.RpcServerInterceptor() /go/pkg/mod/github.com/openimsdk/tools@v0.0.50-alpha.74/mw/rpc_server_interceptor.go:40 -> grpc.getChainUnaryHandler.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1211 -> versionctx.enableVersionCtxInterceptor() /openim-server/pkg/common/storage/versionctx/rpc.go:13 -> grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1202 -> group._Group_InviteUserToGroup_Handler() /go/pkg/mod/github.com/openimsdk/protocol@v0.0.72-alpha.78/group/group_grpc.pb.go:1048 -> grpc.(*Server).processUnaryRPC() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1394 -> grpc.(*Server).handleStream() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1806 -> grpc.(*Server).serveStreams.func2.1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1030"}
2025-04-03 08:04:34.946 WARN [PID:2013] openim-rpc-group [v3.8.3
] [mw/rpc_server_interceptor.go:85] rpc server response failed {"platform": "Admin", "operationID": "1743667474431", "opUserID": "imAdmin", "method": "/openim.group.group/inviteUserToGroup", "req": "groupID:"4158298803" invitedUserIDs:"1907326789666967553"", "error": "Error: 1101 UserIDNotFoundError user not found | -> errs.(*codeError).WrapMsg() /go/pkg/mod/github.com/openimsdk/tools@v0.0.50-alpha.74/errs/coderr.go:67 -> group.(*NotificationSender).getUser() /openim-server/internal/rpc/group/notification.go:125 -> group.(*NotificationSender).fillUserByUserID() /openim-server/internal/rpc/group/notification.go:262 -> group.(*NotificationSender).GroupApplicationAgreeMemberEnterNotification() /openim-server/internal/rpc/group/notification.go:565 -> group.(*groupServer).InviteUserToGroup() /openim-server/internal/rpc/group/group.go:457 -> group._Group_InviteUserToGroup_Handler.func1() /go/pkg/mod/github.com/openimsdk/protocol@v0.0.72-alpha.78/group/group_grpc.pb.go:1046 -> startrpc.Start[...].prommetricsUnaryInterceptor.func7() /openim-server/pkg/common/startrpc/start.go:229 -> grpc.getChainUnaryHandler.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1211 -> mw.RpcServerInterceptor() /go/pkg/mod/github.com/openimsdk/tools@v0.0.50-alpha.74/mw/rpc_server_interceptor.go:40 -> grpc.getChainUnaryHandler.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1211 -> versionctx.enableVersionCtxInterceptor() /openim-server/pkg/common/storage/versionctx/rpc.go:13 -> grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1202 -> group._Group_InviteUserToGroup_Handler() /go/pkg/mod/github.com/openimsdk/protocol@v0.0.72-alpha.78/group/group_grpc.pb.go:1048 -> grpc.(*Server).processUnaryRPC() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1394 -> grpc.(*Server).handleStream() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1806 -> grpc.(*Server).serveStreams.func2.1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1030"}

@hahahaasss
Copy link
Author

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.

thanks,this is logs.
"platform": "Admin", "operationID": "1743667474431", "opUserID": "imAdmin", "error": "Error: 1101 UserIDNotFoundError user not found | -> errs.(*codeError).WrapMsg() /go/pkg/mod/github.com/openimsdk/tools@v0.0.50-alpha.74/errs/coderr.go:67 -> group.(*NotificationSender).getUser() /openim-server/internal/rpc/group/notification.go:125 -> group.(*NotificationSender).fillUserByUserID() /openim-server/internal/rpc/group/notification.go:262 -> group.(*NotificationSender).GroupApplicationAgreeMemberEnterNotification() /openim-server/internal/rpc/group/notification.go:565 -> group.(*groupServer).InviteUserToGroup() /openim-server/internal/rpc/group/group.go:457 -> group._Group_InviteUserToGroup_Handler.func1() /go/pkg/mod/github.com/openimsdk/protocol@v0.0.72-alpha.78/group/group_grpc.pb.go:1046 -> startrpc.Start[...].prommetricsUnaryInterceptor.func7() /openim-server/pkg/common/startrpc/start.go:229 -> grpc.getChainUnaryHandler.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1211 -> mw.RpcServerInterceptor() /go/pkg/mod/github.com/openimsdk/tools@v0.0.50-alpha.74/mw/rpc_server_interceptor.go:40 -> grpc.getChainUnaryHandler.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1211 -> versionctx.enableVersionCtxInterceptor() /openim-server/pkg/common/storage/versionctx/rpc.go:13 -> grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1202 -> group._Group_InviteUserToGroup_Handler() /go/pkg/mod/github.com/openimsdk/protocol@v0.0.72-alpha.78/group/group_grpc.pb.go:1048 -> grpc.(*Server).processUnaryRPC() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1394 -> grpc.(*Server).handleStream() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1806 -> grpc.(*Server).serveStreams.func2.1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1030"}
2025-04-03 08:04:34.946 WARN [PID:2013] openim-rpc-group [v3.8.3
] [mw/rpc_server_interceptor.go:85] rpc server response failed {"platform": "Admin", "operationID": "1743667474431", "opUserID": "imAdmin", "method": "/openim.group.group/inviteUserToGroup", "req": "groupID:"4158298803" invitedUserIDs:"1907326789666967553"", "error": "Error: 1101 UserIDNotFoundError user not found | -> errs.(*codeError).WrapMsg() /go/pkg/mod/github.com/openimsdk/tools@v0.0.50-alpha.74/errs/coderr.go:67 -> group.(*NotificationSender).getUser() /openim-server/internal/rpc/group/notification.go:125 -> group.(*NotificationSender).fillUserByUserID() /openim-server/internal/rpc/group/notification.go:262 -> group.(*NotificationSender).GroupApplicationAgreeMemberEnterNotification() /openim-server/internal/rpc/group/notification.go:565 -> group.(*groupServer).InviteUserToGroup() /openim-server/internal/rpc/group/group.go:457 -> group._Group_InviteUserToGroup_Handler.func1() /go/pkg/mod/github.com/openimsdk/protocol@v0.0.72-alpha.78/group/group_grpc.pb.go:1046 -> startrpc.Start[...].prommetricsUnaryInterceptor.func7() /openim-server/pkg/common/startrpc/start.go:229 -> grpc.getChainUnaryHandler.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1211 -> mw.RpcServerInterceptor() /go/pkg/mod/github.com/openimsdk/tools@v0.0.50-alpha.74/mw/rpc_server_interceptor.go:40 -> grpc.getChainUnaryHandler.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1211 -> versionctx.enableVersionCtxInterceptor() /openim-server/pkg/common/storage/versionctx/rpc.go:13 -> grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1202 -> group._Group_InviteUserToGroup_Handler() /go/pkg/mod/github.com/openimsdk/protocol@v0.0.72-alpha.78/group/group_grpc.pb.go:1048 -> grpc.(*Server).processUnaryRPC() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1394 -> grpc.(*Server).handleStream() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1806 -> grpc.(*Server).serveStreams.func2.1() /go/pkg/mod/google.golang.org/grpc@v1.68.0/server.go:1030"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants