I am sending the Netconf request using SnmpTransportClient as
explained in the pdf, but getting "current session has not received
hello" error message.
Request :
Sending XML request:
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:cpi="http://
www.cisco.com/cpi_10/schema" message-id="101">
<get-config>
<source>
<running />
</source>
</get-config>
</rpc>
Response :
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns:cpi="
http://www.cisco.com/cpi_10/schema" message-id="101">
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>current session has not received hello</error-
message>
</rpc-error>
</rpc-reply>