01-26-2023 03:42 AM
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 ?
01-26-2023 07:17 AM
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.
02-23-2023 11:41 AM
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!
03-28-2023 11:28 PM
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)
03-29-2023 01:41 PM
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.
03-29-2023 07:28 PM
hi, client os win 11 22h2 (22621.1413), yangsuite deploy on ubuntu 22.04.2 LTS
03-29-2023 07:38 PM
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
03-30-2023 04:11 PM
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
Don't use the IOS XE sandboxes on DevNet to pull the modules because they are not fully online right now 3/30/23.
03-30-2023 10:12 PM - edited 03-30-2023 10:13 PM
hi,i can manager the modules too. the error occor when i try to explore,.
the device is a 9800-40 wlc run with 17.6.4.Physical device
03-31-2023 08:00 AM
Hi @senzhiwang73998,
I added the IOS-XE-ethernet module but can't explore it. Here is the reason:
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.
03-31-2023 06:23 PM
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..
04-03-2023 06:44 AM
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
04-03-2023 07:20 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide