nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

Unable to load viewer: the page was not allowed to run insecure content from ws://localhost:7007/

Open ryansburgoyne opened this issue 2 years ago • 0 comments

I have been unable to load the viewer. I have successfully forwarded port 7007 from my remote training machine, but when I try to load the viewer URL, I get these warnings in Safari:

[Warning] [blocked] The page at https://viewer.nerf.studio/versions/22-12-16-0/?websocket_url=ws://localhost:7007 was not allowed to run insecure content from ws://localhost:7007/. (main.c5787c49.js, line 2)
[Error] Socket encountered error:  – undefined – "Closing socket"
	(anonymous function) (main.c5787c49.js:2:1016485)
[Error] WebSocket connection failed: WebSocket is closed before the connection is established.
	(anonymous function) (main.c5787c49.js:2:1016550)

In Brave (Chromium-based), I just get this:

WebSocket.jsx:27 WebSocket connection to 'ws://localhost:7007/' failed: 
(anonymous) @ WebSocket.jsx:27
WebSocket.jsx:50 Socket encountered error:  undefined Closing socket
a.onerror @ WebSocket.jsx:50
error (async)
(anonymous) @ WebSocket.jsx:49

I verified that I am forwarding the port, because when the port is forwarded I can navigate to localhost:7007 and get a warning about upgrading to WebSocket, but when I disable forwarding, I just get an error about the server being unavailable.

ryansburgoyne avatar Dec 30 '22 22:12 ryansburgoyne