<?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: IOS-XR Programmabilty Unable to connect via gRPC in DevNet Sandbox</title>
    <link>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5230323#M10718</link>
    <description>Thanks a lot, that's right, I also have seen this while troubleshooting on client side.&lt;BR /&gt;&lt;BR /&gt;Some information I found suggests a firewall in between reset the connection which means this might have to be discussed with cisco infrastructure team but I have never seen a complete thread so far, so useful information is very limited.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 29 Nov 2024 01:14:16 GMT</pubDate>
    <dc:creator>kchen-sl</dc:creator>
    <dc:date>2024-11-29T01:14:16Z</dc:date>
    <item>
      <title>IOS-XR Programmabilty Unable to connect via gRPC</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5229855#M10709</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I created an instance IOS XR Programmabilty AlwaysOn-20241126T10472886 in the DevNet self-service lab, always on.&lt;/P&gt;&lt;P&gt;IOS XRv 9000 host SSH port NETCONF port XR bash port gRPC port username password&lt;BR /&gt;sandbox-iosxr-1.cisco.com 22 830 57722 57777 admin C1sco12345&lt;/P&gt;&lt;P&gt;I can use ssh to access, and nc -z 57777 to test the gRPC port is also successful.&lt;/P&gt;&lt;P&gt;but using the example at &lt;A href="https://github.com/bigevilbeard/grpc_xr_example" target="_blank" rel="noopener"&gt;https://github.com/bigevilbeard/grpc_xr_example&lt;/A&gt;, it's always timeout.&lt;/P&gt;&lt;P&gt;python examples/grpc_example.py&lt;BR /&gt;----------&lt;BR /&gt;ExpirationError(code=StatusCode.DEADLINE_EXCEEDED, details="Deadline Exceeded")&lt;BR /&gt;Unable to connect to Sandbox, check your gRPC destination and configuration.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i have checked the config on the device, gRPC config is as recommended.&lt;/P&gt;&lt;P&gt;grpc&lt;BR /&gt;port 57777&lt;BR /&gt;no-tls&lt;BR /&gt;address-family ipv4&lt;BR /&gt;!&lt;/P&gt;&lt;P&gt;Could someone please assist, I haven't been able to find any relevant questions in the community in this regard.&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;BR /&gt;Kevin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-11-27 11-17-35.jpg" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/234697iB2AFB6F85AE54A84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-11-27 11-17-35.jpg" alt="Screenshot from 2024-11-27 11-17-35.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-11-27 11-23-16.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/234698i9BB505BCBFFFA0AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-11-27 11-23-16.jpeg" alt="Screenshot from 2024-11-27 11-23-16.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 01:44:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5229855#M10709</guid>
      <dc:creator>kchen-sl</dc:creator>
      <dc:date>2024-11-28T01:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: IOS-XR Programmabilty Unable to connect via gRPC</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5230099#M10713</link>
      <description>&lt;P&gt;I tested and got the same error as you. So I increased the timeout and got a different error.&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;❯ gnmic -a sandbox-iosxr-1.cisco.com:57777 -u admin -p C1sco12345 --insecure capabilities --timeout 70s
target "sandbox-iosxr-1.cisco.com:57777", capabilities request failed: "sandbox-iosxr-1.cisco.com:57777" CapabilitiesRequest failed: rpc error: code = Unavailable desc = connection error: desc = "error reading server preface: read tcp 10.209.204.202:59538-&amp;gt;131.226.217.150:57777: use of closed network connection"
Error: one or more requests failed&lt;/LI-CODE&gt;
&lt;P&gt;Reviewing the traces, I can see the error&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;RP/0/RP0/CPU0:sandbox-iosxr-1.cisco.com(config-grpc)#do show grpc trace all reverse | i err
Nov 28 14:06:02.334 ems/errors 0/RP0/CPU0 t9019 EMS-ERR: Accept:259 Accept failed (accept tcp4 0.0.0.0:57777: use of closed network connection)
Nov 28 13:52:30.647 ems/errors 0/RP0/CPU0 t9076 EMS-ERR: Accept:259 Accept failed (accept tcp4 0.0.0.0:57777: use of closed network connection)
Nov 28 13:45:30.176 ems/errors 0/RP0/CPU0 t9019 EMS-ERR: Accept:259 Accept failed (accept tcp4 0.0.0.0:57777: use of closed network connection)&lt;/LI-CODE&gt;
&lt;P&gt;Unfortunately, removing gRPC, trying different configuration options don't appear to fix it. I'm not sure where the error is, but will keep trying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 13:41:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5230099#M10713</guid>
      <dc:creator>Jesus Illescas</dc:creator>
      <dc:date>2024-11-28T13:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: IOS-XR Programmabilty Unable to connect via gRPC</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5230323#M10718</link>
      <description>Thanks a lot, that's right, I also have seen this while troubleshooting on client side.&lt;BR /&gt;&lt;BR /&gt;Some information I found suggests a firewall in between reset the connection which means this might have to be discussed with cisco infrastructure team but I have never seen a complete thread so far, so useful information is very limited.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Nov 2024 01:14:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5230323#M10718</guid>
      <dc:creator>kchen-sl</dc:creator>
      <dc:date>2024-11-29T01:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: IOS-XR Programmabilty Unable to connect via gRPC</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5231080#M10731</link>
      <description>&lt;P&gt;hi Jesús, i just tried again today, and magically, it's working fine now.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-12-02 10-48-56.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/234898i8D9BD366CBCE51E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-12-02 10-48-56.png" alt="Screenshot from 2024-12-02 10-48-56.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 00:50:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5231080#M10731</guid>
      <dc:creator>kchen-sl</dc:creator>
      <dc:date>2024-12-02T00:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: IOS-XR Programmabilty Unable to connect via gRPC</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5231184#M10735</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1816801"&gt;@kchen-sl&lt;/a&gt; indeed, is working now. Strange. From my side I didn't change anything and I don't see something relevant in the logs. I guess we will keep an eye on it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 07:30:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/ios-xr-programmabilty-unable-to-connect-via-grpc/m-p/5231184#M10735</guid>
      <dc:creator>Jesus Illescas</dc:creator>
      <dc:date>2024-12-02T07:30:12Z</dc:date>
    </item>
  </channel>
</rss>

