OpenTeleVision / TeleVision

Open-TeleVision: Teleoperation with Immersive Active Visual Feedback
https://robot-tv.github.io/
Other
531 stars 45 forks source link

Ngrok Streaming issue #10

Open aadhithya-fauna opened 1 month ago

aadhithya-fauna commented 1 month ago

Hi, nice work. I have been recently trying to use the setup on a Meta Quest 3. As certificate installation does not seem trivial I was using the Network Streaming approach. I have ngrok installed and I ran the commands. I also pasted the https command inside the quest3 browser. But my service is not started as I get a connection refused error and in the terminal I have a 502 bad gateway. I have attached the screenshot below. I am also running the localhost network connection at http://localnet:8012. Any help would be grateful. Screenshot from 2024-07-09 11-21-55

chengxuxin commented 1 month ago

Have you tested locally at http://127.0.0.1:8012? This does not require ngrok or mkcert. Also have you started your service such as python teleop_cam.py?

aadhithya-fauna commented 1 month ago

Yes I started the sim service python teleop_hand.py. And also yes I tried to test it locally as well. But even when I start it locally it does not show up. It shows site cannot be reached. Is there a necessity that both VR and machine needs to be on the same network ?

aadhithya-fauna commented 1 month ago

Do you have any other suggestions to resolve this issue?

chengxuxin commented 1 month ago

Is there a necessity that both VR and machine needs to be on the same network ?

If you use ngrok no, because ngrok will give you an https address that is on public internet. If you use local streaming then yes. And you should test https://127.0.0.1:8012 on the exact machine you run teleop.py.