microsoft / mindaro

Bridge to Kubernetes - for Visual Studio and Visual Studio Code
MIT License
307 stars 106 forks source link

B2K not work using Spring Cloud Gateway #240

Open letmagnau opened 2 years ago

letmagnau commented 2 years ago

Hello, i'm passing from Zuul to SCG to accompish the reactive webflux stack using Server Side Events but when we are using Zuul, b2K works good instead now we cannot are able to use K8 service discovery

It seems to be undestand the pod but redirect it with the ip and not whit the service name

To Reproduce use simple Spring Cloud Gateway project whit this conf in application.yml spring: cloud: gateway: default-filters:

**Expected behavior** it have to redirect to http://:8080 and insetead He redirect yo private ip k8 ex -> http://10.244.6.31:8080 **Logs** ilter {regexp=/services/eolo-api-search/(?.*), replacement=/${remaining}} to RewritePath 2021-10-08 11:25:38.565 DEBUG 24745 --- [undedElastic-10] o.s.c.g.r.RouteDefinitionRouteLocator : RouteDefinition matched: ReactiveCompositeDiscoveryClient_eolo-api-search 2021-10-08 11:25:38.926 DEBUG 24745 --- [r-http-epoll-17] org.springframework.web.HttpLogging : [6d418e7e-1] Resolved [AnnotatedNoRouteToHostException: null: /10.244.6.31:8080] for HTTP GET /services/eolo-api-events/api/notification/temp/-1 2021-10-08 11:25:38.926 DEBUG 24745 --- [r-http-epoll-19] org.springframework.web.HttpLogging : [255fdf46-2] Resolved [AnnotatedNoRouteToHostException: null: /10.244.6.31:8080] for HTTP GET /services/eolo-api-events/api/notification/temp/-1 2021-10-08 11:25:38.926 DEBUG 24745 --- [r-http-epoll-12] org.springframework.web.HttpLogging : [2f992fb7-3] Resolved [AnnotatedNoRouteToHostException: null: /10.244.1.217:8080] for HTTP GET /services/eolo-api-manager/api/identity/account 2021-10-08 11:25:38.929 ERROR 24745 --- [r-http-epoll-17] a.w.r.e.AbstractErrorWebExceptionHandler : [6d418e7e-1] 500 Server Error for HTTP GET "/services/eolo-api-events/api/notification/temp/-1" io.netty.channel.AbstractChannel$AnnotatedNoRouteToHostException: null: /10.244.6.31:8080 Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: Assembly trace from producer [reactor.core.publisher.MonoError] : reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94) reactor.netty.transport.TransportConnector$MonoChannelPromise.tryFailure(TransportConnector.java:517) Error has been observed at the following site(s): |_ FluxOnErrorResume$ResumeSubscriber.onError ⇢ at reactor.netty.transport.TransportConnector$MonoChannelPromise.tryFailure(TransportConnector.java:517) |_ Mono.onErrorResume ⇢ at reactor.netty.transport.TransportConnector.lambda$connect$6(TransportConnector.java:111) |_ Mono.flatMap ⇢ at reactor.netty.transport.TransportConnector.connect(TransportConnector.java:110) |_ Mono.create ⇢ at reactor.netty.resources.DefaultPooledConnectionProvider$PooledConnectionAllocator.connectChannel(DefaultPooledConnectionProvider.java:513) |_ Mono.create ⇢ at reactor.netty.resources.PooledConnectionProvider.acquire(PooledConnectionProvider.java:100) |_ Mono.create ⇢ at reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.subscribe(HttpClientConnect.java:209) |_ Flux.concatMap ⇢ at reactor.util.retry.RetrySpec.generateCompanion(RetrySpec.java:356) |_ Mono.retryWhen ⇢ at reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.subscribe(HttpClientConnect.java:270) |_ Mono.flatMapMany ⇢ at reactor.netty.http.client.HttpClientFinalizer.responseConnection(HttpClientFinalizer.java:101) |_ Flux.then ⇢ at org.springframework.cloud.gateway.filter.NettyRoutingFilter.filter(NettyRoutingFilter.java:198) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.then ⇢ at org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter.filter(ReactiveLoadBalancerClientFilter.java:140) |_ Mono.doOnError ⇢ at org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter.filter(ReactiveLoadBalancerClientFilter.java:141) |_ Mono.doOnSuccess ⇢ at org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter.filter(ReactiveLoadBalancerClientFilter.java:145) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.flatMap ⇢ at org.springframework.cloud.security.oauth2.gateway.TokenRelayGatewayFilterFactory.lambda$apply$3(TokenRelayGatewayFilterFactory.java:60) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.doOnSuccess ⇢ at org.springframework.cloud.gateway.filter.GatewayMetricsFilter.filter(GatewayMetricsFilter.java:75) |_ Mono.doOnError ⇢ at org.springframework.cloud.gateway.filter.GatewayMetricsFilter.filter(GatewayMetricsFilter.java:76) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.doOnError ⇢ at org.springframework.cloud.gateway.filter.NettyWriteResponseFilter.filter(NettyWriteResponseFilter.java:69) |_ Mono.then ⇢ at org.springframework.cloud.gateway.filter.NettyWriteResponseFilter.filter(NettyWriteResponseFilter.java:70) |_ Mono.doOnCancel ⇢ at org.springframework.cloud.gateway.filter.NettyWriteResponseFilter.filter(NettyWriteResponseFilter.java:102) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.doFinally ⇢ at org.springframework.cloud.gateway.filter.RemoveCachedBodyFilter.filter(RemoveCachedBodyFilter.java:35) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.then ⇢ at org.springframework.web.reactive.result.SimpleHandlerAdapter.handle(SimpleHandlerAdapter.java:46) |_ Mono.flatMap ⇢ at org.springframework.web.reactive.DispatcherHandler.handle(DispatcherHandler.java:153) |_ Mono.flatMap ⇢ at org.springframework.web.reactive.DispatcherHandler.handle(DispatcherHandler.java:154) |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.web.cors.reactive.CorsWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.flatMap ⇢ at it.maggioli.eolo.webservices.web.filter.OAuth2ReactiveRefreshTokensWebFilter.filter(OAuth2ReactiveRefreshTokensWebFilter.java:33) |_ checkpoint ⇢ it.maggioli.eolo.webservices.web.filter.OAuth2ReactiveRefreshTokensWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.web.server.authorization.AuthorizationWebFilter.filter(AuthorizationWebFilter.java:55) |_ checkpoint ⇢ org.springframework.security.web.server.authorization.AuthorizationWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.onErrorResume ⇢ at org.springframework.security.web.server.authorization.ExceptionTranslationWebFilter.filter(ExceptionTranslationWebFilter.java:44) |_ checkpoint ⇢ org.springframework.security.web.server.authorization.ExceptionTranslationWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.web.server.authentication.logout.LogoutWebFilter.filter(LogoutWebFilter.java:62) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.web.server.authentication.logout.LogoutWebFilter.filter(LogoutWebFilter.java:62) |_ Mono.map ⇢ at org.springframework.security.web.server.authentication.logout.LogoutWebFilter.filter(LogoutWebFilter.java:62) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.authentication.logout.LogoutWebFilter.filter(LogoutWebFilter.java:63) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.authentication.logout.LogoutWebFilter.filter(LogoutWebFilter.java:63) |_ checkpoint ⇢ org.springframework.security.web.server.authentication.logout.LogoutWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.savedrequest.ServerRequestCacheWebFilter.filter(ServerRequestCacheWebFilter.java:39) |_ checkpoint ⇢ org.springframework.security.web.server.savedrequest.ServerRequestCacheWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.security.web.server.context.SecurityContextServerWebExchangeWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter.filter(OAuth2AuthorizationCodeGrantWebFilter.java:213) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter.filter(OAuth2AuthorizationCodeGrantWebFilter.java:213) |_ Mono.flatMap ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter.filter(OAuth2AuthorizationCodeGrantWebFilter.java:214) |_ Mono.onErrorResume ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter.filter(OAuth2AuthorizationCodeGrantWebFilter.java:215) |_ checkpoint ⇢ org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:113) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:113) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:114) |_ Mono.onErrorResume ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:115) |_ checkpoint ⇢ org.springframework.security.web.server.authentication.AuthenticationWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:113) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:113) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:114) |_ Mono.onErrorResume ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:115) |_ checkpoint ⇢ org.springframework.security.oauth2.client.web.server.authentication.OAuth2LoginAuthenticationWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:132) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:132) |_ Mono.onErrorResume ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:133) |_ Mono.flatMap ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:137) |_ checkpoint ⇢ org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:132) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:132) |_ Mono.onErrorResume ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:133) |_ Mono.flatMap ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:137) |_ checkpoint ⇢ org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.security.web.server.context.ReactorContextWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ tech.jhipster.web.filter.reactive.CookieCsrfFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.defer ⇢ at org.springframework.security.web.server.csrf.CsrfWebFilter.continueFilterChain(CsrfWebFilter.java:162) |_ Mono.then ⇢ at org.springframework.security.web.server.csrf.CsrfWebFilter.filter(CsrfWebFilter.java:124) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.web.server.csrf.CsrfWebFilter.filter(CsrfWebFilter.java:124) |_ Mono.onErrorResume ⇢ at org.springframework.security.web.server.csrf.CsrfWebFilter.filter(CsrfWebFilter.java:125) |_ checkpoint ⇢ org.springframework.security.web.server.csrf.CsrfWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.security.web.server.header.HttpHeaderWriterWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.security.config.web.server.ServerHttpSecurity$ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.WebFilterChainProxy.filter(WebFilterChainProxy.java:56) |_ checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.doOnEach ⇢ at org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter.filter(MetricsWebFilter.java:87) |_ Mono.doOnCancel ⇢ at org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter.filter(MetricsWebFilter.java:88) |_ Mono.transformDeferred ⇢ at org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter.filter(MetricsWebFilter.java:82) |_ checkpoint ⇢ org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.error ⇢ at org.springframework.web.server.handler.ExceptionHandlingWebHandler$CheckpointInsertingHandler.handle(ExceptionHandlingWebHandler.java:98) |_ checkpoint ⇢ HTTP GET "/services/eolo-api-events/api/notification/temp/-1" [ExceptionHandlingWebHandler] |_ Mono.onErrorResume ⇢ at org.springframework.web.server.handler.ExceptionHandlingWebHandler.handle(ExceptionHandlingWebHandler.java:77) |_ Mono.error ⇢ at org.zalando.problem.spring.webflux.advice.ProblemExceptionHandler.handle(ProblemExceptionHandler.java:30) |_ Mono.onErrorResume ⇢ at org.springframework.web.server.handler.ExceptionHandlingWebHandler.handle(ExceptionHandlingWebHandler.java:77) Stack trace: Caused by: java.net.NoRouteToHostException: null at io.netty.channel.unix.Errors.newConnectException0(Errors.java:147) at io.netty.channel.unix.Errors.handleConnectErrno(Errors.java:128) at io.netty.channel.unix.Socket.finishConnect(Socket.java:320) at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.doFinishConnect(AbstractEpollChannel.java:710) at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:687) at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:567) at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:470) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:833) 2021-10-08 11:25:38.929 ERROR 24745 --- [r-http-epoll-12] a.w.r.e.AbstractErrorWebExceptionHandler : [2f992fb7-3] 500 Server Error for HTTP GET "/services/eolo-api-manager/api/identity/account" io.netty.channel.AbstractChannel$AnnotatedNoRouteToHostException: null: /10.244.1.217:8080 Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: Assembly trace from producer [reactor.core.publisher.MonoError] : reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94) reactor.netty.transport.TransportConnector$MonoChannelPromise.tryFailure(TransportConnector.java:517) Error has been observed at the following site(s): |_ FluxOnErrorResume$ResumeSubscriber.onError ⇢ at reactor.netty.transport.TransportConnector$MonoChannelPromise.tryFailure(TransportConnector.java:517) |_ Mono.onErrorResume ⇢ at reactor.netty.transport.TransportConnector.lambda$connect$6(TransportConnector.java:111) |_ Mono.flatMap ⇢ at reactor.netty.transport.TransportConnector.connect(TransportConnector.java:110) |_ Mono.create ⇢ at reactor.netty.resources.DefaultPooledConnectionProvider$PooledConnectionAllocator.connectChannel(DefaultPooledConnectionProvider.java:513) |_ Mono.create ⇢ at reactor.netty.resources.PooledConnectionProvider.acquire(PooledConnectionProvider.java:100) |_ Mono.create ⇢ at reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.subscribe(HttpClientConnect.java:209) |_ Flux.concatMap ⇢ at reactor.util.retry.RetrySpec.generateCompanion(RetrySpec.java:356) |_ Mono.retryWhen ⇢ at reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.subscribe(HttpClientConnect.java:270) |_ Mono.flatMapMany ⇢ at reactor.netty.http.client.HttpClientFinalizer.responseConnection(HttpClientFinalizer.java:101) |_ Flux.then ⇢ at org.springframework.cloud.gateway.filter.NettyRoutingFilter.filter(NettyRoutingFilter.java:198) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.then ⇢ at org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter.filter(ReactiveLoadBalancerClientFilter.java:140) |_ Mono.doOnError ⇢ at org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter.filter(ReactiveLoadBalancerClientFilter.java:141) |_ Mono.doOnSuccess ⇢ at org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter.filter(ReactiveLoadBalancerClientFilter.java:145) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.flatMap ⇢ at org.springframework.cloud.security.oauth2.gateway.TokenRelayGatewayFilterFactory.lambda$apply$3(TokenRelayGatewayFilterFactory.java:60) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.doOnSuccess ⇢ at org.springframework.cloud.gateway.filter.GatewayMetricsFilter.filter(GatewayMetricsFilter.java:75) |_ Mono.doOnError ⇢ at org.springframework.cloud.gateway.filter.GatewayMetricsFilter.filter(GatewayMetricsFilter.java:76) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.doOnError ⇢ at org.springframework.cloud.gateway.filter.NettyWriteResponseFilter.filter(NettyWriteResponseFilter.java:69) |_ Mono.then ⇢ at org.springframework.cloud.gateway.filter.NettyWriteResponseFilter.filter(NettyWriteResponseFilter.java:70) |_ Mono.doOnCancel ⇢ at org.springframework.cloud.gateway.filter.NettyWriteResponseFilter.filter(NettyWriteResponseFilter.java:102) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.doFinally ⇢ at org.springframework.cloud.gateway.filter.RemoveCachedBodyFilter.filter(RemoveCachedBodyFilter.java:35) |_ Mono.defer ⇢ at org.springframework.cloud.gateway.handler.FilteringWebHandler$DefaultGatewayFilterChain.filter(FilteringWebHandler.java:113) |_ Mono.then ⇢ at org.springframework.web.reactive.result.SimpleHandlerAdapter.handle(SimpleHandlerAdapter.java:46) |_ Mono.flatMap ⇢ at org.springframework.web.reactive.DispatcherHandler.handle(DispatcherHandler.java:153) |_ Mono.flatMap ⇢ at org.springframework.web.reactive.DispatcherHandler.handle(DispatcherHandler.java:154) |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.web.cors.reactive.CorsWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.flatMap ⇢ at it.maggioli.eolo.webservices.web.filter.OAuth2ReactiveRefreshTokensWebFilter.filter(OAuth2ReactiveRefreshTokensWebFilter.java:33) |_ checkpoint ⇢ it.maggioli.eolo.webservices.web.filter.OAuth2ReactiveRefreshTokensWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.web.server.authorization.AuthorizationWebFilter.filter(AuthorizationWebFilter.java:55) |_ checkpoint ⇢ org.springframework.security.web.server.authorization.AuthorizationWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.onErrorResume ⇢ at org.springframework.security.web.server.authorization.ExceptionTranslationWebFilter.filter(ExceptionTranslationWebFilter.java:44) |_ checkpoint ⇢ org.springframework.security.web.server.authorization.ExceptionTranslationWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.web.server.authentication.logout.LogoutWebFilter.filter(LogoutWebFilter.java:62) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.web.server.authentication.logout.LogoutWebFilter.filter(LogoutWebFilter.java:62) |_ Mono.map ⇢ at org.springframework.security.web.server.authentication.logout.LogoutWebFilter.filter(LogoutWebFilter.java:62) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.authentication.logout.LogoutWebFilter.filter(LogoutWebFilter.java:63) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.authentication.logout.LogoutWebFilter.filter(LogoutWebFilter.java:63) |_ checkpoint ⇢ org.springframework.security.web.server.authentication.logout.LogoutWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.savedrequest.ServerRequestCacheWebFilter.filter(ServerRequestCacheWebFilter.java:39) |_ checkpoint ⇢ org.springframework.security.web.server.savedrequest.ServerRequestCacheWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.security.web.server.context.SecurityContextServerWebExchangeWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter.filter(OAuth2AuthorizationCodeGrantWebFilter.java:213) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter.filter(OAuth2AuthorizationCodeGrantWebFilter.java:213) |_ Mono.flatMap ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter.filter(OAuth2AuthorizationCodeGrantWebFilter.java:214) |_ Mono.onErrorResume ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter.filter(OAuth2AuthorizationCodeGrantWebFilter.java:215) |_ checkpoint ⇢ org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationCodeGrantWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:113) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:113) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:114) |_ Mono.onErrorResume ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:115) |_ checkpoint ⇢ org.springframework.security.web.server.authentication.AuthenticationWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:113) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:113) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:114) |_ Mono.onErrorResume ⇢ at org.springframework.security.web.server.authentication.AuthenticationWebFilter.filter(AuthenticationWebFilter.java:115) |_ checkpoint ⇢ org.springframework.security.oauth2.client.web.server.authentication.OAuth2LoginAuthenticationWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:132) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:132) |_ Mono.onErrorResume ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:133) |_ Mono.flatMap ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:137) |_ checkpoint ⇢ org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.then ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:132) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:132) |_ Mono.onErrorResume ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:133) |_ Mono.flatMap ⇢ at org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter.filter(OAuth2AuthorizationRequestRedirectWebFilter.java:137) |_ checkpoint ⇢ org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.security.web.server.context.ReactorContextWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ tech.jhipster.web.filter.reactive.CookieCsrfFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.defer ⇢ at org.springframework.security.web.server.csrf.CsrfWebFilter.continueFilterChain(CsrfWebFilter.java:162) |_ Mono.then ⇢ at org.springframework.security.web.server.csrf.CsrfWebFilter.filter(CsrfWebFilter.java:124) |_ Mono.switchIfEmpty ⇢ at org.springframework.security.web.server.csrf.CsrfWebFilter.filter(CsrfWebFilter.java:124) |_ Mono.onErrorResume ⇢ at org.springframework.security.web.server.csrf.CsrfWebFilter.filter(CsrfWebFilter.java:125) |_ checkpoint ⇢ org.springframework.security.web.server.csrf.CsrfWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.security.web.server.header.HttpHeaderWriterWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ checkpoint ⇢ org.springframework.security.config.web.server.ServerHttpSecurity$ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.flatMap ⇢ at org.springframework.security.web.server.WebFilterChainProxy.filter(WebFilterChainProxy.java:56) |_ checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain] |_ Mono.defer ⇢ at org.springframework.web.server.handler.DefaultWebFilterChain.filter(DefaultWebFilterChain.java:119) |_ Mono.doOnEach ⇢ at org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter.filter(MetricsWebFilter.java:87) |_ Mono.doOnCancel ⇢ at org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter.filter(MetricsWebFilter.java:88) |_ Mono.transformDeferred ⇢ at org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter.filter(MetricsWebFilter.java:82) **Environment Details** Client used (VS Code/Visual Studio): mindaro-dev.file-downloader@1.0.11 mindaro.mindaro@1.0.120210803 Operating System: Manjaro **Additional context** Add any other outputs from the clients or context you would like to share. 021-10-08T11:21:44.1015829Z | Library | TRACE | Pulling kubeconfig...\nOperation context: {"clientRequestId":null,"correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:745c09a254e7","requestId":null,"userSubscriptionId":null,"startTime":"2021-10-08T11:21:44.0355053Z","userAgent":"VSCode/1.0.120210803","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210723.6","requestHeaders":{},"loggingProperties":{"applicationName":"Library","deviceOperatingSystem":"Linux 5.14.7-2-MANJARO #1 SMP PREEMPT Wed Sep 22 12:22:56 UTC 2021","framework":".NET Core 3.1.9","macAddressHash":"b8670e6743005932bed82732c33f92e60c1a7d683434e53f42ccda6245877301","processId":39028,"targetEnvironment":"Production"}} 2021-10-08T11:21:44.4419617Z | Library | TRACE | Event: CloudProvider {"properties":{"clusterFQDNDomain":"AzurePublic"},"metrics":null} 2021-10-08T11:21:45.7903344Z | Library | TRACE | Dependency: Kubernetes {"target":"ListPodsInNamespaceAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:45.8032170Z | Library | TRACE | Event: KubernetesManagementClient-CheckCredentialsAsync {"properties":{"result":"Succeeded"},"metrics":{"durationInMs":629.0}}\nOperation context: {"clientRequestId":"1edb37e1-1458-486c-82da-f0bab0d34c41","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:a885599e1027","requestId":null,"userSubscriptionId":null,"startTime":"2021-10-08T11:21:44.0355053Z","userAgent":"VSCode/1.0.120210803","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210723.6","requestHeaders":{},"loggingProperties":{"applicationName":"Library","deviceOperatingSystem":"Linux 5.14.7-2-MANJARO #1 SMP PREEMPT Wed Sep 22 12:22:56 UTC 2021","framework":".NET Core 3.1.9","macAddressHash":"b8670e6743005932bed82732c33f92e60c1a7d683434e53f42ccda6245877301","processId":39028,"targetEnvironment":"Production"}} 2021-10-08T11:21:46.5091393Z | Library | TRACE | Dependency: Kubernetes {"target":"GetV1ServiceAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:46.6549104Z | Library | TRACE | Dependency: Kubernetes {"target":"ListPodsInNamespaceAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:46.6565719Z | Library | TRACE | Event: KubernetesRemoteEnvironmentManager-GetPodsFromService {"properties":{"result":"Succeeded"},"metrics":{"durationInMs":144.0}}\nOperation context: {"clientRequestId":null,"correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5","requestId":null,"userSubscriptionId":null,"startTime":"2021-10-08T11:21:44.0355053Z","userAgent":"VSCode/1.0.120210803","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210723.6","requestHeaders":{},"loggingProperties":{"applicationName":"Library","deviceOperatingSystem":"Linux 5.14.7-2-MANJARO #1 SMP PREEMPT Wed Sep 22 12:22:56 UTC 2021","framework":".NET Core 3.1.9","macAddressHash":"b8670e6743005932bed82732c33f92e60c1a7d683434e53f42ccda6245877301","processId":39028,"targetEnvironment":"Production","isRoutingEnabled":false}} 2021-10-08T11:21:46.6567446Z | Library | TRACE | Resolved 1 from service. 2021-10-08T11:21:46.6574590Z | Library | TRACE | Max number of containers in pod: 1, min number of containers in pod: 1 2021-10-08T11:21:46.6577804Z | Library | TRACE | Chose pod 'eolo-api-gateway-56ddd9d77c-4x2lz' with 1 containers 2021-10-08T11:21:46.6626106Z | Library | TRACE | Pod eolo-api-gateway-56ddd9d77c-4x2lz owned by service eolo-api-gateway contains 1 containers. 2021-10-08T11:21:46.6631703Z | Library | TRACE | Resolved source container eolo-api-gateway 2021-10-08T11:21:46.6633660Z | Library | TRACE | Resolved 1 containers with exposed ports. 2021-10-08T11:21:46.6634506Z | Library | TRACE | Successfully got container from service and pod. 2021-10-08T11:21:46.6711834Z | Library | TRACE | Owning object type: ReplicaSet 2021-10-08T11:21:46.7413561Z | Library | TRACE | Dependency: Kubernetes {"target":"GetV1ReplicaSetAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:46.8290638Z | Library | TRACE | Dependency: Kubernetes {"target":"GetV1DeploymentAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:46.8293550Z | Library | TRACE | Resolved backing deployment: eolo-api-gateway 2021-10-08T11:21:46.8555431Z | Library | TRACE | Loaded env var 'default-token-*' of type VolumeToken: {"LocalPath":"/var/run/secrets/kubernetes.io/serviceaccount/","Name":"default-token-*"} => /var/run/secrets/kubernetes.io/serviceaccount/ 2021-10-08T11:21:46.8605033Z | Library | TRACE | Loaded env var 'kubernetes.default' of type ServiceToken: {"Ports":[],"IpAddress":null,"Name":"kubernetes.default"} => 2021-10-08T11:21:46.8622184Z | Library | TRACE | Loaded env var '' of type VerbatimToken: {"Name":""} => https://kubernetes.default.svc.local.cluster 2021-10-08T11:21:46.8902876Z | Library | TRACE | Invoking kubectl GetContainerEnvironment command: exec eolo-api-gateway-56ddd9d77c-4x2lz -c eolo-api-gateway -n eolo-dev -- env 2021-10-08T11:21:46.8912565Z | Library | TRACE | Using kubectl found at: '/home/piero/.config/Code/User/globalStorage/mindaro.mindaro/file-downloader-downloads/binaries/kubectl/linux/kubectl' 2021-10-08T11:21:47.8049085Z | Library | TRACE | Invoked kubectl GetContainerEnvironment command: 'exec eolo-api-gateway-56ddd9d77c-4x2lz -c eolo-api-gateway -n eolo-dev -- env' exited with 0 in 909ms 2021-10-08T11:21:47.9552008Z | Library | TRACE | Dependency: Kubernetes {"target":"ListServicesInNamespaceAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:48.0072257Z | Library | TRACE | Dependency: Kubernetes {"target":"GetV1ServiceAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:48.0221710Z | Library | TRACE | Event: WorkloadInformationProvider-GetReachableEndpoints {"properties":{"result":"Succeeded"},"metrics":{"durationInMs":209.0}}\nOperation context: {"clientRequestId":null,"correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5","requestId":null,"userSubscriptionId":null,"startTime":"2021-10-08T11:21:44.0355053Z","userAgent":"VSCode/1.0.120210803","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210723.6","requestHeaders":{},"loggingProperties":{"applicationName":"Library","deviceOperatingSystem":"Linux 5.14.7-2-MANJARO #1 SMP PREEMPT Wed Sep 22 12:22:56 UTC 2021","framework":".NET Core 3.1.9","macAddressHash":"b8670e6743005932bed82732c33f92e60c1a7d683434e53f42ccda6245877301","processId":39028,"targetEnvironment":"Production","isRoutingEnabled":false,"isManagedIdentityEnabled":false}} 2021-10-08T11:21:48.0257135Z | Library | TRACE | Event: ConnectManagementClient-GetContainerWorkloadInfo {"properties":{"result":"Succeeded"},"metrics":{"durationInMs":1192.0}} 2021-10-08T11:21:48.0292371Z | Library | TRACE | Loaded Bridge To Kubernetes environment file 'KubernetesLocalProcessConfig.yaml'.\n 2021-10-08T11:21:48.0936024Z | Library | TRACE | Dependency: Kubernetes {"target":"GetV1DeploymentAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:48.1462853Z | Library | TRACE | Dependency: Kubernetes {"target":"ListPodsInNamespaceAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:48.1465724Z | Library | TRACE | Dependency: Kubernetes {"target":"ListPodsForDeploymentAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:48.1840602Z | Library | TRACE | Deployment patch created: True 2021-10-08T11:21:48.2718178Z | Library | TRACE | Dependency: Kubernetes {"target":"PatchV1DeploymentAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:48.3859340Z | Library | TRACE | Service account already exists, leaving it untouched. 2021-10-08T11:21:48.3867048Z | Library | TRACE | Dependency: Kubernetes {"target":"CreateServiceAccountIfNotExists","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:48.3877472Z | Library | TRACE | Service account created/refreshed 2021-10-08T11:21:48.5564046Z | Library | TRACE | Dependency: Kubernetes {"target":"CreateOrReplaceV1RoleInNamespaceAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:48.5571976Z | Library | TRACE | Role created/refreshed 2021-10-08T11:21:48.7220760Z | Library | TRACE | Dependency: Kubernetes {"target":"CreateOrReplaceV1RoleBindingInNamespaceAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:48.7231702Z | Library | TRACE | Role binding created/refreshed 2021-10-08T11:21:48.7234405Z | Library | TRACE | Event: RemoteRestoreJobDeployer-EnsureRbacResources {"properties":{"rbacEnabled":"true","result":"Succeeded"},"metrics":{"durationInMs":447.0}} 2021-10-08T11:21:48.7813324Z | Library | TRACE | Invoking kubectl Delete command: --kubeconfig="/tmp/tmpH1AHQd.tmp" delete job,secret -n eolo-dev -l mindaro.io/instance=be1cff2964 2021-10-08T11:21:48.7818531Z | Library | TRACE | Using kubectl found at: '/home/piero/.config/Code/User/globalStorage/mindaro.mindaro/file-downloader-downloads/binaries/kubectl/linux/kubectl' 2021-10-08T11:21:49.0875409Z | Library | TRACE | Invoked kubectl Delete command: '--kubeconfig="/tmp/tmpH1AHQd.tmp" delete job,secret -n eolo-dev -l mindaro.io/instance=be1cff2964' exited with 0 in 304ms 2021-10-08T11:21:49.0882851Z | Library | TRACE | Dependency: Kubernetes {"target":"Delete","success":true,"duration":null,"properties":{"exitCode":"0","output":"No resources found\n"}} 2021-10-08T11:21:49.3877836Z | Library | TRACE | Dependency: Kubernetes {"target":"CreateNamespacedSecretAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:49.3880473Z | Library | TRACE | Created restore job secret 2021-10-08T11:21:49.5716480Z | Library | TRACE | Dependency: Kubernetes {"target":"CreateNamespacedJobAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:49.5718692Z | Library | TRACE | Created restore job workload 2021-10-08T11:21:49.5721419Z | Library | TRACE | Event: RemoteRestoreJobDeployer-Deploy {"properties":{"result":"Succeeded"},"metrics":{"durationInMs":1297.0}} 2021-10-08T11:21:49.8232944Z | Library | TRACE | Dependency: Kubernetes {"target":"GetV1DeploymentAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:49.8930038Z | Library | TRACE | Dependency: Kubernetes {"target":"ListPodsInNamespaceAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:49.8932223Z | Library | TRACE | Dependency: Kubernetes {"target":"ListPodsForDeploymentAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:49.9008637Z | Library | TRACE | Waiting for 'eolo-api-gateway-85db67654c-cgl9z' in namespace 'eolo-dev' to reach running state...\n 2021-10-08T11:21:49.9010956Z | Library | TRACE | Waiting for eolo-dev/eolo-api-gateway-85db67654c-cgl9z to run. 2021-10-08T11:21:49.9777315Z | Library | TRACE | Dependency: Kubernetes {"target":"GetV1PodAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:49.9785503Z | Library | TRACE | eolo-dev/eolo-api-gateway-85db67654c-cgl9z is running. 2021-10-08T11:21:49.9789599Z | Library | TRACE | Deployment 'eolo-dev/eolo-api-gateway' patched to run agent.\n 2021-10-08T11:21:49.9794228Z | Library | TRACE | Event: KubernetesRemoteEnvironmentManager-PatchDeployment {"properties":{"result":"Succeeded"},"metrics":{"durationInMs":1935.0}} 2021-10-08T11:21:49.9809379Z | Library | TRACE | Deployed remote agent to container 'eolo-api-gateway' in pod 'eolo-api-gateway-85db67654c-cgl9z'. 2021-10-08T11:21:49.9813987Z | Library | TRACE | Remote agent deployed in container 'eolo-api-gateway' in pod 'eolo-api-gateway-85db67654c-cgl9z'.\n 2021-10-08T11:21:49.9859303Z | Library | TRACE | Preparing to connect to the remote agent running in eolo-dev/eolo-api-gateway-85db67654c-cgl9z... 2021-10-08T11:21:49.9863574Z | Library | TRACE | Preparing to run Bridge To Kubernetes configured as pod eolo-dev/eolo-api-gateway-85db67654c-cgl9z ...\n 2021-10-08T11:21:49.9963949Z | Library | TRACE | PortListener created on 36903 2021-10-08T11:21:49.9967425Z | Library | TRACE | PortListener started on 36903 2021-10-08T11:21:49.9969632Z | Library | TRACE | Starting listening 36903 : 50051 2021-10-08T11:21:50.0641610Z | Library | TRACE | Accept 36903 to 50051 2021-10-08T11:21:50.0704219Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34772 : Run send loop 2021-10-08T11:21:50.0763740Z | Library | TRACE | Creating web socket for eolo-api-gateway-85db67654c-cgl9z 50051 2021-10-08T11:21:50.3845824Z | Library | TRACE | Dependency: Kubernetes {"target":"WebSocketPodPortForwardAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:50.3883808Z | Library | TRACE | Web socket for eolo-api-gateway-85db67654c-cgl9z 50051 created. 2021-10-08T11:21:50.3977387Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34772 : Run receive loop 2021-10-08T11:21:50.5778567Z | Library | TRACE | Accept 36903 to 50051 2021-10-08T11:21:50.5783077Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34774 : Run send loop 2021-10-08T11:21:50.5784532Z | Library | TRACE | Creating web socket for eolo-api-gateway-85db67654c-cgl9z 50051 2021-10-08T11:21:50.8070590Z | Library | TRACE | Dependency: Kubernetes {"target":"WebSocketPodPortForwardAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:50.8073826Z | Library | TRACE | Web socket for eolo-api-gateway-85db67654c-cgl9z 50051 created. 2021-10-08T11:21:50.8077488Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34774 : Run receive loop 2021-10-08T11:21:51.3838186Z | Library | TRACE | Reset completed 2021-10-08T11:21:51.3845674Z | Library | TRACE | Event: KubernetesRemoteEnvironmentManager-StartRemoteAgent {"properties":{"result":"Succeeded"},"metrics":{"durationInMs":3352.0}} 2021-10-08T11:21:51.3848438Z | Library | TRACE | Event: ConnectManagementClient-StartRemoteAgent {"properties":{"agentHostingMode":"2","sourceEntityType":"1","namespaceName":"eolo-dev","containerName":"eolo-api-gateway","serviceName":"eolo-api-gateway","deploymentName":"eolo-api-gateway","podName":"eolo-api-gateway-56ddd9d77c-4x2lz","routingHeaderValue":"","localProcessConfigFilePath":"KubernetesLocalProcessConfig.yaml","result":"Succeeded"},"metrics":{"durationInMs":5095.0}} 2021-10-08T11:21:51.3905469Z | Library | TRACE | Event: ConnectManagementClient-GetContainerWorkloadInfo {"properties":{"result":"Succeeded"},"metrics":{"durationInMs":0.0}} 2021-10-08T11:21:51.4379333Z | Library | TRACE | Connecting to EndpointManager\nOperation context: {"clientRequestId":null,"correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa","requestId":null,"userSubscriptionId":null,"startTime":"2021-10-08T11:21:44.0355053Z","userAgent":"VSCode/1.0.120210803","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210723.6","requestHeaders":{},"loggingProperties":{"applicationName":"Library","deviceOperatingSystem":"Linux 5.14.7-2-MANJARO #1 SMP PREEMPT Wed Sep 22 12:22:56 UTC 2021","framework":".NET Core 3.1.9","macAddressHash":"b8670e6743005932bed82732c33f92e60c1a7d683434e53f42ccda6245877301","processId":39028,"targetEnvironment":"Production"}} 2021-10-08T11:21:51.4456861Z | Library | TRACE | Received request segment: 'EndpointManager accepted connection' of size 40 2021-10-08T11:21:51.4495018Z | Library | TRACE | Sending request: '{"apiname":"Version","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa"}' 2021-10-08T11:21:51.4512007Z | Library | TRACE | 133 bytes were sent. 2021-10-08T11:21:51.4533007Z | Library | TRACE | Received request segment: '{"value":"1.0.20210723.6","isSuccess":true,"errorMessage":null,"errorType":null}' of size 85 2021-10-08T11:21:51.4542257Z | Library | TRACE | Received response: '{"value":"1.0.20210723.6","isSuccess":true,"errorMessage":null,"errorType":null}' 2021-10-08T11:21:52.3220044Z | Library | TRACE | Found EndpointManager version '1.0.20210723.6' which is equal to expected version '1.0.20210723.6' 2021-10-08T11:21:52.3246477Z | Library | TRACE | Connecting to EndpointManager 2021-10-08T11:21:52.3258152Z | Library | TRACE | Received request segment: 'EndpointManager accepted connection' of size 40 2021-10-08T11:21:52.3445099Z | Library | TRACE | Sending request: '{"argument":[{"dnsName":"eolo-tika","localIP":null,"ports":[{"localPort":55049,"remotePort":9998,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-search","localIP":null,"ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-collabora-online","localIP":null,"ports":[{"localPort":55049,"remotePort":9980,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"kubernetes.default","localIP":null,"ports":[{"localPort":55049,"remotePort":443,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":false},{"dnsName":"eolo-api-hazelcast-mancenter","localIP":null,"ports":[{"localPort":55049,"remotePort":8080,"protocol":"TCP"},{"localPort":55050,"remotePort":443,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-events","localIP":null,"ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-gateway","localIP":null,"ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-manager","localIP":null,"ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-webapp","localIP":null,"ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-hazelcast","localIP":null,"ports":[{"localPort":55049,"remotePort":5701,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-documentsmanaging","localIP":null,"ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true}],"apiname":"AllocateIP","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa"}' 2021-10-08T11:21:52.3448183Z | Library | TRACE | 2049 bytes were sent. 2021-10-08T11:21:52.3942337Z | Library | TRACE | Received request segment: '{"value":[{"dnsName":"eolo-tika","localIP":"127.1.1.34","ports":[{"localPort":55049,"remotePort":9998,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-search","localIP":"127.1.1.35","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-collabora-online","localIP":"127.1.1.36","ports":[{"localPort":55049,"remotePort":9980,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"kubernetes.default","localIP":"127.1.1.37","ports":[{"localPort":55049,"remotePort":443,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":false},{"dnsName":"eolo-api-hazelcast-mancenter","localIP":"127.1.1.38","ports":[{"localPort":55049,"remotePort":8080,"protocol":"TCP"},{"localPort":55050,"remotePort":443,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-events","localIP":"127.1.1.39","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-gateway","localIP":"127.1.1.40","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-manager","localIP":"127.1.1.41","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-webapp","localIP":"127.1.1.42","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-hazelcast","localIP":"127.1.1.43","ports":[{"localPort":55049,"remotePort":5701,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-documentsmanaging","localIP":"127.1.1.44","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true}],"isSuccess":true,"errorMessage":"","errorType":""}' of size 2054 2021-10-08T11:21:52.3944120Z | Library | TRACE | Received response: '{"value":[{"dnsName":"eolo-tika","localIP":"127.1.1.34","ports":[{"localPort":55049,"remotePort":9998,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-search","localIP":"127.1.1.35","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-collabora-online","localIP":"127.1.1.36","ports":[{"localPort":55049,"remotePort":9980,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"kubernetes.default","localIP":"127.1.1.37","ports":[{"localPort":55049,"remotePort":443,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":false},{"dnsName":"eolo-api-hazelcast-mancenter","localIP":"127.1.1.38","ports":[{"localPort":55049,"remotePort":8080,"protocol":"TCP"},{"localPort":55050,"remotePort":443,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-events","localIP":"127.1.1.39","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-gateway","localIP":"127.1.1.40","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-manager","localIP":"127.1.1.41","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-webapp","localIP":"127.1.1.42","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-hazelcast","localIP":"127.1.1.43","ports":[{"localPort":55049,"remotePort":5701,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true},{"dnsName":"eolo-api-documentsmanaging","localIP":"127.1.1.44","ports":[{"localPort":55049,"remotePort":80,"protocol":"TCP"}],"isExternalEndpoint":false,"isInWorkloadNamespace":true}],"isSuccess":true,"errorMessage":"","errorType":""}' 2021-10-08T11:21:52.9197836Z | Library | TRACE | Connecting to EndpointManager 2021-10-08T11:21:52.9230491Z | Library | TRACE | Received request segment: 'EndpointManager accepted connection' of size 40 2021-10-08T11:21:52.9234504Z | Library | TRACE | Sending request: '{"apiname":"Version","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa"}' 2021-10-08T11:21:52.9238168Z | Library | TRACE | 133 bytes were sent. 2021-10-08T11:21:52.9251163Z | Library | TRACE | Received request segment: '{"value":"1.0.20210723.6","isSuccess":true,"errorMessage":null,"errorType":null}' of size 85 2021-10-08T11:21:52.9253914Z | Library | TRACE | Received response: '{"value":"1.0.20210723.6","isSuccess":true,"errorMessage":null,"errorType":null}' 2021-10-08T11:21:53.6141975Z | Library | TRACE | Found EndpointManager version '1.0.20210723.6' which is equal to expected version '1.0.20210723.6' 2021-10-08T11:21:53.6203316Z | Library | TRACE | Connecting to EndpointManager 2021-10-08T11:21:53.6242480Z | Library | TRACE | Received request segment: 'EndpointManager accepted connection' of size 40 2021-10-08T11:21:53.6472076Z | Library | TRACE | Sending request: '{"argument":{"item1":"eolo-dev","item2":[{"names":["eolo-tika"],"ip":"127.1.1.34","isExternalEndpoint":false,"isInWorkloadNamespace":true},{"names":["eolo-api-search"],"ip":"127.1.1.35","isExternalEndpoint":false,"isInWorkloadNamespace":true},{"names":["eolo-api-collabora-online"],"ip":"127.1.1.36","isExternalEndpoint":false,"isInWorkloadNamespace":true},{"names":["kubernetes.default"],"ip":"127.1.1.37","isExternalEndpoint":false,"isInWorkloadNamespace":false},{"names":["eolo-api-hazelcast-mancenter"],"ip":"127.1.1.38","isExternalEndpoint":false,"isInWorkloadNamespace":true},{"names":["eolo-api-events"],"ip":"127.1.1.39","isExternalEndpoint":false,"isInWorkloadNamespace":true},{"names":["eolo-api-gateway"],"ip":"127.1.1.40","isExternalEndpoint":false,"isInWorkloadNamespace":true},{"names":["eolo-api-manager"],"ip":"127.1.1.41","isExternalEndpoint":false,"isInWorkloadNamespace":true},{"names":["eolo-webapp"],"ip":"127.1.1.42","isExternalEndpoint":false,"isInWorkloadNamespace":true},{"names":["eolo-api-hazelcast"],"ip":"127.1.1.43","isExternalEndpoint":false,"isInWorkloadNamespace":true},{"names":["eolo-api-documentsmanaging"],"ip":"127.1.1.44","isExternalEndpoint":false,"isInWorkloadNamespace":true}]},"apiname":"AddHostsFileEntry","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa"}' 2021-10-08T11:21:53.6485177Z | Library | TRACE | 1362 bytes were sent. 2021-10-08T11:21:53.6525492Z | Library | TRACE | Received request segment: '{"isSuccess":true,"errorMessage":"","errorType":""}' of size 56 2021-10-08T11:21:53.6528682Z | Library | TRACE | Received response: '{"isSuccess":true,"errorMessage":"","errorType":""}' 2021-10-08T11:21:54.4974914Z | Library | TRACE | Hosts file updated.\n 2021-10-08T11:21:54.5147812Z | Library | TRACE | Service 'eolo-tika' is available on 127.1.1.34:9998.\n 2021-10-08T11:21:54.5150847Z | Library | TRACE | ServicePortForwarder started on eolo-tika:9998 on local port 55049 2021-10-08T11:21:54.5152789Z | Library | TRACE | Service 'eolo-api-search' is available on 127.1.1.35:80.\n 2021-10-08T11:21:54.5152943Z | Library | TRACE | ServicePortForwarder started on eolo-api-search:80 on local port 55049 2021-10-08T11:21:54.5155183Z | Library | TRACE | Service 'eolo-api-collabora-online' is available on 127.1.1.36:9980.\n 2021-10-08T11:21:54.5155708Z | Library | TRACE | ServicePortForwarder started on eolo-api-collabora-online:9980 on local port 55049 2021-10-08T11:21:54.5157243Z | Library | TRACE | Service 'kubernetes.default' is available on 127.1.1.37:443.\n 2021-10-08T11:21:54.5157351Z | Library | TRACE | ServicePortForwarder started on kubernetes.default:443 on local port 55049 2021-10-08T11:21:54.5159304Z | Library | TRACE | Service 'eolo-api-hazelcast-mancenter' is available on 127.1.1.38:8080.\n 2021-10-08T11:21:54.5160554Z | Library | TRACE | ServicePortForwarder started on eolo-api-hazelcast-mancenter:8080 on local port 55049 2021-10-08T11:21:54.5160947Z | Library | TRACE | Service 'eolo-api-hazelcast-mancenter' is available on 127.1.1.38:443.\n 2021-10-08T11:21:54.5161427Z | Library | TRACE | ServicePortForwarder started on eolo-api-hazelcast-mancenter:443 on local port 55050 2021-10-08T11:21:54.5162429Z | Library | TRACE | Service 'eolo-api-events' is available on 127.1.1.39:80.\n 2021-10-08T11:21:54.5164801Z | Library | TRACE | ServicePortForwarder started on eolo-api-events:80 on local port 55049 2021-10-08T11:21:54.5166243Z | Library | TRACE | Service 'eolo-api-gateway' is available on 127.1.1.40:80.\n 2021-10-08T11:21:54.5167074Z | Library | TRACE | ServicePortForwarder started on eolo-api-gateway:80 on local port 55049 2021-10-08T11:21:54.5167833Z | Library | TRACE | Service 'eolo-api-manager' is available on 127.1.1.41:80.\n 2021-10-08T11:21:54.5168853Z | Library | TRACE | ServicePortForwarder started on eolo-api-manager:80 on local port 55049 2021-10-08T11:21:54.5170520Z | Library | TRACE | Service 'eolo-webapp' is available on 127.1.1.42:80.\n 2021-10-08T11:21:54.5172937Z | Library | TRACE | ServicePortForwarder started on eolo-webapp:80 on local port 55049 2021-10-08T11:21:54.5176579Z | Library | TRACE | Service 'eolo-api-hazelcast' is available on 127.1.1.43:5701.\n 2021-10-08T11:21:54.5178141Z | Library | TRACE | ServicePortForwarder started on eolo-api-documentsmanaging:80 on local port 55049 2021-10-08T11:21:54.5178255Z | Library | TRACE | Service 'eolo-api-documentsmanaging' is available on 127.1.1.44:80.\n 2021-10-08T11:21:54.5182617Z | Library | TRACE | Event: LocalEnvironmentManager-StartServiceRouters {"properties":{"hostsFileEntryCount":"11","result":"Succeeded"},"metrics":{"durationInMs":3119.0}} 2021-10-08T11:21:54.5199388Z | Library | TRACE | ServicePortForwarder started on eolo-api-hazelcast:5701 on local port 55049 2021-10-08T11:21:54.5634140Z | Library | TRACE | Downloading volume 'default-token-jr8mr' from '/var/run/secrets/kubernetes.io/serviceaccount' ...\n 2021-10-08T11:21:54.5721713Z | Library | TRACE | Downloading from '/var/run/secrets/kubernetes.io/serviceaccount' ...\n 2021-10-08T11:21:54.5736241Z | Library | TRACE | Accept 36903 to 50051 2021-10-08T11:21:54.5738965Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34776 : Run send loop 2021-10-08T11:21:54.5798847Z | Library | TRACE | Creating web socket for eolo-api-gateway-85db67654c-cgl9z 50051 2021-10-08T11:21:54.8305297Z | Library | TRACE | Dependency: Kubernetes {"target":"WebSocketPodPortForwardAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:54.8314169Z | Library | TRACE | Web socket for eolo-api-gateway-85db67654c-cgl9z 50051 created. 2021-10-08T11:21:54.8323347Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34776 : Run receive loop 2021-10-08T11:21:55.1579972Z | Library | TRACE | Waiting for process 39149 2021-10-08T11:21:55.1587814Z | Library | TRACE | Process has exited with exit code 0 2021-10-08T11:21:55.1592039Z | Library | TRACE | Download completed.\n 2021-10-08T11:21:55.1624730Z | Library | TRACE | Event: LocalEnvironmentManager-SatisfyEnvFile {"properties":{"referencedVolumesCount":"1","referencedServicesCount":"1","result":"Succeeded"},"metrics":{"durationInMs":632.0}} 2021-10-08T11:21:55.1712199Z | Library | TRACE | Container port 8080 is available at localhost:8080.\n 2021-10-08T11:21:55.1737209Z | Library | TRACE | Event: LocalEnvironmentManager-GetLocalEnvironment {"properties":{"envVarCount":"113","result":"Succeeded"},"metrics":{"durationInMs":648.0}} 2021-10-08T11:21:55.1739370Z | Library | TRACE | Event: ConnectManagementClient-ConfigureLocalHost {"properties":{"numOfReachableServices":"11","numOfEnvironmentVariables":"19","numOfContainerPorts":"1","numOfVolumeMounts":"1","result":"Succeeded"},"metrics":{"durationInMs":3783.0}} 2021-10-08T11:21:55.1836838Z | Library | TRACE | Accept 36903 to 50051 2021-10-08T11:21:55.1840570Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34778 : Run send loop 2021-10-08T11:21:55.1842868Z | Library | TRACE | Creating web socket for eolo-api-gateway-85db67654c-cgl9z 50051 2021-10-08T11:21:55.2539886Z | Library | TRACE | Dependency: Kubernetes {"target":"WatchV1PodAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:55.2631881Z | Library | TRACE | Dependency: Kubernetes {"target":"WatchV1DeploymentAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:55.4885067Z | Library | TRACE | Dependency: Kubernetes {"target":"WebSocketPodPortForwardAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:55.4897855Z | Library | TRACE | Web socket for eolo-api-gateway-85db67654c-cgl9z 50051 created. 2021-10-08T11:21:55.4934164Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34778 : Run receive loop 2021-10-08T11:21:55.5506588Z | Library | TRACE | Accept 36903 to 50051 2021-10-08T11:21:55.5513035Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34780 : Run send loop 2021-10-08T11:21:55.5517394Z | Library | TRACE | Creating web socket for eolo-api-gateway-85db67654c-cgl9z 50051 2021-10-08T11:21:56.0697649Z | Library | TRACE | Dependency: Kubernetes {"target":"WebSocketPodPortForwardAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:21:56.0715742Z | Library | TRACE | Web socket for eolo-api-gateway-85db67654c-cgl9z 50051 created. 2021-10-08T11:21:56.0749378Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34780 : Run receive loop 2021-10-08T11:22:24.5045976Z | Library | TRACE | Connecting to EndpointManager 2021-10-08T11:22:24.5087324Z | Library | TRACE | Received request segment: 'EndpointManager accepted connection' of size 40 2021-10-08T11:22:24.5098566Z | Library | TRACE | Sending request: '{"apiname":"Ping","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa"}' 2021-10-08T11:22:24.5104688Z | Library | TRACE | 130 bytes were sent. 2021-10-08T11:22:24.5122772Z | Library | TRACE | Received request segment: '{"isSuccess":true,"errorMessage":null,"errorType":null}' of size 60 2021-10-08T11:22:24.5128652Z | Library | TRACE | Received response: '{"isSuccess":true,"errorMessage":null,"errorType":null}' 2021-10-08T11:22:47.2572811Z | Library | TRACE | Sent 931 bytes to workload on id 1. 2021-10-08T11:22:47.2582878Z | Library | TRACE | Sent 930 bytes to workload on id 3. 2021-10-08T11:22:47.2586170Z | Library | TRACE | Sent 930 bytes to workload on id 2. 2021-10-08T11:22:47.4692622Z | Library | TRACE | ReversePortForwarder receive 1092 bytes from port 8080 on id 3 2021-10-08T11:22:47.5331907Z | Library | TRACE | ReversePortForwarder receive 1092 bytes from port 8080 on id 2 2021-10-08T11:22:47.5404344Z | Library | TRACE | ReversePortForwarder receive 1088 bytes from port 8080 on id 1 2021-10-08T11:22:54.4981229Z | Library | TRACE | Connecting to EndpointManager 2021-10-08T11:22:54.5013503Z | Library | TRACE | Received request segment: 'EndpointManager accepted connection' of size 40 2021-10-08T11:22:54.5022565Z | Library | TRACE | Sending request: '{"apiname":"Ping","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa"}' 2021-10-08T11:22:54.5032526Z | Library | TRACE | 130 bytes were sent. 2021-10-08T11:22:54.5051713Z | Library | TRACE | Received request segment: '{"isSuccess":true,"errorMessage":null,"errorType":null}' of size 60 2021-10-08T11:22:54.5061747Z | Library | TRACE | Received response: '{"isSuccess":true,"errorMessage":null,"errorType":null}' 2021-10-08T11:22:55.2986052Z | Library | TRACE | Dependency: Kubernetes {"target":"WatchV1PodAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:22:55.3061190Z | Library | TRACE | Dependency: Kubernetes {"target":"WatchV1DeploymentAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:23:24.5029310Z | Library | TRACE | Connecting to EndpointManager 2021-10-08T11:23:24.5058163Z | Library | TRACE | Received request segment: 'EndpointManager accepted connection' of size 40 2021-10-08T11:23:24.5064942Z | Library | TRACE | Sending request: '{"apiname":"Ping","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa"}' 2021-10-08T11:23:24.5069461Z | Library | TRACE | 130 bytes were sent. 2021-10-08T11:23:24.5090059Z | Library | TRACE | Received request segment: '{"isSuccess":true,"errorMessage":null,"errorType":null}' of size 60 2021-10-08T11:23:24.5096514Z | Library | TRACE | Received response: '{"isSuccess":true,"errorMessage":null,"errorType":null}' 2021-10-08T11:23:47.5201857Z | Library | TRACE | ReversePortForwarder receive 0 bytes from port 8080 on id 3 2021-10-08T11:23:47.5804010Z | Library | TRACE | ReversePortForwarder receive 0 bytes from port 8080 on id 2 2021-10-08T11:23:47.5901664Z | Library | TRACE | ReversePortForwarder receive 0 bytes from port 8080 on id 1 2021-10-08T11:23:47.6129333Z | Library | TRACE | Closing socket 3 2021-10-08T11:23:47.6293214Z | Library | TRACE | Closing socket 2 2021-10-08T11:23:47.6371073Z | Library | TRACE | Closing socket 1 2021-10-08T11:23:51.8926310Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34772 : Remote stream finished. Closed 2021-10-08T11:23:51.8931967Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34772 : RemoteConnection closed. 2021-10-08T11:23:54.5022696Z | Library | TRACE | Connecting to EndpointManager 2021-10-08T11:23:54.5052499Z | Library | TRACE | Received request segment: 'EndpointManager accepted connection' of size 40 2021-10-08T11:23:54.5056494Z | Library | TRACE | Sending request: '{"apiname":"Ping","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa"}' 2021-10-08T11:23:54.5060614Z | Library | TRACE | 130 bytes were sent. 2021-10-08T11:23:54.5085309Z | Library | TRACE | Received request segment: '{"isSuccess":true,"errorMessage":null,"errorType":null}' of size 60 2021-10-08T11:23:54.5090793Z | Library | TRACE | Received response: '{"isSuccess":true,"errorMessage":null,"errorType":null}' 2021-10-08T11:23:55.3459037Z | Library | TRACE | Dependency: Kubernetes {"target":"WatchV1PodAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:23:55.3498663Z | Library | TRACE | Dependency: Kubernetes {"target":"WatchV1DeploymentAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:23:56.8772295Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34776 : RemoteConnection closed. 2021-10-08T11:23:56.8772295Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34776 : Remote stream finished. Closed 2021-10-08T11:23:56.8807563Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34778 : RemoteConnection closed. 2021-10-08T11:23:56.8807987Z | Library | TRACE | Port forward eolo-api-gateway-85db67654c-cgl9z 36903:50051 34778 : Remote stream finished. Closed 2021-10-08T11:24:24.5009398Z | Library | TRACE | Connecting to EndpointManager 2021-10-08T11:24:24.5020895Z | Library | TRACE | Received request segment: 'EndpointManager accepted connection' of size 40 2021-10-08T11:24:24.5021955Z | Library | TRACE | Sending request: '{"apiname":"Ping","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa"}' 2021-10-08T11:24:24.5022899Z | Library | TRACE | 130 bytes were sent. 2021-10-08T11:24:24.5026788Z | Library | TRACE | Received request segment: '{"isSuccess":true,"errorMessage":null,"errorType":null}' of size 60 2021-10-08T11:24:24.5027620Z | Library | TRACE | Received response: '{"isSuccess":true,"errorMessage":null,"errorType":null}' 2021-10-08T11:24:28.9925504Z | Library | TRACE | Sent 828 bytes to workload on id 4. 2021-10-08T11:24:28.9954534Z | Library | TRACE | Sent 827 bytes to workload on id 6. 2021-10-08T11:24:28.9960819Z | Library | TRACE | Sent 827 bytes to workload on id 5. 2021-10-08T11:24:29.0823099Z | Library | TRACE | ReversePortForwarder receive 1127 bytes from port 8080 on id 4 2021-10-08T11:24:29.1891903Z | Library | TRACE | ReversePortForwarder receive 1130 bytes from port 8080 on id 5 2021-10-08T11:24:29.1964871Z | Library | TRACE | ReversePortForwarder receive 5 bytes from port 8080 on id 4 2021-10-08T11:24:29.1964867Z | Library | TRACE | ReversePortForwarder receive 1130 bytes from port 8080 on id 6 2021-10-08T11:24:29.2870634Z | Library | TRACE | ReversePortForwarder receive 5 bytes from port 8080 on id 6 2021-10-08T11:24:29.2870663Z | Library | TRACE | ReversePortForwarder receive 5 bytes from port 8080 on id 5 2021-10-08T11:24:29.9484052Z | Library | TRACE | Sent 1027 bytes to workload on id 5. 2021-10-08T11:24:29.9694801Z | Library | TRACE | ReversePortForwarder receive 1313 bytes from port 8080 on id 5 2021-10-08T11:24:31.8183036Z | Library | TRACE | Sent 1988 bytes to workload on id 5. 2021-10-08T11:24:32.6114557Z | Library | TRACE | ReversePortForwarder receive 862 bytes from port 8080 on id 5 2021-10-08T11:24:33.0982306Z | Library | TRACE | Sent 924 bytes to workload on id 5. 2021-10-08T11:24:33.1200165Z | Library | TRACE | Sent 923 bytes to workload on id 6. 2021-10-08T11:24:33.1202712Z | Library | TRACE | Sent 923 bytes to workload on id 4. 2021-10-08T11:24:33.3386539Z | Library | TRACE | ReversePortForwarder receive 1089 bytes from port 8080 on id 5 2021-10-08T11:24:33.3982306Z | Library | TRACE | ReversePortForwarder receive 1092 bytes from port 8080 on id 6 2021-10-08T11:24:33.4145316Z | Library | TRACE | ReversePortForwarder receive 1092 bytes from port 8080 on id 4 2021-10-08T11:24:54.5023942Z | Library | TRACE | Connecting to EndpointManager 2021-10-08T11:24:54.5054203Z | Library | TRACE | Received request segment: 'EndpointManager accepted connection' of size 40 2021-10-08T11:24:54.5060063Z | Library | TRACE | Sending request: '{"apiname":"Ping","correlationId":"2ea29f92-67ac-4bad-bd9c-c4a5d505ffa21633684895490:c19dbe05a844:d5cd1c7891f5:a8550d59d3fa"}' 2021-10-08T11:24:54.5065921Z | Library | TRACE | 130 bytes were sent. 2021-10-08T11:24:54.5083104Z | Library | TRACE | Received request segment: '{"isSuccess":true,"errorMessage":null,"errorType":null}' of size 60 2021-10-08T11:24:54.5087663Z | Library | TRACE | Received response: '{"isSuccess":true,"errorMessage":null,"errorType":null}' 2021-10-08T11:24:55.3829308Z | Library | TRACE | Dependency: Kubernetes {"target":"WatchV1PodAsync","success":true,"duration":null,"properties":{}} 2021-10-08T11:24:55.4412167Z | Library | TRACE | Dependency: Kubernetes {"target":"WatchV1DeploymentAsync","success":true,"duration":null,"properties":{}}
lolodi commented 2 years ago

Hi @letmagnau, Do you encounter this problem even when Isolation is not enabled? It looks like SCG has its own routing rules and it might not work correctly when isolation is enabled.

letmagnau commented 2 years ago

Hi Lorenzo, thanks for reply. Yes I've tried in both way Sure, spring cloud gateway is able to recognize k8 service discovery but thought seems that it can find it but it try to point to cluster ip address and not to service name and in my local net it is not resolved

any idea?

lolodi commented 2 years ago

Hi @letmagnau, It looks like the problem is with the way SCG does service resolution. For Bridge to work we need that the local service calls it's dependencies by name, not IP. This is because we intercept the DNS resolution to redirect the traffic to our local listeners. If the code calls IPs we cannot intercept that. I'm not familiar with SCG but I'd suggest you can try to find a way to configure it so that it doesn't resolve IPs but instead returns service names.