-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
nacos作服务注册中心时某种情况下spring cloud gateway无法注册进入nacos server #3214
Comments
Please refer to the document to set the component's dependencies version firstly. |
也就是说我用的pring cloud 2021.0.5,只能用spring-cloud-starter-alibaba-nacos-discovery版本2021.0.4.0*,nacos版本2.0.4,对吧 |
不像是版本问题。换了版本测试: 当nacos里有微服务时,启动gateway,无法启动完成(卡住了),且没有注册进nacos里 |
临时解决办法: |
This issue has been open 30 days with no activity. This will be closed in 7 days. |
This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community. |
排查是否缺少loaderbanlance |
我遇到一个奇葩现象,不知道是什么原因,特来请教:
使用nacos作服务发现。
当nacos里server list有微服务时,启动spring cloud gateway无法注册进入nacos server,并且启动过程卡住了无法启动完成,在nacos里没有gateway服务,观察spring cloud gateway启动日志也无错误,还正常向nacos拉取了微服务server list。
当把nacos里的微服务都停掉后,nacos里没有微服务时,再启动spring cloud gateway就能注册进入nacos里,在nacos里能看到gateway服务,spring cloud gateway也正常启动成功,然后再启动其他微服务,一切正常。
nacos版本2.2.0.1
spring cloud版本2021.0.5
spring boot版本2.6.13
spring-cloud-starter-alibaba-nacos-discovery版本2021.1
The text was updated successfully, but these errors were encountered: