You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is that the server will not be using framing if the client does not state that it is supported. Line 138 uses this flag to handle chunking with the framing protocol, though the server correctly responds without framing.
I spotted the same problem and made the same fix in a local copy before spotting this issue (and #405) and I also changed the line that sets the _usingFramingProtocol property in the NetConfSession class to set it only if both the server AND the client report the :netconf:base:1.1 capability (as per RFC6241 section 8.1).
I also note that there should be some extra code to make the NetConfSession class more compliant with RFC6241 - e.g. if it receives a <hello> from the server with no session-id then the session should be terminated straight away.
Activity
harveechen commentedon Mar 20, 2018
Yes, I also find this. Wish to update it.
Hevace commentedon Apr 3, 2018
Thank you @kennedyjd this resolved my problem as well.
mpenrico-polatis commentedon Oct 25, 2018
I spotted the same problem and made the same fix in a local copy before spotting this issue (and #405) and I also changed the line that sets the _usingFramingProtocol property in the NetConfSession class to set it only if both the server AND the client report the :netconf:base:1.1 capability (as per RFC6241 section 8.1).
I also note that there should be some extra code to make the NetConfSession class more compliant with RFC6241 - e.g. if it receives a <hello> from the server with no session-id then the session should be terminated straight away.
Michael.