-
Notifications
You must be signed in to change notification settings - Fork 558
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
对Hertz做服务发现的注册时,启动Listen任意端口时,Transport最终使用的端口无法正确传给Registry #1062
Labels
question
Further information is requested
Comments
This issue has been marked as invalid question, please give more information by following the |
我们优化一下 cc @Skyenought |
快速解决方案是手动先指定一下 IP/Port 获取一下 loccal 的 |
已经按这个方式本地绕过~ |
OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hertz/pkg/app/server/hertz.go
Line 132 in 532011f
这里仅使用opt中的registry info,而kitex在启动后会更新registry info
对应现象是hertz能正常监听到任意端口,但在
initOnRunHooks
时,没有用监听到的端口地址去配置服务发现注册相关代码
The text was updated successfully, but these errors were encountered: