Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noisy Logging on Kubernetes RDS mysql client #184

Open
4 tasks
eahrold opened this issue Sep 22, 2020 · 0 comments
Open
4 tasks

Noisy Logging on Kubernetes RDS mysql client #184

eahrold opened this issue Sep 22, 2020 · 0 comments
Labels
type: improvement A minor improvement to an existing feature

Comments

@eahrold
Copy link

eahrold commented Sep 22, 2020

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • 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)               
@alvarosanchez alvarosanchez transferred this issue from micronaut-projects/micronaut-discovery-client Sep 23, 2020
@alvarosanchez alvarosanchez added the type: improvement A minor improvement to an existing feature label Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants