2024-09-24 20:39:32:227 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2024-09-24 20:39:32:227 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:56897 2024-09-24 20:39:32:227 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification2' mapped to ws://localhost:56897 2024-09-24 20:39:32:228 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:56897 2024-09-24 20:39:32:228 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@988705496 2024-09-24 20:39:32:229 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2024-09-24 20:39:32:229 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:56897 2024-09-24 20:39:32:229 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification1' mapped to ws://localhost:56897 2024-09-24 20:39:32:229 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:56897 2024-09-24 20:39:32:229 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@995331626 2024-09-24 20:39:32:230 +0000 [nioEventLoopGroup-2-3] WARN AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:56897' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:56897 Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.Net.pollConnect(Native Method) at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:973) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:336) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:339) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) 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:1583) 2024-09-24 20:39:32:230 +0000 [nioEventLoopGroup-2-3] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [N/A]@988705496 2024-09-24 20:39:32:231 +0000 [nioEventLoopGroup-2-4] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x2ac6b5ca, L:/127.0.0.1:49544 - R:localhost/127.0.0.1:56897]]@995331626 2024-09-24 20:39:32:231 +0000 [nioEventLoopGroup-2-4] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: Xu7nUf9GG7tG+0ApxdxgKQ==, expected response: XzCsY7KQrJ62an9znUIKYcfpRDY= 2024-09-24 20:39:32:232 +0000 [nioEventLoopGroup-2-7] DEBUG WebSocketServerHandshaker - [id: 0x58911370, L:/127.0.0.1:56897 - R:/127.0.0.1:49544] WebSocket version V13 server handshake 2024-09-24 20:39:32:233 +0000 [nioEventLoopGroup-2-7] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: Xu7nUf9GG7tG+0ApxdxgKQ==, response: XzCsY7KQrJ62an9znUIKYcfpRDY= 2024-09-24 20:39:32:234 +0000 [nioEventLoopGroup-2-4] DEBUG WebSocketClientHandshake - Client connected on [id: 0x2ac6b5ca, L:/127.0.0.1:49544 - R:localhost/127.0.0.1:56897] 2024-09-24 20:39:32:883 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":1} 2024-09-24 20:39:32:884 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : 1 2024-09-24 20:39:32:884 +0000 [defaultEventExecutorGroup-3-3] ERROR AbstractMessageListenerAdapter - Caught exception on [id: 0x2ac6b5ca, L:/127.0.0.1:49544 - R:localhost/127.0.0.1:56897], closing channel now java.lang.IllegalArgumentException: expected one element but was: at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:323) at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:263) at org.opendaylight.jsonrpc.dom.codec.RpcNotificationBaseCodec.wrapPrimitive(RpcNotificationBaseCodec.java:72) at org.opendaylight.jsonrpc.dom.codec.RpcNotificationBaseCodec.wrapInputIfNecessary(RpcNotificationBaseCodec.java:62) at org.opendaylight.jsonrpc.dom.codec.NotificationCodec.deserialize(NotificationCodec.java:50) at org.opendaylight.jsonrpc.dom.codec.NotificationCodec.deserialize(NotificationCodec.java:31) at org.opendaylight.jsonrpc.impl.JsonRPCNotificationService.handleNotification(JsonRPCNotificationService.java:134) at org.opendaylight.jsonrpc.bus.messagelib.SubscriberHandlerAdapter.handleNotification(SubscriberHandlerAdapter.java:31) at org.opendaylight.jsonrpc.bus.messagelib.NotificationHandlerAdapter.onMessage(NotificationHandlerAdapter.java:44) at org.opendaylight.jsonrpc.bus.spi.AbstractMessageListenerAdapter.processResponse(AbstractMessageListenerAdapter.java:38) at org.opendaylight.jsonrpc.bus.http.WebSocketClientHandler.channelRead0(WebSocketClientHandler.java:39) at org.opendaylight.jsonrpc.bus.http.WebSocketClientHandler.channelRead0(WebSocketClientHandler.java:26) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:425) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) 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:1583) 2024-09-24 20:39:32:885 +0000 [nioEventLoopGroup-2-4] WARN DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. java.lang.IllegalArgumentException: expected one element but was: at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:323) at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:263) at org.opendaylight.jsonrpc.dom.codec.RpcNotificationBaseCodec.wrapPrimitive(RpcNotificationBaseCodec.java:72) at org.opendaylight.jsonrpc.dom.codec.RpcNotificationBaseCodec.wrapInputIfNecessary(RpcNotificationBaseCodec.java:62) at org.opendaylight.jsonrpc.dom.codec.NotificationCodec.deserialize(NotificationCodec.java:50) at org.opendaylight.jsonrpc.dom.codec.NotificationCodec.deserialize(NotificationCodec.java:31) at org.opendaylight.jsonrpc.impl.JsonRPCNotificationService.handleNotification(JsonRPCNotificationService.java:134) at org.opendaylight.jsonrpc.bus.messagelib.SubscriberHandlerAdapter.handleNotification(SubscriberHandlerAdapter.java:31) at org.opendaylight.jsonrpc.bus.messagelib.NotificationHandlerAdapter.onMessage(NotificationHandlerAdapter.java:44) at org.opendaylight.jsonrpc.bus.spi.AbstractMessageListenerAdapter.processResponse(AbstractMessageListenerAdapter.java:38) at org.opendaylight.jsonrpc.bus.http.WebSocketClientHandler.channelRead0(WebSocketClientHandler.java:39) at org.opendaylight.jsonrpc.bus.http.WebSocketClientHandler.channelRead0(WebSocketClientHandler.java:26) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:425) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) 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:1583) 2024-09-24 20:39:32:886 +0000 [nioEventLoopGroup-2-4] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@2033968962 2024-09-24 20:39:32:886 +0000 [nioEventLoopGroup-2-4] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0x2ac6b5ca, L:/127.0.0.1:49544 ! R:localhost/127.0.0.1:56897]]@995331626 2024-09-24 20:39:33:231 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:56897 2024-09-24 20:39:33:232 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@988705496 2024-09-24 20:39:33:234 +0000 [nioEventLoopGroup-2-9] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x40a15c82, L:/127.0.0.1:49550 - R:localhost/127.0.0.1:56897]]@988705496 2024-09-24 20:39:33:234 +0000 [nioEventLoopGroup-2-9] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: qp/inhj4mdlzK0KHyXdwag==, expected response: 1+Pm33HRnKZ5Eqh0wzTPsZ++fuA= 2024-09-24 20:39:33:237 +0000 [nioEventLoopGroup-2-10] DEBUG WebSocketServerHandshaker - [id: 0xeb91e5f5, L:/127.0.0.1:56897 - R:/127.0.0.1:49550] WebSocket version V13 server handshake 2024-09-24 20:39:33:237 +0000 [nioEventLoopGroup-2-10] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: qp/inhj4mdlzK0KHyXdwag==, response: 1+Pm33HRnKZ5Eqh0wzTPsZ++fuA= 2024-09-24 20:39:33:239 +0000 [nioEventLoopGroup-2-9] DEBUG WebSocketClientHandshake - Client connected on [id: 0x40a15c82, L:/127.0.0.1:49550 - R:localhost/127.0.0.1:56897] 2024-09-24 20:39:33:888 +0000 [nioEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:56897 2024-09-24 20:39:33:888 +0000 [nioEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x2ac6b5ca, L:/127.0.0.1:49544 ! R:localhost/127.0.0.1:56897]]@995331626 2024-09-24 20:39:33:890 +0000 [nioEventLoopGroup-2-11] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x1fba25f0, L:/127.0.0.1:49556 - R:localhost/127.0.0.1:56897]]@995331626 2024-09-24 20:39:33:890 +0000 [nioEventLoopGroup-2-11] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: oJcjJCKPnxCbPZYH4qUC3g==, expected response: TKcbMV7FglhDryWYQt6mUDeQhr8= 2024-09-24 20:39:33:893 +0000 [nioEventLoopGroup-2-12] DEBUG WebSocketServerHandshaker - [id: 0x4ebcac27, L:/127.0.0.1:56897 - R:/127.0.0.1:49556] WebSocket version V13 server handshake 2024-09-24 20:39:33:894 +0000 [nioEventLoopGroup-2-12] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: oJcjJCKPnxCbPZYH4qUC3g==, response: TKcbMV7FglhDryWYQt6mUDeQhr8= 2024-09-24 20:39:33:895 +0000 [nioEventLoopGroup-2-11] DEBUG WebSocketClientHandshake - Client connected on [id: 0x1fba25f0, L:/127.0.0.1:49556 - R:localhost/127.0.0.1:56897] 2024-09-24 20:39:37:888 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractSession [PUB@ws://localhost:56897@1908565221] 2024-09-24 20:39:37:889 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:56897, sessionType=SUB, hashCode=988705496] 2024-09-24 20:39:37:889 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x40a15c82, L:/127.0.0.1:49550 - R:localhost/127.0.0.1:56897]]@988705496 2024-09-24 20:39:37:890 +0000 [nioEventLoopGroup-2-9] DEBUG DefaultChannelPipeline - Discarded inbound message CloseWebSocketFrame(data: PooledUnsafeDirectByteBuf(ridx: 0, widx: 5, cap: 5)) that reached at the tail of the pipeline. Please check your pipeline configuration. 2024-09-24 20:39:37:890 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:56897, sessionType=SUB, hashCode=995331626] 2024-09-24 20:39:37:890 +0000 [nioEventLoopGroup-2-9] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x40a15c82, L:/127.0.0.1:49550 ! R:localhost/127.0.0.1:56897]. 2024-09-24 20:39:37:891 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x1fba25f0, L:/127.0.0.1:49556 ! R:localhost/127.0.0.1:56897]]@995331626 2024-09-24 20:39:37:891 +0000 [nioEventLoopGroup-2-11] DEBUG DefaultChannelPipeline - Discarded inbound message CloseWebSocketFrame(data: PooledUnsafeDirectByteBuf(ridx: 0, widx: 5, cap: 5)) that reached at the tail of the pipeline. Please check your pipeline configuration. 2024-09-24 20:39:37:891 +0000 [nioEventLoopGroup-2-11] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, client-handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x1fba25f0, L:/127.0.0.1:49556 ! R:localhost/127.0.0.1:56897].