You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a developer on the Steeltoe team, which provides a .NET port of Spring Cloud Eureka (client only). The port was done many years ago before I joined the team, by someone who's no longer working for our company.
While refactoring/testing our code, I used an Eureka docker image, built on the latest Java bits. To optimize network traffic, I changed our code to only send relevant properties during register. It all works fine against docker. But when deploying to Cloud Foundry, register fails with a 500 error. Based on the logs, an unhandled exception is thrown when Eureka server renders the response body:
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] 2024-04-11T14:09:53.984Z ERROR 25 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] java.lang.NullPointerException: Cannot invoke "com.netflix.appinfo.InstanceInfo$InstanceStatus.name()" because the return value of "com.netflix.appinfo.InstanceInfo.getOverriddenStatus()" is null
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at com.netflix.discovery.converters.Converters$InstanceInfoConverter.marshal(Converters.java:299) ~[eureka-client-2.0.1.jar:2.0.1]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:71) ~[xstream-1.4.20.jar:1.4.20]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:59) ~[xstream-1.4.20.jar:1.4.20]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:44) ~[xstream-1.4.20.jar:1.4.20]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:83) ~[xstream-1.4.20.jar:1.4.20]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) ~[xstream-1.4.20.jar:1.4.20]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at com.thoughtworks.xstream.XStream.marshal(XStream.java:1303) ~[xstream-1.4.20.jar:1.4.20]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at com.thoughtworks.xstream.XStream.marshal(XStream.java:1292) ~[xstream-1.4.20.jar:1.4.20]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at com.thoughtworks.xstream.XStream.toXML(XStream.java:1280) ~[xstream-1.4.20.jar:1.4.20]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at com.netflix.discovery.converters.EntityBodyConverter.write(EntityBodyConverter.java:74) ~[eureka-client-2.0.1.jar:2.0.1]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at io.pivotal.spring.cloud.eurekaserver.jersey.AddInstanceMetadataFilter.doFilterInternal(AddInstanceMetadataFilter.java:47) ~[classes/:3.2.3]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.17.jar:6.0.17]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.cloud.netflix.eureka.server.EurekaServerAutoConfiguration$1.doFilterInternal(EurekaServerAutoConfiguration.java:306) ~[spring-cloud-netflix-eureka-server-4.0.4.jar:4.0.4]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.17.jar:6.0.17]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[tomcat-embed-core-10.1.19.jar:10.1.19]
2024-04-11T09:09:53.987-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) ~[spring-web-6.0.17.jar:6.0.17]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$FilterObservation$SimpleFilterObservation.lambda$wrap$1(ObservationFilterChainDecorator.java:479) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation.lambda$wrap$1(ObservationFilterChainDecorator.java:340) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator.lambda$wrapSecured$0(ObservationFilterChainDecorator.java:82) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:128) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.oauth2.server.resource.web.authentication.BearerTokenAuthenticationFilter.doFilterInternal(BearerTokenAuthenticationFilter.java:145) ~[spring-security-oauth2-resource-server-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.17.jar:6.0.17]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter.doFilterInternal(DefaultLogoutPageGeneratingFilter.java:58) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.17.jar:6.0.17]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:189) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:175) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter.doFilterInternal(OAuth2AuthorizationRequestRedirectFilter.java:181) ~[spring-security-oauth2-client-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.17.jar:6.0.17]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.17.jar:6.0.17]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.17.jar:6.0.17]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.0.17.jar:6.0.17]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation.lambda$wrap$0(ObservationFilterChainDecorator.java:323) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:224) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.1.7.jar:6.1.7]
2024-04-11T09:09:53.988-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) ~[spring-security-web-6.1.7.jar:6.1.7]
When adding "overriddenstatus": "UNKNOWN" to the request body, it works on Cloud Foundry too. Is this a bug or expected behavior?
I'm concerned that sending along overriddenstatus periodically during renewal (ie when local configuration changed) potentially undoes an earlier overridden status, such as from Asgard as described here. Is that a justified concern or am I misunderstanding something?
In CloudFoundry, we run v3.2.3 of Spring Cloud Services, which contains the following release note for v3.2.0:
Service Registry has been upgraded to Netflix Eureka 2.0
Please let me know if you need more info.
The text was updated successfully, but these errors were encountered:
I'm a developer on the Steeltoe team, which provides a .NET port of Spring Cloud Eureka (client only). The port was done many years ago before I joined the team, by someone who's no longer working for our company.
While refactoring/testing our code, I used an Eureka docker image, built on the latest Java bits. To optimize network traffic, I changed our code to only send relevant properties during register. It all works fine against docker. But when deploying to Cloud Foundry, register fails with a 500 error. Based on the logs, an unhandled exception is thrown when Eureka server renders the response body:
This is the request body I'm sending:
When adding
"overriddenstatus": "UNKNOWN"
to the request body, it works on Cloud Foundry too. Is this a bug or expected behavior?I'm concerned that sending along
overriddenstatus
periodically during renewal (ie when local configuration changed) potentially undoes an earlier overridden status, such as from Asgard as described here. Is that a justified concern or am I misunderstanding something?In CloudFoundry, we run v3.2.3 of Spring Cloud Services, which contains the following release note for v3.2.0:
Please let me know if you need more info.
The text was updated successfully, but these errors were encountered: