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
Example that reproduces the problem uploaded to Github
Full description of the issue provided (see below)
Expected Behaviour
Clients that do not expose anything in a running pod should not spam logs with Error messages
Actual Behaviour
KubernetesDiscoveryClient is spamming log with error message.
Environment Information
Operating System: NA
Micronaut Version: 1.2.0
JDK Version: 8
Here is the full stack trace.
14:53:55.471 [nioEventLoopGroup-3-3] ERROR i.m.k.d.KubernetesDiscoveryClient - Error while trying to get Kubernetes Endpoints for the service [mysql] in the nam │
│ io.micronaut.http.client.exceptions.HttpClientResponseException: Not Found │
│ at io.micronaut.http.client.DefaultHttpClient$9.channelRead0(DefaultHttpClient.java:1657) │
│ at io.micronaut.http.client.DefaultHttpClient$9.channelRead0(DefaultHttpClient.java:1594) │
│ at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) │
│ at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) │
│ at io.micronaut.http.netty.reactive.HandlerPublisher.channelRead(HandlerPublisher.java:434) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) │
│ at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) │
│ at io.micronaut.http.netty.stream.HttpStreamsHandler.channelRead(HttpStreamsHandler.java:219) │
│ at io.micronaut.http.netty.stream.HttpStreamsClientHandler.channelRead(HttpStreamsClientHandler.java:180) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) │
│ at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) │
│ at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) │
│ at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) │
│ at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438) │
│ at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328) │
│ at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:315) │
│ at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:429) │
│ at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283) │
│ at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) │
│ at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) │
│ at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1475) │
│ at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1224) │
│ at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1271) │
│ at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:505) │
│ at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:444) │
│ at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) │
│ at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) │
│ at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) │
│ at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) │
│ at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) │
│ at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) │
│ at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:697) │
│ at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:632) │
│ at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:549) │
│ at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:511) │
│ at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918) │
│ at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) │
│ at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) │
│ at java.lang.Thread.run(Thread.java:748)
The text was updated successfully, but these errors were encountered:
alvarosanchez
transferred this issue from micronaut-projects/micronaut-discovery-client
Sep 23, 2020
Task List
Expected Behaviour
Clients that do not expose anything in a running pod should not spam logs with Error messages
Actual Behaviour
KubernetesDiscoveryClient is spamming log with error message.
Environment Information
Here is the full stack trace.
The text was updated successfully, but these errors were encountered: