[CONTROLLER-607] HashedWheelTimeout while connecting to router Created: 07/Jul/14  Updated: 25/Jul/23  Resolved: 15/Jul/14

Status: Resolved
Project: controller
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Gallas Assignee: Maros Marsalek
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


External issue ID: 1317

 Description   

2014-07-07 13:32:16.275 CEST [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-2] INFO o.o.p.f.AbstractSessionNegotiator - Unexpected error during negotiation
java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[na:1.7.0_25]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) ~[na:1.7.0_25]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:225) ~[na:1.7.0_25]
at sun.nio.ch.IOUtil.read(IOUtil.java:193) ~[na:1.7.0_25]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:375) ~[na:1.7.0_25]
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:446) ~[na:na]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:871) ~[na:na]
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:225) ~[na:na]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:115) ~[na:na]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507) ~[na:na]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464) ~[na:na]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378) ~[na:na]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350) ~[na:na]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) ~[na:na]
at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
2014-07-07 13:32:36.176 CEST [pool-13-thread-1] WARN io.netty.util.HashedWheelTimer - An exception was thrown by TimerTask.
java.lang.IllegalStateException: complete already: ProtocolSessionPromise@23e32757(failure(java.io.IOException: An existing connection was forcibly closed by the remote host)
at io.netty.util.concurrent.DefaultPromise.setFailure(DefaultPromise.java:424) ~[na:na]
at org.opendaylight.protocol.framework.AbstractSessionNegotiator.negotiationFailed(AbstractSessionNegotiator.java:52) ~[na:na]
at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSessionNegotiator.access$400(AbstractNetconfSessionNegotiator.java:43) ~[na:na]
at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSessionNegotiator$2.run(AbstractNetconfSessionNegotiator.java:117) ~[na:na]
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:531) ~[na:na]
at io.netty.util.HashedWheelTimer$Worker.notifyExpiredTimeouts(HashedWheelTimer.java:425) ~[na:na]
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:376) ~[na:na]
at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
Caused by: java.lang.IllegalStateException: Session was not established after HashedWheelTimer$HashedWheelTimeout(deadline: 100747268 ns ago, task: org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSessionNegotiator$2@22214c70)
at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSessionNegotiator$2.run(AbstractNetconfSessionNegotiator.java:115) ~[na:na]
... 4 common frames omitted



 Comments   
Comment by Tony Tkacik [ 07/Jul/14 ]

Please provide additional information - e,g, was remote host reachable, why remote host closed session, etc.

Comment by Maros Marsalek [ 15/Jul/14 ]

https://git.opendaylight.org/gerrit/#/c/8994/

Generated at Wed Feb 07 19:53:26 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.