Closed pgm-rookie closed 3 years ago
How long did you wait?
until I restart gateway service or requests can not route to downstream service , if I change property "spring.cloud.netflix.ribbon=true" to ues ribbon instead of spring cloud loadbalance, there's no problem.
How long did you wait?
until I restart gateway service or requests can not route to downstream service , if I change property "spring.cloud.netflix.ribbon=true" to ues ribbon instead of spring cloud loadbalance, there's no problem.
It may have something to do with spring cloud loadbalance.
Mark! I met the same
Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.
I have the same problem, It's sad that up to now, the spring cloud team can't provide a walkaround. I try to re-route to the actual service but not fruitful. The gateway logs keep saying, No servers availble for service customer
md,+1,网关日志一直说,服务客户没有可用的服务器
@xTreeRoot We can't get you. Please write in English kindly
@kisevu did you find solution for it? im have no idea what is causing that.
Earlier on, it was a dependency issue and issues about the spring boot version. Try and use spring boot 3.2.1 or 3.1.7 with java 17 or higher and this can mitigate the issue. I nolonger face the same issue. Also try and use tomcat 9 >
My route definition code is like below:
I start eureka server,config center,gateway in order,and then i start user management service. Requests can not route to user management service,
This log will appear in gateway log file,but if i restart gateway ,it will be OK. I remembered this problem does not appear in SpringCloud version:Finchley, i can start gateway before other downstream services or after.
How i can relsove this problem, THKS!