2025-01-04 18:19:58:245 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2025-01-04 18:19:58:246 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:42447 2025-01-04 18:19:58:246 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification1' mapped to ws://localhost:42447 2025-01-04 18:19:58:247 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:42447 2025-01-04 18:19:58:247 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@2035392652 2025-01-04 18:19:58:247 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2025-01-04 18:19:58:247 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:42447 2025-01-04 18:19:58:247 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification2' mapped to ws://localhost:42447 2025-01-04 18:19:58:247 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:42447 2025-01-04 18:19:58:247 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1783877084 2025-01-04 18:19:58:248 +0000 [nioEventLoopGroup-2-3] WARN AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:42447' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:42447 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) 2025-01-04 18:19:58:248 +0000 [nioEventLoopGroup-2-3] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [N/A]@2035392652 2025-01-04 18:19:58:249 +0000 [nioEventLoopGroup-2-4] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x23970e25, L:/127.0.0.1:57912 - R:localhost/127.0.0.1:42447]]@1783877084 2025-01-04 18:19:58:249 +0000 [nioEventLoopGroup-2-4] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: BQ66gf0xWXQXXGTH1Pc1Vg==, expected response: kVk5MwTNbV36gCv3f3zA5iic9xc= 2025-01-04 18:19:58:250 +0000 [nioEventLoopGroup-2-7] DEBUG WebSocketServerHandshaker - [id: 0x87eb646a, L:/127.0.0.1:42447 - R:/127.0.0.1:57912] WebSocket version V13 server handshake 2025-01-04 18:19:58:251 +0000 [nioEventLoopGroup-2-7] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: BQ66gf0xWXQXXGTH1Pc1Vg==, response: kVk5MwTNbV36gCv3f3zA5iic9xc= 2025-01-04 18:19:58:252 +0000 [nioEventLoopGroup-2-4] DEBUG WebSocketClientHandshake - Client connected on [id: 0x23970e25, L:/127.0.0.1:57912 - R:localhost/127.0.0.1:42447] 2025-01-04 18:19:58:596 +0000 [nioEventLoopGroup-2-1] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:41549 2025-01-04 18:19:58:597 +0000 [nioEventLoopGroup-2-1] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:19:58:599 +0000 [nioEventLoopGroup-2-8] TRACE AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:41549' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:41549 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) 2025-01-04 18:19:58:599 +0000 [nioEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:19:58:902 +0000 [defaultEventExecutorGroup-3-1] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":1} 2025-01-04 18:19:58:902 +0000 [defaultEventExecutorGroup-3-1] TRACE NotificationCodec - [decode][notification1] input : 1 2025-01-04 18:19:58:903 +0000 [defaultEventExecutorGroup-3-1] ERROR AbstractMessageListenerAdapter - Caught exception on [id: 0x23970e25, L:/127.0.0.1:57912 - R:localhost/127.0.0.1:42447], 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) 2025-01-04 18:19:58:903 +0000 [defaultEventExecutorGroup-3-1] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":{"current-level":1,"max-level":2}} 2025-01-04 18:19:58:904 +0000 [defaultEventExecutorGroup-3-1] TRACE NotificationCodec - [decode][notification1] input : {"current-level":1,"max-level":2} 2025-01-04 18:19:58:904 +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: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) 2025-01-04 18:19:58:905 +0000 [nioEventLoopGroup-2-4] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@1144358291 2025-01-04 18:19:58:905 +0000 [nioEventLoopGroup-2-4] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0x23970e25, L:/127.0.0.1:57912 ! R:localhost/127.0.0.1:42447]]@1783877084 2025-01-04 18:19:58:905 +0000 [defaultEventExecutorGroup-3-1] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2025-01-04T18:19:58.905631776Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=2}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2025-01-04 18:19:58:905 +0000 [defaultEventExecutorGroup-3-1] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007f175c50c880@1263d20d with notification JsonRpcNotification [eventTime=2025-01-04T18:19:58.905631776Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=2}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2025-01-04 18:19:58:906 +0000 [defaultEventExecutorGroup-3-1] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2025-01-04T18:19:58.905631776Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=2}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2025-01-04 18:19:58:906 +0000 [defaultEventExecutorGroup-3-1] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":[1,3]} 2025-01-04 18:19:58:906 +0000 [defaultEventExecutorGroup-3-1] TRACE NotificationCodec - [decode][notification1] input : [1,3] 2025-01-04 18:19:58:907 +0000 [defaultEventExecutorGroup-3-1] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2025-01-04T18:19:58.907761609Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=3}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2025-01-04 18:19:58:908 +0000 [defaultEventExecutorGroup-3-1] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007f175c50c880@1263d20d with notification JsonRpcNotification [eventTime=2025-01-04T18:19:58.907761609Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=3}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2025-01-04 18:19:58:908 +0000 [defaultEventExecutorGroup-3-1] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2025-01-04T18:19:58.907761609Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=3}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2025-01-04 18:19:58:908 +0000 [defaultEventExecutorGroup-3-1] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":[1,2]} 2025-01-04 18:19:58:908 +0000 [defaultEventExecutorGroup-3-1] TRACE NotificationCodec - [decode][notification1] input : [1,2] 2025-01-04 18:19:58:909 +0000 [defaultEventExecutorGroup-3-1] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2025-01-04T18:19:58.909435224Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=2}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2025-01-04 18:19:58:909 +0000 [defaultEventExecutorGroup-3-1] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007f175c50c880@1263d20d with notification JsonRpcNotification [eventTime=2025-01-04T18:19:58.909435224Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=2}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2025-01-04 18:19:58:909 +0000 [defaultEventExecutorGroup-3-1] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2025-01-04T18:19:58.909435224Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=2}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2025-01-04 18:19:59:249 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:42447 2025-01-04 18:19:59:250 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@2035392652 2025-01-04 18:19:59:251 +0000 [nioEventLoopGroup-2-11] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0xaa1f5bd1, L:/127.0.0.1:57928 - R:localhost/127.0.0.1:42447]]@2035392652 2025-01-04 18:19:59:252 +0000 [nioEventLoopGroup-2-11] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: Jr10dwqxYV29DUuIDAeQeQ==, expected response: yoHApNcACnnG0ZTFzBfRLKBkJ+g= 2025-01-04 18:19:59:254 +0000 [nioEventLoopGroup-2-12] DEBUG WebSocketServerHandshaker - [id: 0xbb6b1492, L:/127.0.0.1:42447 - R:/127.0.0.1:57928] WebSocket version V13 server handshake 2025-01-04 18:19:59:254 +0000 [nioEventLoopGroup-2-12] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: Jr10dwqxYV29DUuIDAeQeQ==, response: yoHApNcACnnG0ZTFzBfRLKBkJ+g= 2025-01-04 18:19:59:256 +0000 [nioEventLoopGroup-2-11] DEBUG WebSocketClientHandshake - Client connected on [id: 0xaa1f5bd1, L:/127.0.0.1:57928 - R:localhost/127.0.0.1:42447] 2025-01-04 18:19:59:601 +0000 [nioEventLoopGroup-2-9] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:41549 2025-01-04 18:19:59:601 +0000 [nioEventLoopGroup-2-9] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:19:59:602 +0000 [nioEventLoopGroup-2-1] TRACE AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:41549' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:41549 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) 2025-01-04 18:19:59:603 +0000 [nioEventLoopGroup-2-1] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:19:59:906 +0000 [nioEventLoopGroup-2-10] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:42447 2025-01-04 18:19:59:906 +0000 [nioEventLoopGroup-2-10] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x23970e25, L:/127.0.0.1:57912 ! R:localhost/127.0.0.1:42447]]@1783877084 2025-01-04 18:19:59:908 +0000 [nioEventLoopGroup-2-3] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x23229567, L:/127.0.0.1:57934 - R:localhost/127.0.0.1:42447]]@1783877084 2025-01-04 18:19:59:908 +0000 [nioEventLoopGroup-2-3] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: SufkbEp1qEtonJe6WsPJFg==, expected response: jA8i1MlVVxkJx2Mj7cNkRHfIL2I= 2025-01-04 18:19:59:910 +0000 [nioEventLoopGroup-2-4] DEBUG WebSocketServerHandshaker - [id: 0xf801c6a4, L:/127.0.0.1:42447 - R:/127.0.0.1:57934] WebSocket version V13 server handshake 2025-01-04 18:19:59:910 +0000 [nioEventLoopGroup-2-4] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: SufkbEp1qEtonJe6WsPJFg==, response: jA8i1MlVVxkJx2Mj7cNkRHfIL2I= 2025-01-04 18:19:59:912 +0000 [nioEventLoopGroup-2-3] DEBUG WebSocketClientHandshake - Client connected on [id: 0x23229567, L:/127.0.0.1:57934 - R:localhost/127.0.0.1:42447] 2025-01-04 18:20:00:604 +0000 [nioEventLoopGroup-2-2] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:41549 2025-01-04 18:20:00:604 +0000 [nioEventLoopGroup-2-2] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:20:00:606 +0000 [nioEventLoopGroup-2-5] TRACE AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:41549' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:41549 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) 2025-01-04 18:20:00:606 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:20:01:608 +0000 [nioEventLoopGroup-2-6] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:41549 2025-01-04 18:20:01:608 +0000 [nioEventLoopGroup-2-6] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:20:01:610 +0000 [nioEventLoopGroup-2-7] TRACE AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:41549' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:41549 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) 2025-01-04 18:20:01:610 +0000 [nioEventLoopGroup-2-7] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:20:02:612 +0000 [nioEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:41549 2025-01-04 18:20:02:612 +0000 [nioEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:20:02:614 +0000 [nioEventLoopGroup-2-9] TRACE AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:41549' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:41549 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) 2025-01-04 18:20:02:614 +0000 [nioEventLoopGroup-2-9] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:20:03:616 +0000 [nioEventLoopGroup-2-10] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:41549 2025-01-04 18:20:03:616 +0000 [nioEventLoopGroup-2-10] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:20:03:618 +0000 [nioEventLoopGroup-2-11] TRACE AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:41549' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:41549 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) 2025-01-04 18:20:03:618 +0000 [nioEventLoopGroup-2-11] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [[id: 0x831abc0d, L:/127.0.0.1:44396 ! R:localhost/127.0.0.1:41549]]@2009492162 2025-01-04 18:20:03:900 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractSession [PUB@ws://localhost:42447@1328894753] 2025-01-04 18:20:03:901 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:42447, sessionType=SUB, hashCode=2035392652] 2025-01-04 18:20:03:901 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0xaa1f5bd1, L:/127.0.0.1:57928 - R:localhost/127.0.0.1:42447]]@2035392652 2025-01-04 18:20:03:902 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:42447, sessionType=SUB, hashCode=1783877084] 2025-01-04 18:20:03:902 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x23229567, L:/127.0.0.1:57934 - R:localhost/127.0.0.1:42447]]@1783877084