nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

Server disconnected, Render disconnected

Open protericura opened this issue 1 year ago • 6 comments

Still having this issue after updating my local repo. No images on the viewer even though it shows is training in the conda window

protericura avatar Nov 10 '22 23:11 protericura

Hi @protericura, are you running the code locally or on a remote server? Perhaps your port isn't forwarded?

ethanweber avatar Nov 11 '22 00:11 ethanweber

Is running locally, I believe is properly forwarded. Tried several times as I read some had the same issue but eventually worked out. Trying training on Instant-NGP as we speak while I figure out what happened.

protericura avatar Nov 11 '22 02:11 protericura

Any chance you have a firewall on port 7007?

tancik avatar Nov 11 '22 05:11 tancik

@tancik @ethanweber When running nerfstudio on a remote server and connecting to it using a public IP + port, wouldn't SSL configuration need to be implemented on the server side since the viewer resides at an HTTPS address? The sort of SSL configuration I am referring to is described in the Tornado documentation here: https://www.tornadoweb.org/en/stable/httpserver.html#tornado.httpserver.HTTPServer

I can confirm that port-forwarding using SSH works without any SSL configuration, but connection to the websocket fails when attempting to connect to the remote server using its public IP and (opened) port.

imilefch avatar Nov 28 '22 21:11 imilefch

I met the same problem. @imilefch Have you succeeded with public IP and port? @tancik @ethanweber Are there any other possible solutions, if my remote server does not allow to forward the port?

yezifeiafei avatar Jan 03 '23 09:01 yezifeiafei

@yezifeiafei If you are running remotely, as long as you can connect to the remote machine with SSH, you can tunnel most connections over SSH. Look up "SSH tunnelling "for more info.

As a side note, if you have the extension "HTTPS Everywhere" it will break the websocket connection by attempting to upgrade it from ws to a secure wss. However, it seems nerfstudio doesn't support the latter, and the viewer no longer works. The solution is to disable "HTTPS Everywhere" for the nerfstudio GUI website.

AndreiBarsan avatar Jan 22 '23 05:01 AndreiBarsan