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

[Deployment] Kafka check failed #2580

Closed
tonypra opened this issue Aug 31, 2024 · 21 comments
Closed

[Deployment] Kafka check failed #2580

tonypra opened this issue Aug 31, 2024 · 21 comments

Comments

@tonypra
Copy link

tonypra commented Aug 31, 2024

OpenIM Server Version

3.8

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Issue Description and Steps to Reproduce

                      	UserLocalCache                                    	{"topic": "", "slotNum": "0", "slotSize": "0", "enable": "false"}

2024-08-31 21:40:39.793 �[37mDEBUG�[0m �[37m[PID:14652] �[0m �[37mopenim-rpc-msg �[0m [version:3.8.0] [rpccache/group.go:34] GroupLocalCache {"topic": "DELETE_CACHE_GROUP", "slotNum": "100", "slotSize": "2000", "enable": "true"}
2024-08-31 21:40:39.793 �[37mDEBUG�[0m �[37m[PID:14652] �[0m �[37mopenim-rpc-msg �[0m [version:3.8.0] [rpccache/conversation.go:37] ConversationLocalCache {"topic": "DELETE_CACHE_CONVERSATION", "slotNum": "100", "slotSize": "2000", "enable": "true"}
2024-08-31 21:40:39.793 �[37mDEBUG�[0m �[37m[PID:14652] �[0m �[37mopenim-rpc-msg �[0m [version:3.8.0] [rpccache/friend.go:31] FriendLocalCache {"topic": "DELETE_CACHE_FRIEND", "slotNum": "100", "slotSize": "2000", "enable": "true"}
2024-08-31 21:40:42.753 �[37mDEBUG�[0m �[37m[PID:14591] �[0m �[37mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_msg_to_mongo_handler.go:101] online new session msg come {"highWaterMarkOffset": "12", "topic": "toMongo", "partition": "7"}
2024-08-31 21:40:42.754 �[34mINFO�[0m �[34m[PID:14603] �[0m �[34mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_history_msg_handler.go:283] online new session msg come {"highWaterMarkOffset": "296", "topic": "toRedis", "partition": "3"}
2024-08-31 21:40:42.754 �[37mDEBUG�[0m �[37m[PID:14603] �[0m �[37mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_msg_to_mongo_handler.go:101] online new session msg come {"highWaterMarkOffset": "5664", "topic": "toMongo", "partition": "2"}
2024-08-31 21:40:42.753 �[37mDEBUG�[0m �[37m[PID:14580] �[0m �[37mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_msg_to_mongo_handler.go:101] online new session msg come {"highWaterMarkOffset": "30511", "topic": "toMongo", "partition": "1"}
2024-08-31 21:40:42.762 �[34mINFO�[0m �[34m[PID:14580] �[0m �[34mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_history_msg_handler.go:283] online new session msg come {"highWaterMarkOffset": "88", "topic": "toRedis", "partition": "7"}
2024-08-31 21:40:42.765 �[37mDEBUG�[0m �[37m[PID:14580] �[0m �[37mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_msg_to_mongo_handler.go:101] online new session msg come {"highWaterMarkOffset": "1515", "topic": "toMongo", "partition": "0"}
2024-08-31 21:40:42.766 �[37mDEBUG�[0m �[37m[PID:14591] �[0m �[37mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_msg_to_mongo_handler.go:101] online new session msg come {"highWaterMarkOffset": "4599", "topic": "toMongo", "partition": "6"}
2024-08-31 21:40:42.767 �[34mINFO�[0m �[34m[PID:14603] �[0m �[34mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_history_msg_handler.go:283] online new session msg come {"highWaterMarkOffset": "1077432", "topic": "toRedis", "partition": "2"}
2024-08-31 21:40:42.770 �[34mINFO�[0m �[34m[PID:14591] �[0m �[34mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_history_msg_handler.go:283] online new session msg come {"highWaterMarkOffset": "123525", "topic": "toRedis", "partition": "5"}
2024-08-31 21:40:42.770 �[37mDEBUG�[0m �[37m[PID:14603] �[0m �[37mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_msg_to_mongo_handler.go:101] online new session msg come {"highWaterMarkOffset": "159", "topic": "toMongo", "partition": "3"}
2024-08-31 21:40:42.770 �[34mINFO�[0m �[34m[PID:14580] �[0m �[34mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_history_msg_handler.go:283] online new session msg come {"highWaterMarkOffset": "50244", "topic": "toRedis", "partition": "6"}
2024-08-31 21:40:42.762 �[37mDEBUG�[0m �[37m[PID:14600] �[0m �[37mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_msg_to_mongo_handler.go:101] online new session msg come {"highWaterMarkOffset": "8144", "topic": "toMongo", "partition": "5"}
2024-08-31 21:40:42.765 �[34mINFO�[0m �[34m[PID:14600] �[0m �[34mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_history_msg_handler.go:283] online new session msg come {"highWaterMarkOffset": "19244", "topic": "toRedis", "partition": "0"}
2024-08-31 21:40:42.770 �[37mDEBUG�[0m �[37m[PID:14600] �[0m �[37mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_msg_to_mongo_handler.go:101] online new session msg come {"highWaterMarkOffset": "156", "topic": "toMongo", "partition": "4"}
2024-08-31 21:40:42.772 �[34mINFO�[0m �[34m[PID:14600] �[0m �[34mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_history_msg_handler.go:283] online new session msg come {"highWaterMarkOffset": "741982", "topic": "toRedis", "partition": "1"}
2024-08-31 21:40:42.784 �[34mINFO�[0m �[34m[PID:14591] �[0m �[34mopenim-msgtransfer �[0m [version:3.8.0] [msgtransfer/online_history_msg_handler.go:283] online new session msg come {"highWaterMarkOffset": "286", "topic": "toRedis", "partition": "4"}
2024-08-31 21:40:57.361 �[37mDEBUG�[0m �[37m[PID:14577] �[0m �[37mopenim-api �[0m [version:3.8.0] [mw/rpc_client_interceptor.go:44] RPC Client Request - userToken {"operationID": "CheckOpenIM1725111661421236969", "funcName": "/openim.auth.Auth/userToken", "req": "secret:"openIM123" platformID:10 userID:"imAdmin"", "conn target": "etcd:///openim/auth"}
2024-08-31 21:40:57.361 �[34mINFO�[0m �[34m[PID:14620] �[0m �[34mopenim-rpc-auth �[0m [version:3.8.0] [mw/rpc_server_interceptor.go:48] RPC Server Request - UserToken {"operationID": "CheckOpenIM1725111661421236969", "funcName": "/openim.auth.Auth/UserToken", "req": "secret:"openIM123" platformID:10 userID:"imAdmin""}
2024-08-31 21:40:57.362 �[37mDEBUG�[0m �[37m[PID:14620] �[0m �[37mopenim-rpc-auth �[0m [version:3.8.0] [mw/rpc_client_interceptor.go:44] RPC Client Request - getDesignateUsers {"operationID": "CheckOpenIM1725111661421236969", "funcName": "/openim.user.user/getDesignateUsers", "req": "userIDs:"imAdmin"", "conn target": "etcd:///openim/user"}
2024-08-31 21:40:57.362 �[34mINFO�[0m �[34m[PID:14626] �[0m �[34mopenim-rpc-user �[0m [version:3.8.0] [mw/rpc_server_interceptor.go:48] RPC Server Request - GetDesignateUsers {"operationID": "CheckOpenIM1725111661421236969", "funcName": "/openim.user.user/GetDesignateUsers", "req": "userIDs:"imAdmin""}
2024-08-31 21:40:57.364 �[34mINFO�[0m �[34m[PID:14626] �[0m �[34mopenim-rpc-user �[0m [version:3.8.0] [mw/rpc_server_interceptor.go:57] RPC Server Response Success - GetDesignateUsers {"operationID": "CheckOpenIM1725111661421236969", "funcName": "/openim.user.user/GetDesignateUsers", "resp": "usersInfo:{userID:"imAdmin" nickname:"imAdmin" createTime:-62135596800000 appMangerLevel:3}"}
2024-08-31 21:40:57.366 �[34mINFO�[0m �[34m[PID:14620] �[0m �[34mopenim-rpc-auth �[0m [version:3.8.0] [mw/rpc_client_interceptor.go:47] RPC Client Response Success - getDesignateUsers {"operationID": "CheckOpenIM1725111661421236969", "funcName": "/openim.user.user/getDesignateUsers", "resp": "usersInfo:{userID:"imAdmin" nickname:"imAdmin" createTime:-62135596800000 appMangerLevel:3}"}
2024-08-31 21:40:57.368 �[34mINFO�[0m �[34m[PID:14620] �[0m �[34mopenim-rpc-auth �[0m [version:3.8.0] [mw/rpc_server_interceptor.go:57] RPC Server Response Success - UserToken {"operationID": "CheckOpenIM1725111661421236969", "funcName": "/openim.auth.Auth/UserToken", "resp": "token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiJpbUFkbWluIiwiUGxhdGZvcm1JRCI6MTAsImV4cCI6MTczMjg4NzY1NywibmJmIjoxNzI1MTExMzU3LCJpYXQiOjE3MjUxMTE2NTd9.Xf0YAaYvVOpp0AvO2hXSIDHHk19OZZQ1PTRTbD_Vt_4" expireTimeSeconds:7776000"}
2024-08-31 21:40:57.368 �[34mINFO�[0m �[34m[PID:14577] �[0m �[34mopenim-api �[0m [version:3.8.0] [mw/rpc_client_interceptor.go:47] RPC Client Response Success - userToken {"operationID": "CheckOpenIM1725111661421236969", "funcName": "/openim.auth.Auth/userToken", "resp": "token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiJpbUFkbWluIiwiUGxhdGZvcm1JRCI6MTAsImV4cCI6MTczMjg4NzY1NywibmJmIjoxNzI1MTExMzU3LCJpYXQiOjE3MjUxMTE2NTd9.Xf0YAaYvVOpp0AvO2hXSIDHHk19OZZQ1PTRTbD_Vt_4" expireTimeSeconds:7776000"}

Screenshots Link

ad01aff2e7da4366caf15bc27bc2011

@tonypra
Copy link
Author

tonypra commented Aug 31, 2024

image

@tonypra
Copy link
Author

tonypra commented Aug 31, 2024

图片

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Picture

@skiffer-git
Copy link
Member

This log is just a warning.
You might want to check other logs for any "send failed" messages.
Look at both the client and server logs.

@tonypra
Copy link
Author

tonypra commented Sep 1, 2024

image

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


image

@skiffer-git
Copy link
Member

You might want to check other logs for any "send failed" messages.
Look at both the client and server logs.

@skiffer-git
Copy link
Member

You could also try downloading the app to see how it works.

@tonypra
Copy link
Author

tonypra commented Sep 1, 2024

image

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


image

@tonypra
Copy link
Author

tonypra commented Sep 1, 2024

image

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


image

@tonypra
Copy link
Author

tonypra commented Sep 1, 2024

2024-08-31 17:15:16.268 �[37mDEBUG�[0m �[37m[PID:11882] �[0m �[37mchat-rpc �[0m [version:v1.8.0] [mw/rpc_client_interceptor.go:44] RPC Client Request - CheckLoginForbidden {"operationID": "79de0220-5884-4893-9dde-a434c24a04d0", "funcName": "/openim.admin.admin/CheckLoginForbidden", "req": "ip:"113.110.214.125" userID:"9991563240"", "conn target": "etcd:///openim/admin"}
2024-08-31 17:15:16.276 �[33mWARN�[0m �[33m[PID:11882] �[0m �[33mchat-rpc �[0m [version:v1.8.0] [mw/rpc_server_interceptor.go:103] rpc server resp WithDetails error {"operationID": "81289b58-af79-4d20-b51c-d70d48db6c1a", "funcName": "/openim.chat.chat/Login", "error": "Error: user unregistered: 20002 AccountNotFound | Error trace: 1 (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1027) -> handleStream (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1797) -> processUnaryRPC (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1386) -> _Chat_Login_Handler (/opt/chat/pkg/protocol/chat/chat.pb.go:4441) -> RpcServerInterceptor (/root/go/pkg/mod/github.com/openimsdk/[email protected]/mw/rpc_server_interceptor.go:59) -> func1 (/opt/chat/pkg/protocol/chat/chat.pb.go:4439) -> Login (/opt/chat/internal/rpc/chat/login.go:431) -> 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)"}
2024-08-31 17:15:16.279 �[33mWARN�[0m �[33m[PID:11882] �[0m �[33mchat-rpc �[0m [version:v1.8.0] [mw/rpc_server_interceptor.go:122] RPC Server Response Error - Login {"operationID": "81289b58-af79-4d20-b51c-d70d48db6c1a", "funcName": "/openim.chat.chat/Login", "req": "areaCode:"+86" phoneNumber:"13588888989" password:"fb01f147b53025cb74aae37eb0a4f46e" platform:2 ip:"113.110.214.125"", "err": null, "error": "rpc error: code = Code(20002) desc = user unregistered: 20002 AccountNotFound"}
2024-08-31 17:15:16.283 �[31mERROR�[0m �[31m[PID:11890] �[0m �[31mchat-api �[0m [version:v1.8.0] [mw/rpc_client_interceptor.go:50] RPC Client Response Error - Login {"operationID": "81289b58-af79-4d20-b51c-d70d48db6c1a", "funcName": "/openim.chat.chat/Login", "error": "rpc error: code = Code(20002) desc = user unregistered: 20002 AccountNotFound"}

2 similar comments
@tonypra
Copy link
Author

tonypra commented Sep 1, 2024

2024-08-31 17:15:16.268 �[37mDEBUG�[0m �[37m[PID:11882] �[0m �[37mchat-rpc �[0m [version:v1.8.0] [mw/rpc_client_interceptor.go:44] RPC Client Request - CheckLoginForbidden {"operationID": "79de0220-5884-4893-9dde-a434c24a04d0", "funcName": "/openim.admin.admin/CheckLoginForbidden", "req": "ip:"113.110.214.125" userID:"9991563240"", "conn target": "etcd:///openim/admin"}
2024-08-31 17:15:16.276 �[33mWARN�[0m �[33m[PID:11882] �[0m �[33mchat-rpc �[0m [version:v1.8.0] [mw/rpc_server_interceptor.go:103] rpc server resp WithDetails error {"operationID": "81289b58-af79-4d20-b51c-d70d48db6c1a", "funcName": "/openim.chat.chat/Login", "error": "Error: user unregistered: 20002 AccountNotFound | Error trace: 1 (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1027) -> handleStream (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1797) -> processUnaryRPC (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1386) -> _Chat_Login_Handler (/opt/chat/pkg/protocol/chat/chat.pb.go:4441) -> RpcServerInterceptor (/root/go/pkg/mod/github.com/openimsdk/[email protected]/mw/rpc_server_interceptor.go:59) -> func1 (/opt/chat/pkg/protocol/chat/chat.pb.go:4439) -> Login (/opt/chat/internal/rpc/chat/login.go:431) -> 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)"}
2024-08-31 17:15:16.279 �[33mWARN�[0m �[33m[PID:11882] �[0m �[33mchat-rpc �[0m [version:v1.8.0] [mw/rpc_server_interceptor.go:122] RPC Server Response Error - Login {"operationID": "81289b58-af79-4d20-b51c-d70d48db6c1a", "funcName": "/openim.chat.chat/Login", "req": "areaCode:"+86" phoneNumber:"13588888989" password:"fb01f147b53025cb74aae37eb0a4f46e" platform:2 ip:"113.110.214.125"", "err": null, "error": "rpc error: code = Code(20002) desc = user unregistered: 20002 AccountNotFound"}
2024-08-31 17:15:16.283 �[31mERROR�[0m �[31m[PID:11890] �[0m �[31mchat-api �[0m [version:v1.8.0] [mw/rpc_client_interceptor.go:50] RPC Client Response Error - Login {"operationID": "81289b58-af79-4d20-b51c-d70d48db6c1a", "funcName": "/openim.chat.chat/Login", "error": "rpc error: code = Code(20002) desc = user unregistered: 20002 AccountNotFound"}

@tonypra
Copy link
Author

tonypra commented Sep 1, 2024

2024-08-31 17:15:16.268 �[37mDEBUG�[0m �[37m[PID:11882] �[0m �[37mchat-rpc �[0m [version:v1.8.0] [mw/rpc_client_interceptor.go:44] RPC Client Request - CheckLoginForbidden {"operationID": "79de0220-5884-4893-9dde-a434c24a04d0", "funcName": "/openim.admin.admin/CheckLoginForbidden", "req": "ip:"113.110.214.125" userID:"9991563240"", "conn target": "etcd:///openim/admin"}
2024-08-31 17:15:16.276 �[33mWARN�[0m �[33m[PID:11882] �[0m �[33mchat-rpc �[0m [version:v1.8.0] [mw/rpc_server_interceptor.go:103] rpc server resp WithDetails error {"operationID": "81289b58-af79-4d20-b51c-d70d48db6c1a", "funcName": "/openim.chat.chat/Login", "error": "Error: user unregistered: 20002 AccountNotFound | Error trace: 1 (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1027) -> handleStream (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1797) -> processUnaryRPC (/root/go/pkg/mod/google.golang.org/[email protected]/server.go:1386) -> _Chat_Login_Handler (/opt/chat/pkg/protocol/chat/chat.pb.go:4441) -> RpcServerInterceptor (/root/go/pkg/mod/github.com/openimsdk/[email protected]/mw/rpc_server_interceptor.go:59) -> func1 (/opt/chat/pkg/protocol/chat/chat.pb.go:4439) -> Login (/opt/chat/internal/rpc/chat/login.go:431) -> 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)"}
2024-08-31 17:15:16.279 �[33mWARN�[0m �[33m[PID:11882] �[0m �[33mchat-rpc �[0m [version:v1.8.0] [mw/rpc_server_interceptor.go:122] RPC Server Response Error - Login {"operationID": "81289b58-af79-4d20-b51c-d70d48db6c1a", "funcName": "/openim.chat.chat/Login", "req": "areaCode:"+86" phoneNumber:"13588888989" password:"fb01f147b53025cb74aae37eb0a4f46e" platform:2 ip:"113.110.214.125"", "err": null, "error": "rpc error: code = Code(20002) desc = user unregistered: 20002 AccountNotFound"}
2024-08-31 17:15:16.283 �[31mERROR�[0m �[31m[PID:11890] �[0m �[31mchat-api �[0m [version:v1.8.0] [mw/rpc_client_interceptor.go:50] RPC Client Response Error - Login {"operationID": "81289b58-af79-4d20-b51c-d70d48db6c1a", "funcName": "/openim.chat.chat/Login", "error": "rpc error: code = Code(20002) desc = user unregistered: 20002 AccountNotFound"}

@tonypra
Copy link
Author

tonypra commented Sep 1, 2024

image

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


image

@tonypra
Copy link
Author

tonypra commented Sep 1, 2024

图片

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Picture

@skiffer-git
Copy link
Member

register first

@skiffer-git
Copy link
Member

You can delete the components dictionary and deploy it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants