openimsdk / open-im-server

IM Chat ChatGPT
https://openim.io
Apache License 2.0
14.14k stars 2.5k forks source link

[BUG] no need to specify port and ports in config for RPC services #2895

Open morya opened 5 days ago

morya commented 5 days ago

OpenIM Server Version

v3.8.0

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

rpc services are started and auto registered into registry ( zookeeper, etcd, k8s etc...), listen IP and listen port are not that significant enough to be set in config file, it could be auto allocated random by system.

Screenshots Link

No response

morya commented 4 days ago

可能,有点代码坏味道,实现的略微粗糙点

OpenIM-Robot commented 4 days ago

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


Maybe, it’s a bit of a bad code smell, and the implementation is a little rough.

morya commented 4 days ago

there are bug existing, msggateway will fail to start,

morya commented 3 days ago

there are bug existing, msggateway will fail to start,

ok, it's caused by config file error. no need to fix.