spring-cloud-commons icon indicating copy to clipboard operation
spring-cloud-commons copied to clipboard

Spring cloud loadbalancer without eureka server

Open anjanitsip opened this issue 5 years ago • 5 comments

Spring Boot 2.2.3 with spring cloud load balancer. I am not able to run the application without a discovery server (Eureka) -

spring.cloud.discovery.enabled=false spring.cloud.config.enabled=false eureka.client.enabled=false

I am getting below exception

org.springframework.web.reactive.function.client.WebClientResponseException$ServiceUnavailable: 503 Service Unavailable from UNKNOWN
at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:207)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
|_ checkpoint ⇢ 503 from GET http://terminal-mgmt/terminal/aplinfo?aplName=jp

I have passed the server list as below

spring.cloud.discovery.client.simple.instances.my-service[0].uri = http:\my-service:port

anjanitsip avatar May 25 '21 09:05 anjanitsip

terminal-mgmt != my-service

spencergibb avatar Jun 03 '21 19:06 spencergibb

my-service used as an example. In actual it is terminal-mgmt.

anjanitsip avatar Jun 04 '21 01:06 anjanitsip

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.

spencergibb avatar Jun 04 '21 02:06 spencergibb

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.

spring-cloud-issues avatar Jun 11 '21 02:06 spring-cloud-issues

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.

spring-cloud-issues avatar Jun 18 '21 02:06 spring-cloud-issues