https://kedro.org/ logo
#questions
Title
# questions
s

Sidharth Jahagirdar

01/10/2023, 8:53 PM
Hey team, I am trying to view the kedro viz for my pipeline. Kedro and code is present on a different cluster. How do I view the viz from my local machine. I am able to get the JSON, anything I can do to visualize it.
d

Deepyaman Datta

01/10/2023, 8:55 PM
kedro viz --load-file my_shareable_pipeline.json
s

Sidharth Jahagirdar

01/10/2023, 8:55 PM
doesn't seem to be working, it's a pointing to a port which is refusing connection!
d

Deepyaman Datta

01/10/2023, 8:57 PM
Can you share the resulting error message?
s

Sidharth Jahagirdar

01/10/2023, 8:58 PM
Sure! It literally says "This site can't" be reached. 127.0.0.1 refused to connect.
d

Deepyaman Datta

01/10/2023, 9:08 PM
Can you share the message from the terminal, where you ran Viz
Wait, are you running Viz on a remote machine/cluster and trying to access it from your laptop?
s

Sidharth Jahagirdar

01/10/2023, 9:10 PM
No kedro viz is isntalled on cluster
trying to run from remote machine.
The problem is the clusters local host, cant be accessed from my remote machine!
d

Deepyaman Datta

01/10/2023, 9:11 PM
Yeah, that's to be expected. Localhost is a special address only accessible from that machine.
If you have the pipeline JSON, you can transfer it to your machine and visualize the pipeline
Alternatively, you can host Kedro-Viz on the remote machine and forward ports, etc. to make it accessible from other machines
s

Sidharth Jahagirdar

01/10/2023, 9:15 PM
sure! how do I visualize the json file?
d

Deepyaman Datta

01/10/2023, 9:15 PM
Using the command I shared up top, running kedro-viz on your local machine and with the JSON file also accessible from your machine
6 Views