我收到这个错误- "com.netflix.discovery.shared.transport.TransportException:无法在任何已知的服务器上执行请求“,同时在spring-boot中运行客户端应用程序,同时尝试在Microservice中使用Spring Boot进行身份验证模块。
下面是我的服务器和客户端application.properties文件:
服务器- application.properties
spring.application.name=demoEureka
#This is a eureka server so no need to regi
引言
所以总的来说,一切都很好。但我注意到,有时在重新启动之后,我们的一些服务注册为localhost。
这使得spring引导管理变得疯狂,它开始向我们发送垃圾邮件,显示服务已经关闭。
因此,我们开始收到以下电子邮件:
SEQUENCE-SERVICE (52c98f2235a2) is OFFLINE
Instance 52c98f2235a2 changed status from OFFLINE to OFFLINE
Status Details
exception
io.netty.channel.AbstractChannel$AnnotatedConnectException
我在kubernetes集群中部署了一个eureka pod (v1.15.2),今天pod变为挂起状态,实际状态是running.Other服务无法访问eureka,指示pod状态的eureka图标显示:this pod is in a pending state.This is my stateful yaml: {
"kind": "StatefulSet",
"apiVersion": "apps/v1beta2",
"metadata": {
"name": "