Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen after some time in VR #22

Open
antonioarbues opened this issue Aug 5, 2024 · 1 comment
Open

Black screen after some time in VR #22

antonioarbues opened this issue Aug 5, 2024 · 1 comment

Comments

@antonioarbues
Copy link

antonioarbues commented Aug 5, 2024

Hi,

I'm having a very weird issue: the app works perfectly in the browser (both on laptop and on Meta Quest 2 browser) but once i start VR mode, the streaming starts and it's good for ~30 seconds and then I get a black screen (which doesn't recover). Any idea on what can be?

Here's the trace appearing in the terminal

[teleop_local-16] Task exception was never retrieved
[teleop_local-16] future: <Task finished name='Task-45' coro=<Vuer.downlink.<locals>.handler() done, defined at /home/antonio/.local/lib/python3.10/site-packages/vuer/server.py:596> exception=AssertionError('Websocket session is missing.')>
[teleop_local-16] Traceback (most recent call last):
[teleop_local-16]   File "/home/antonio/.local/lib/python3.10/site-packages/vuer/server.py", line 602, in handler
[teleop_local-16]     raise e
[teleop_local-16]   File "/home/antonio/.local/lib/python3.10/site-packages/vuer/server.py", line 598, in handler
[teleop_local-16]     await self.socket_handler(vuer_proxy)
[teleop_local-16]   File "/home/antonio/loki/brain/install/realsense_vr/lib/python3.10/site-packages/realsense_vr/teleop_local.py", line 84, in main_image
[teleop_local-16]     session.upsert(
[teleop_local-16]   File "/home/antonio/.local/lib/python3.10/site-packages/vuer/server.py", line 49, in __call__
[teleop_local-16]     return self.fn(*args, **kwargs)
[teleop_local-16]   File "/home/antonio/.local/lib/python3.10/site-packages/vuer/server.py", line 203, in _upsert
[teleop_local-16]     self @ Upsert(*element, to=to, strict=strict)
[teleop_local-16]   File "/home/antonio/.local/lib/python3.10/site-packages/vuer/server.py", line 95, in __matmul__
[teleop_local-16]     assert self.CURRENT_WS_ID in self.vuer.ws, "Websocket session is missing."
[teleop_local-16] AssertionError: Websocket session is missing.
@antonioarbues
Copy link
Author

Solution: the error appears if you don't have an internet connection (i was on a local network).

Keeping the issue open as I don't know if this is intended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant