<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Trying to execute hello world sample app but getting error RuntimeError: YCPPClientError in Tools</title>
    <link>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463896#M1649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Einar, will upgrade and check once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2017 07:45:12 GMT</pubDate>
    <dc:creator>nairroshan</dc:creator>
    <dc:date>2017-08-28T07:45:12Z</dc:date>
    <item>
      <title>Trying to execute hello world sample app but getting error RuntimeError: YCPPClientError</title>
      <link>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463892#M1645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I installed libydk and related ietf/openconfig/cisco* packages for ydk-py. When I run the hello world app I get the below error. Any probable issues I can debug ? I am using a cisco switch on GNS3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-ThinkCentre-M92p:$ python hello.py &lt;/P&gt;&lt;P&gt;BEFORE&amp;nbsp; Provider&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "hello.py", line 13, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; provider = NetconfServiceProvider(address="10.138.77.124", port=830, username="test", password="test123", protocol="ssh") &lt;/P&gt;&lt;P&gt;RuntimeError: YCPPClientError: Could not connect to 10.138.77.124&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 11:46:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463892#M1645</guid>
      <dc:creator>nairroshan</dc:creator>
      <dc:date>2017-08-24T11:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to execute hello world sample app but getting error RuntimeError: YCPPClientError</title>
      <link>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463893#M1646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the port 830 the correct port for your device?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 18:21:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463893#M1646</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2017-08-24T18:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to execute hello world sample app but getting error RuntimeError: YCPPClientError</title>
      <link>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463894#M1647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Cisco 7200 on GNS3 with IoS 15.2. I am assuming the default port used for Netconf is 830 since I couldnt find any config command to change the Netconf port. When I connect to netconf using the command "ssh -v&amp;nbsp; -s test@10.138.77.179 netconf" it works fine but returns connection refused error when I use "-p 830" option as part of the ssh command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway I can find the port number being used by&amp;nbsp; Netconf on Cisco switch ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Roshan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 04:28:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463894#M1647</guid>
      <dc:creator>nairroshan</dc:creator>
      <dc:date>2017-08-28T04:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to execute hello world sample app but getting error RuntimeError: YCPPClientError</title>
      <link>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463895#M1648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Cisco 7200 only supports at best legacy Netconf (RFC 4741-compliant), but the YDK is for RFC6241+RFC6020-compliant devices only. For IOS, this means IOS-XE 16.3.1 or later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Einar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 07:21:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463895#M1648</guid>
      <dc:creator>einarnn</dc:creator>
      <dc:date>2017-08-28T07:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to execute hello world sample app but getting error RuntimeError: YCPPClientError</title>
      <link>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463896#M1649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Einar, will upgrade and check once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 07:45:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/3463896#M1649</guid>
      <dc:creator>nairroshan</dc:creator>
      <dc:date>2017-08-28T07:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to execute hello world sample app but getting error RuntimeError: YCPPClientError</title>
      <link>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/4161179#M1650</link>
      <description>&lt;P&gt;Hi , i have IOS-XE 16.8.1a but still facing this issue. Can you please help ?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 06:35:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/4161179#M1650</guid>
      <dc:creator>mervinh16</dc:creator>
      <dc:date>2020-10-04T06:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to execute hello world sample app but getting error RuntimeError: YCPPClientError</title>
      <link>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/4161276#M1651</link>
      <description>&lt;P&gt;Could you please be more specific and post your test environment, script and YDK log with enabled DEBUG level.&lt;/P&gt;&lt;P&gt;Were you able connect to the Netconf server from CLI? The command is:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;$ ssh &amp;lt;uname&amp;gt;@&amp;lt;IP-address&amp;gt; -p 830 -v -s netconf&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I also would suggest to open new discussian thread as YDK changed a lot since 2017 and some SSH issues have already been addressed.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 18:36:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/trying-to-execute-hello-world-sample-app-but-getting-error/m-p/4161276#M1651</guid>
      <dc:creator>yangorelik</dc:creator>
      <dc:date>2020-10-04T18:36:26Z</dc:date>
    </item>
  </channel>
</rss>

