[NETCONF-1175] TCP session is hanging when NETCONF session is dead Created: 03/Oct/23  Updated: 01/Nov/23  Resolved: 01/Nov/23

Status: Resolved
Project: netconf
Component/s: netconf-client-mdsal
Affects Version/s: 5.0.7, 6.0.4
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Martin Sunal Assignee: Martin Sunal
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates NETCONF-966 Long delay in connection status updat... Resolved

 Description   

TCP session is hanging even when NETCONF keeplive did not get reply.

 

Steps to reproduce:

  1. start ODL + start testtool
  2. mount testtool to ODL (keepalive-delay=5s, default-request-timeout-millis=3000)
  3. wait until connection-status is connected
  4. block packets on testtool going from ODL to testtool `iptables -I INPUT -p tcp --dport 17830 -j DROP`
  5. in worst case connection should be closed after 8s (5s + 3000ms) because keepalive does not get reply. However, keepalive is sent, nothing happens and connection-status is still "connected"


 Comments   
Comment by Sangwook Ha [ 01/Nov/23 ]

Pretty much the same issue reported in NETCONF-966.

Comment by Martin Sunal [ 01/Nov/23 ]

Indeed, seems to be the same root cause. I linked the issues together.

Generated at Wed Feb 07 20:16:51 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.