有没有办法通过配置将特定的ip地址列入黑名单,使其不能通过Spring Eureka cloud discovery注册为微服务?似乎每次我重新启动发现服务时,都会有一个无法识别的ip实例注册为微服务。从附加的图像中,我预计只有一个实例存在,而不是显示的两个实例。application.yml文件配置如下: ---
# This default profile is used when runnin
根据这个博客,是建立在eureka服务发现的基础上,服务发现在哪里工作正常。java.lang.IllegalStateException: No instances available for ACCOUNTS-SERVICEat org.springframework.cloud.client.loadbalance
通过网关进行的Api调用抛出java.net.UnknownHostException,即使我能够用给定的主机名直接访问应用程序。Spring版本:2.4.2Java版本: 11Error has been observed at the following site(s):
|_ checkpoint ⇢ org.springframework.cloud.gateway.filter.Weig
我正试图在AWS ECS中部署我的spring启动微服务。我能够运行尤里卡容器作为一项任务,它正在正常工作。但是当我用AWS Fargate运行其他微服务时,它是日志显示
[ main] c.n.e.transport.JerseyReplicationClient : Cannot find localhostip java.net.UnknownHostException: 4terdtrtxxx: 53543xxxxd: Name does not resolve at java.