Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

WebRTC Visualization problem on Azure ML notebooks / Jupyter [bug]

Open Jaykob opened this issue 3 years ago • 9 comments

Checklist

My Question

Hi! I'm trying to get the draw_webrtc.py demo running on my Azure ML jupyter notebook. It's running on a compute with a GPU, so that shouldn't be the problem.

When executing your example, I get the following ouput:

Jupyter environment detected. Enabling Open3D WebVisualizer.
[Open3D INFO] WebRTC GUI backend enabled.
[Open3D INFO] WebRTCWindowSystem: HTTP handshake server disabled.
[Open3D INFO] WebRTC GUI backend enabled.
[Open3D INFO] Window window_0 created.
[Open3D INFO] EGL headless mode enabled.
[Open3D INFO] ICE servers: {"stun:stun.l.google.com:1****2", "turn:user:password@**.**.**.**:3478", "turn:user:password@**.**.**.**:3478?transport=tcp"}
[Open3D INFO] Set WEBRTC_STUN_SERVER environment variable add a customized WebRTC STUN server.
[Open3D INFO] WebRTC Jupyter handshake mode enabled.

However I don't see anything appearing in my notebook. It's the same for jupyter, jupyter lab and the Azure notebook. Sometimes I also get a

[Open3D INFO] Window window_1 created.

But again, nothing to see.

Any idea what I'm doing wrong here? Isn't it supposed to open a visualizer window inside the cell?

Jaykob avatar Feb 09 '22 15:02 Jaykob

I have the same problem and I can't resolve it

Ilyas-Malik avatar Feb 16 '22 14:02 Ilyas-Malik

Should we maybe change it to a bug then?

Jaykob avatar Feb 16 '22 14:02 Jaykob

I'm not sure it's a bug, have you tried running it locally ? It might need some complicated routage to be correctly run on the cloud

Ilyas-Malik avatar Feb 16 '22 14:02 Ilyas-Malik

I've just tried and it doesn't work locally, I think we should push it as a bug

Ilyas-Malik avatar Feb 16 '22 15:02 Ilyas-Malik

I’ll resubmit it as a bug next week, in case we don’t get an answer here.

Jaykob avatar Feb 19 '22 08:02 Jaykob

I have had this issue for a while, the jupyter interface does not render a scene it will simply hang. This also occurs locally for me.

SamTov avatar Feb 24 '22 12:02 SamTov

I have the same problem on ubuntu 20.X, but not on macOS

Mossi8 avatar Mar 21 '22 12:03 Mossi8

I am having the same issue, with the webrtc, jupyter notebook and tensorboard, when I let the code run on my remote machine. The remote workstation serves for training of deep learning models. I connect to it over ssh.

I have the feeling that it has something to do with the webrtc connection in general...

Ichigomaxi avatar Mar 21 '22 17:03 Ichigomaxi

Any update on this, I am still facing this problem on AWS instance

gsp-27 avatar Sep 01 '22 17:09 gsp-27

Any luck on this. I'm having the same problem inside my corporate LAN. I would like to know if there is a way to remove the default STUN addresses so the WebRTC connection can work locally. The following link should explain better: https://stackoverflow.com/questions/30742431/webrtc-on-isolated-lan-without-ice-stun-turn-server

tiaden avatar May 11 '23 15:05 tiaden