Bug: the default port error #292
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
What happened?
When I make start the chat project, I find the default port of chat-rpc is 10009.
zk get config close zk called
zk get config zk watch ctx done
zk get config recv loop terminated: EOF
zk get config send loop terminated:
start chat server, port: 10009 prometheusPort: 0 , OpenIM version: v3.3.1
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
github.com/OpenIMSDK/chat/pkg/common/dbconn.NewMysqlGormDB()
github.com/OpenIMSDK/chat/pkg/common/dbconn/gorm.go:33 +0x868
github.com/OpenIMSDK/chat/pkg/common/dbconn.NewGormDB()
github.com/OpenIMSDK/chat/pkg/common/dbconn/gorm.go:74 +0x1d1
github.com/OpenIMSDK/chat/internal/rpc/chat.Start({0x10e9b50, 0xc00017c900}, 0x3?)
github.com/OpenIMSDK/chat/internal/rpc/chat/chat.go:32 +0x3a
github.com/OpenIMSDK/chat/pkg/common/chatrpcstart.Start(0x2?, {0xc0004c86e0, 0x4}, 0x1010000f3266f?, 0xf8b9a0, {0x0, 0x0, 0x0})
github.com/OpenIMSDK/chat/pkg/common/chatrpcstart/start.go:54 +0x679
main.main()
github.com/OpenIMSDK/chat/cmd/rpc/chat-rpc/main.go:49 +0x1d2
What did you expect to happen?
none
How can we reproduce it (as minimally and precisely as possible)?
none
Anything else we need to know?
No response
version
Cloud provider
OS version
Install tools
The text was updated successfully, but these errors were encountered: