2024-12-28 18:20:10:424 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2024-12-28 18:20:10:425 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:45401 2024-12-28 18:20:10:425 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification1' mapped to ws://localhost:45401 2024-12-28 18:20:10:426 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:45401 2024-12-28 18:20:10:426 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1586714022 2024-12-28 18:20:10:426 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2024-12-28 18:20:10:426 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:45401 2024-12-28 18:20:10:426 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification2' mapped to ws://localhost:45401 2024-12-28 18:20:10:426 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:45401 2024-12-28 18:20:10:426 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@880314240 2024-12-28 18:20:10:427 +0000 [nioEventLoopGroup-2-4] WARN AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:45401' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:45401 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:997) 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-12-28 18:20:10:427 +0000 [nioEventLoopGroup-2-4] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [N/A]@1586714022 2024-12-28 18:20:10:428 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x4c9135d7, L:/127.0.0.1:45994 - R:localhost/127.0.0.1:45401]]@880314240 2024-12-28 18:20:10:428 +0000 [nioEventLoopGroup-2-5] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: rBZ6pVMUwgYcd3nWpdeeMQ==, expected response: zpYyaEHDVGV1Ep5vBnNcYR3tKkY= 2024-12-28 18:20:10:429 +0000 [nioEventLoopGroup-2-8] DEBUG WebSocketServerHandshaker - [id: 0x7ccdbd93, L:/127.0.0.1:45401 - R:/127.0.0.1:45994] WebSocket version V13 server handshake 2024-12-28 18:20:10:429 +0000 [nioEventLoopGroup-2-8] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: rBZ6pVMUwgYcd3nWpdeeMQ==, response: zpYyaEHDVGV1Ep5vBnNcYR3tKkY= 2024-12-28 18:20:10:430 +0000 [nioEventLoopGroup-2-5] DEBUG WebSocketClientHandshake - Client connected on [id: 0x4c9135d7, L:/127.0.0.1:45994 - R:localhost/127.0.0.1:45401] 2024-12-28 18:20:11:081 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":1} 2024-12-28 18:20:11:081 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : 1 2024-12-28 18:20:11:081 +0000 [defaultEventExecutorGroup-3-3] ERROR AbstractMessageListenerAdapter - Caught exception on [id: 0x4c9135d7, L:/127.0.0.1:45994 - R:localhost/127.0.0.1:45401], closing channel now java.lang.IllegalArgumentException: expected one element but was: at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:322) 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:997) 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-12-28 18:20:11:082 +0000 [nioEventLoopGroup-2-5] 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:322) 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:997) 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-12-28 18:20:11:083 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@1310146032 2024-12-28 18:20:11:083 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0x4c9135d7, L:/127.0.0.1:45994 ! R:localhost/127.0.0.1:45401]]@880314240 2024-12-28 18:20:11:429 +0000 [nioEventLoopGroup-2-6] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:45401 2024-12-28 18:20:11:430 +0000 [nioEventLoopGroup-2-6] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1586714022 2024-12-28 18:20:11:432 +0000 [nioEventLoopGroup-2-10] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x324b28a2, L:/127.0.0.1:46010 - R:localhost/127.0.0.1:45401]]@1586714022 2024-12-28 18:20:11:432 +0000 [nioEventLoopGroup-2-10] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: Gpt5wKG+DKMoGi/G7BIs1Q==, expected response: oU/20qsPBw8A1k8MXC+0cUwtlJM= 2024-12-28 18:20:11:434 +0000 [nioEventLoopGroup-2-11] DEBUG WebSocketServerHandshaker - [id: 0x57844654, L:/127.0.0.1:45401 - R:/127.0.0.1:46010] WebSocket version V13 server handshake 2024-12-28 18:20:11:434 +0000 [nioEventLoopGroup-2-11] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: Gpt5wKG+DKMoGi/G7BIs1Q==, response: oU/20qsPBw8A1k8MXC+0cUwtlJM= 2024-12-28 18:20:11:436 +0000 [nioEventLoopGroup-2-10] DEBUG WebSocketClientHandshake - Client connected on [id: 0x324b28a2, L:/127.0.0.1:46010 - R:localhost/127.0.0.1:45401] 2024-12-28 18:20:12:086 +0000 [nioEventLoopGroup-2-9] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:45401 2024-12-28 18:20:12:086 +0000 [nioEventLoopGroup-2-9] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x4c9135d7, L:/127.0.0.1:45994 ! R:localhost/127.0.0.1:45401]]@880314240 2024-12-28 18:20:12:088 +0000 [nioEventLoopGroup-2-12] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x4777c6f6, L:/127.0.0.1:46014 - R:localhost/127.0.0.1:45401]]@880314240 2024-12-28 18:20:12:088 +0000 [nioEventLoopGroup-2-12] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: +TokFo+cHJOyHYrCiWRJ1Q==, expected response: Fw4zCf1xUyjh63X9d8o0XWIN+Aw= 2024-12-28 18:20:12:091 +0000 [nioEventLoopGroup-2-1] DEBUG WebSocketServerHandshaker - [id: 0xba106ab5, L:/127.0.0.1:45401 - R:/127.0.0.1:46014] WebSocket version V13 server handshake 2024-12-28 18:20:12:092 +0000 [nioEventLoopGroup-2-1] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: +TokFo+cHJOyHYrCiWRJ1Q==, response: Fw4zCf1xUyjh63X9d8o0XWIN+Aw= 2024-12-28 18:20:12:094 +0000 [nioEventLoopGroup-2-12] DEBUG WebSocketClientHandshake - Client connected on [id: 0x4777c6f6, L:/127.0.0.1:46014 - R:localhost/127.0.0.1:45401] 2024-12-28 18:20:16:082 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractSession [PUB@ws://localhost:45401@1659777734] 2024-12-28 18:20:16:084 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:45401, sessionType=SUB, hashCode=1586714022] 2024-12-28 18:20:16:084 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x324b28a2, L:/127.0.0.1:46010 - R:localhost/127.0.0.1:45401]]@1586714022 2024-12-28 18:20:16:085 +0000 [nioEventLoopGroup-2-12] 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-12-28 18:20:16:085 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:45401, sessionType=SUB, hashCode=880314240] 2024-12-28 18:20:16:085 +0000 [nioEventLoopGroup-2-10] 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-12-28 18:20:16:085 +0000 [nioEventLoopGroup-2-12] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, client-handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x4777c6f6, L:/127.0.0.1:46014 - R:localhost/127.0.0.1:45401]. 2024-12-28 18:20:16:085 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x4777c6f6, L:/127.0.0.1:46014 - R:localhost/127.0.0.1:45401]]@880314240 2024-12-28 18:20:16:085 +0000 [nioEventLoopGroup-2-10] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, client-handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x324b28a2, L:/127.0.0.1:46010 ! R:localhost/127.0.0.1:45401].