cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2165
Views
10
Helpful
12
Replies

Yangsuit-Can't 'Load modules' Error 500

saumya003
Level 1
Level 1

I have installed YangSuit (using pip) from github - https://github.com/CiscoDevNet/yangsuite

But, I can't 'Load modules' Error 500 (Input/Output error). Also, I am getting only one option in protocols i.e. NETCONF.

What am i doing wrong? Any help please regarding these 2 problems ? 

12 Replies 12

See the following big here and workaround https://github.com/CiscoDevNet/yangsuite/issues/30 - you might not be seeing RESTCONF, check if this is enabled on your device(s)

 

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

jcohoe
Cisco Employee
Cisco Employee

You need to install the restconf plugin, pip install yangsuite-restconf.

Share the log from the 500 error, what plugin are you using, what workflow is causing the error? Please make sure to use latest versions too!

senzhiwang73998
Level 1
Level 1

 

i have this problem too,yangsuite docker setup today,and the restconf test in device profile successed。

nginx_1 | 192.168.18.215 - - [29/Mar/2023:06:18:05 +0000] "POST /yangtree/gettree/ HTTP/2.0" 500 2 "https://192.168.100.52:8443/yangtree/explore/netadmin+9800wlc-default-yangset/openconfig-interfaces" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
yangsuite_1 | [pid: 44|app: 0|req: 93/489] 192.168.18.215 () {64 vars in 1542 bytes} [Wed Mar 29 06:18:04 2023] POST /yangtree/gettree/ => generated 2 bytes in 361 msecs (HTTP/2.0 500) 4 headers in 218 bytes (1 switches on core 0)

 

Hi @senzhiwang73998 can you please which version of Windows are using? Your error states "Windows NT 10" but I'm guessing that just means Windows 10.

hi, client os win 11 22h2 (22621.1413), yangsuite deploy on ubuntu 22.04.2 LTS

macos ventura 13.2.1 with safari also get ERROR 500. device is WLC 9800-40 (17.6.4) ,SETUP is ok,but got this error when i try to explore yang modules

Hi @senzhiwang73998,

I just did a fresh install of YANG Suite on my Mac OS Ventura 13.2.1 from Docker following these instructions and this video

Modules added to repo and copied to set without issue

AlexStevenson_0-1680217637618.png

 

AlexStevenson_1-1680217754674.png

Don't use the IOS XE sandboxes on DevNet to pull the modules because they are not fully online right now 3/30/23.

 

 

 

hi,i can manager the modules too. the error occor when i try to explore,.

senzhiwang73998_0-1680239363399.pngsenzhiwang73998_1-1680239396343.pngsenzhiwang73998_2-1680239421606.png

senzhiwang73998_3-1680239453648.png

the device is a 9800-40 wlc run with 17.6.4.Physical device

Hi @senzhiwang73998,

I added the IOS-XE-ethernet module but can't explore it. Here is the reason:

 

AlexStevenson_0-1680274491167.png

 

I tried to load the other schema you showed, the IOS XE wireless, but I don't have that module available for the IOS XE I have access to so I can't try it but I can explore other modules.

 

AlexStevenson_1-1680274776524.png

 

 

senzhiwang73998
Level 1
Level 1

senzhiwang73998_0-1680311948287.png

try the same module as your tested,also return 500.

and i have try some other module,they are all return error 500.

havent seen anything but error 500..

 

Hi @senzhiwang73998 ,

Hmmm. You said you installed with Docker. Have you tried to install with Pip instead?

https://github.com/CiscoDevNet/yangsuite#user-content-quick-start-with-pip-install-on-macos

 

hi, i have yangsuite deploy on ubuntu 20.04, so using the docker deploy,

ok,as your suggest,i will try to install with pip on ubuntu.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: