nerfstudio
nerfstudio copied to clipboard
Renderer Disconnected
When I paste the viewer link{https://viewer.nerf.studio/versions/23-05-15-1/?websocket_url=ws://localhost:7007} into the browser, although I can see the interface, it says "Renderer Disconnection". What should I do?
same problem
same problem
Are you running the process on a remote server? If so, have you forwarded the port?
Are you running the process on a remote server? If so, have you forwarded the port?
Hi dude, thx for your help. I forwarded the port locally with administrator privileges, and now I can see the renderer result.
How can I forward the port locally with administrator privileges? Im a noob
How can I forward the port locally with administrator privileges? Im a noob
Have you solved it? I'm on Windows, and I set the forward in the firewall, but it didn't help
Turns out I was just using Brave (the web browser) with shields up which is on by default. It worked in Firefox so I tried in Brave with shields down and it worked :)
Turns out I was just using Brave (the web browser) with shields up which is on by default. It worked in Firefox so I tried in Brave with shields down and it worked :)
That actually worked for me too!
I run the trained command on the remote server ([email protected] with port 22), then use the command "ssh -L 1127:localhost:22 [email protected]" in the command prompt of the local computer to forward the port, and then Go to the browser to visit https://viewer.nerf.studio/versions/23-05-15-1/?websocket_url=ws://localhost:7007. The result still shows Renderer Disconnected. My forwarding port command is wrong. Yet? Or have other questions?
just a reminder, as I spent a couple of minutes to figure this out: just try a different browser if you see "renderer disconnected". I tried with Safari and it didn't work. Launched Chrome and voilà!
In Safari Webconsole is a clear warning:
[blocked] The page at https://viewer.nerf.studio/versions/23-05-15-1/?websocket_url=ws://localhost:7007 was not allowed to run insecure content from ws://localhost:7007/.
@nerf.studio probably already know: this issue could be fixed by using wss:// which obviously needs a certificate. I would expect more browsers preventing an insecure websocket run from a secure http connection. I guess it would also work for http:// and ws:// or for https:// and wss://, but not for a mix of insecure and secure connections.
@TimenoLong: your port forwarding looks weird to me. You have localhost and a local IP (192.168...). As far as I know, this should be external IPs. But as I didn't get this working on my remote machine either, so I'm not really sure.
#this should get your external IP
curl https://ipinfo.io/ip
#this is what I found on docs.nerf.studio
ssh -L 7007:<training-host-ip>:7007 <username>@<training-host-ip>
check the docs at: https://docs.nerf.studio/quickstart/viewer_quickstart.html#local-vs-remote-compute
Edit: also see: https://docs.nerf.studio/developer_guides/viewer/local_viewer.html
I run the trained command on the remote server ([email protected] with port 22), then use the command "ssh -L 1127:localhost:22 [email protected]" in the command prompt of the local computer to forward the port, and then Go to the browser to visit https://viewer.nerf.studio/versions/23-05-15-1/?websocket_url=ws://localhost:7007. The result still shows Renderer Disconnected. My forwarding port command is wrong. Yet? Or have other questions?
I feel like your port forwarding is wrong it should be ssh -L 7007:
Thank you, I have successfully resolved it!
Thank you, I have successfully resolved it!
Hi, I have used ssh -L 36073:128.197.173.120:36073 [email protected] -p 22, but it still shows 'renderer disconnected'. The terminal says channel 3: open failed: connect failed: Connection refused. Have you encountered this?
Thank you, I have successfully resolved it!
Hi, I have used ssh -L 36073:128.197.173.120:36073 [email protected] -p 22, but it still shows 'renderer disconnected'. The terminal says channel 3: open failed: connect failed: Connection refused. Have you encountered this?
Hi, this could be because your remote server is a multi-node cluster and your code is running on one of the compute nodes, not the primary node. In this case, you will need to use:
ssh -L [local_port]:[compute_node_ip]:[compute_node_port] [username]@[primary_node_ip] -p [primary_node_port]
Thank you, I have successfully resolved it!
Hi, I have used ssh -L 36073:128.197.173.120:36073 [email protected] -p 22, but it still shows 'renderer disconnected'. The terminal says channel 3: open failed: connect failed: Connection refused. Have you encountered this?
Hi, this could be because your remote server is a multi-node cluster and your code is running on one of the compute nodes, not the primary node. In this case, you will need to use:
ssh -L [local_port]:[compute_node_ip]:[compute_node_port] [username]@[primary_node_ip] -p [primary_node_port]
Hello! I meet the same problem. I use ns-trian in remote server,and the viewer config is blow. I used "ssh -L 7007:127.0.0.1:7007 xxx@primary_node_ip -p primary_node_port" as you advised in cmd, but it still shows "channel 3: open failed: connect failed: Connection refused", Do you know how to solve it?