05-02-2022 05:20 AM
Hi Devnet team,
Thanks to the following great article, https://developer.cisco.com/codeexchange/github/repo/NSO-developer/nso-docker
i was able to deploy an instance of NSO using a docker container.
However, as soon as i expose & publish some ports i can not access NSO webui:
d64c559c9e15 cisco-nso-dev:5.5.3 "/enter-shell.sh" 9 minutes ago Up 9 minutes 0.0.0.0:222->22/tcp, 0.0.0.0:82->80/tcp, :::82->80/tcp, 0.0.0.0:4443->443/tcp, :::4443->443/tcp, 0.0.0.0:8082->8080/tcp, :::8082->8080/tcp nsojey
Can you please lead me to the correct direction ?
Thanks in advance,
Jerems,
Solved! Go to Solution.
05-02-2022 11:55 PM - edited 05-02-2022 11:56 PM
Hey.
I would troubleshoot like this:
curl -k -X GET https://localhost:443/restconf/data -H 'Accept: application/yang-data+json' -u admin:admin -v
curl -k -X GET https://localhost:4443/restconf/data -H 'Accept: application/yang-data+json' -u admin:admin -v
If 3. is fine but 4. fails then you need to have a word with whoever is doing firewalls.
05-02-2022 11:55 PM - edited 05-02-2022 11:56 PM
Hey.
I would troubleshoot like this:
curl -k -X GET https://localhost:443/restconf/data -H 'Accept: application/yang-data+json' -u admin:admin -v
curl -k -X GET https://localhost:4443/restconf/data -H 'Accept: application/yang-data+json' -u admin:admin -v
If 3. is fine but 4. fails then you need to have a word with whoever is doing firewalls.
05-03-2022 12:09 AM
Hi @u.avsec,
First of all, thank you for reverting to me. I finally found my way in this "maze" but i keep your tshoot steps for sure !
As you mentioned it, the webui is in the "false" boolean state by default. I solved my issue by putting it into "true".
Now i'm struggling with ADMIN_PASSWORD which seems to not apply the password i want to set.
I'm going to cretate another topic about what should be the step from moving to a basic development install to a docker base install of NSO.
Thank you again for your help.
Jerems
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