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] getGroupMemberList err #760

Open
volencez opened this issue Oct 21, 2024 · 1 comment
Open

[BUG] getGroupMemberList err #760

volencez opened this issue Oct 21, 2024 · 1 comment

Comments

@volencez
Copy link

OpenIM Server Version

main and release-3.8.0

Operating System and CPU Architecture

macOS (ARM)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

2024-10-21 10:21:45.216 �[34mINFO�[0m �[34m[PID:45572] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1729506105214", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "args": ["2601187032",5,0,1000]}
2024-10-21 10:21:45.218 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105214", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/version_sync.go:33", "elapsed time": "0.328708(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_groups" and entity_id = "8029846575" LIMIT 1"}
2024-10-21 10:21:45.218 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105214", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/version_sync.go:33", "elapsed time": "0.215167(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "2601187032" LIMIT 1"}
2024-10-21 10:21:45.219 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105214", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/version_sync.go:33", "elapsed time": "0.138208(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "2601187032" LIMIT 1"}
2024-10-21 10:21:45.219 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105214", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/group_member_model.go:98", "elapsed time": "0.317708(ms)", "rows": 1, "sql": "SELECT * FROM local_group_members WHERE group_id = "2601187032" AND (role_level = 100 OR role_level = 60) AND user_id IN ("8029846575","2541721459","8783720428")"}
2024-10-21 10:21:45.221 �[34mINFO�[0m �[34m[PID:45572] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1729506105214", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "resp": [{"groupID":"2601187032","userID":"8029846575","nickname":"苏牙一眼定情9952","faceURL":"http://localhost:10005/ols/avator/8029846575.png","roleLevel":100,"joinTime":1729438239530,"joinSource":2,"inviterUserID":"8029846575","muteEndTime":0,"operatorUserID":"8029846575","ex":"","attachedInfo":""}], "cost time": "4 ms"}
2024-10-21 10:21:45.249 �[34mINFO�[0m �[34m[PID:45572] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1729506105244", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "args": ["2601187032",3,0,1000]}
2024-10-21 10:21:45.250 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105244", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/version_sync.go:33", "elapsed time": "0.252583(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_groups" and entity_id = "8029846575" LIMIT 1"}
2024-10-21 10:21:45.250 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105244", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/version_sync.go:33", "elapsed time": "0.162250(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "2601187032" LIMIT 1"}
2024-10-21 10:21:45.250 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105244", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/group_member_model.go:124", "elapsed time": "0.285750(ms)", "rows": 1, "sql": "SELECT * FROM local_group_members WHERE group_id = "2601187032" And (role_level = 100 or role_level = 60) ORDER BY role_level DESC,join_time ASC LIMIT 100"}
2024-10-21 10:21:45.251 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105244", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/version_sync.go:33", "elapsed time": "0.122667(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "2601187032" LIMIT 1"}
2024-10-21 10:21:45.251 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105244", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/group_member_model.go:94", "elapsed time": "0.320042(ms)", "rows": 2, "sql": "SELECT * FROM local_group_members WHERE group_id = "2601187032" AND role_level = 20 AND user_id IN ("2541721459","8783720428")"}
2024-10-21 10:21:45.251 �[31mERROR�[0m �[31m[PID:45572] �[0m [version:3.8.0] [open_im_sdk/caller.go:109] fn call error {"operationID": "1729506105244", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "cost time": "4 ms", "error": "10002 ArgsError"}
Optional("10002 ArgsError")

Screenshots Link

No response

@mo3et
Copy link
Member

mo3et commented Oct 29, 2024

I think this problem maybe is not normal User. I can't look the upsteam call. GetGroup Admin and Owner is success.

@FGadvancer FGadvancer transferred this issue from openimsdk/open-im-sdk-ios Oct 29, 2024
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