nerfstudio-project / nerfstudio

A collaboration friendly studio for NeRFs
https://docs.nerf.studio
Apache License 2.0
9.52k stars 1.3k forks source link

cant connect to https://viewer.nerf.studio/ #3300

Open DrAwkward33 opened 4 months ago

DrAwkward33 commented 4 months ago

Attemping to use the websocket viewer throws and error and fails to display:

(viser) Connection opened (434, 418 total), 148 persistent messages connection handler failed Traceback (most recent call last): File "C:\Users\dsheremet\AppData\Local\anaconda3\envs\nerfstudio\lib\site-packages\websockets\legacy\server.py", line 236, in handler await self.ws_handler(self) File "C:\Users\dsheremet\AppData\Local\anaconda3\envs\nerfstudio\lib\site-packages\viser\infra\_infra.py", line 327, in serve await asyncio.gather( File "C:\Users\dsheremet\AppData\Local\anaconda3\envs\nerfstudio\lib\site-packages\viser\infra\_infra.py", line 475, in _message_consumer message = message_class.deserialize(raw) File "C:\Users\dsheremet\AppData\Local\anaconda3\envs\nerfstudio\lib\site-packages\viser\infra\_messages.py", line 137, in deserialize message_type = cls._subclass_from_type_string()[cast(str, mapping.pop("type"))] KeyError: 'CameraMessage'

bigcomma commented 3 months ago

sam Error: (viser) Connection opened (39, 40 total), 267 persistent messages connection handler failed Traceback (most recent call last): File "C:\Users\user.conda\envs\nerfstudio\lib\site-packages\websockets\legacy\server.py", line 236, in handler await self.ws_handler(self) File "C:\Users\user.conda\envs\nerfstudio\lib\site-packages\viser\infra_infra.py", line 327, in serve await asyncio.gather( File "C:\Users\user.conda\envs\nerfstudio\lib\site-packages\viser\infra_infra.py", line 475, in _message_consumer message = message_class.deserialize(raw) File "C:\Users\user.conda\envs\nerfstudio\lib\site-packages\viser\infra_messages.py", line 137, in deserialize message_type = cls._subclass_from_type_string()[cast(str, mapping.pop("type"))] KeyError: 'CameraMessage'

brentyi commented 3 months ago

Hello! Can you see if https://github.com/nerfstudio-project/nerfstudio/issues/2972 or https://github.com/nerfstudio-project/viser/issues/148 help?

bsjj777 commented 2 months ago

Hello! Can you see if #2972 or nerfstudio-project/viser#148 help?

I've tried all the methods mentioned in the link you provided, but none of them worked.

  1. Directly accessing http://localhost:7007/
  2. Removing plugins like Tampermonkey Is there any other solution? I would appreciate your help.
PeetKiattisak commented 1 month ago

just got the same error.did you get any solution?

yydslc commented 1 month ago

+1