# Web Teleop demo gets stuck loading

**URL:** <https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112>\
**Category:** Ask\
**Created:** [September 25, 2024, 4:41pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112 "2024-09-25T16:41:22Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![kallet](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kallet](https://forum.hello-robot.com/u/kallet)\
**Post date:** [September 25, 2024, 4:41pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/1 "2024-09-25T16:41:22Z")

</div>

Hello, we followed instructions of Demo 2 - Web Teleop on Stretch 3.  
After launch\_interface.sh output is as expected, but neither localhost either remote operator over Moonlight in the same network are not launching the application, there is just continuously spinning wheel “Loading…”.  
Camera feed is running well, stretch\_camera\_streams\_check.py is opening multiple camera views (although moving buttons do not react, zooming of main camera view is possible).  
What are we missing? Thanks!  
 ![Stretch3 Teleop attempt](https://canada1.discourse-cdn.com/flex030/uploads/hello_robot2/original/1X/34826b925d34fae5d559a0a78a5244735de90b35.jpeg)

---

<div class="post-metadata">

**Author:** ![hello-vinitha](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/hello-vinitha/32/807_2.png) [@hello-vinitha](https://forum.hello-robot.com/u/hello-vinitha)\
**Post date:** [September 25, 2024, 5:23pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/2 "2024-09-25T17:23:40Z")

</div>

Hi Kalle,

Can you right-click on the webpage and click Inspect and share what is being outputted in the console. Thanks!

---

<div class="post-metadata">

**Author:** ![kallet](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kallet](https://forum.hello-robot.com/u/kallet)\
**Post date:** [September 26, 2024, 8:48am UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/3 "2024-09-26T08:48:48Z")

</div>

![Stretc3 teleop stuck inspect](https://canada1.discourse-cdn.com/flex030/uploads/hello_robot2/original/1X/4f1391702fa4ee150d2c2e3f8bd8b802aa0d126a.jpeg)  
Sure, if it only does help… 🙂

---

<div class="post-metadata">

**Author:** ![hello-vinitha](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/hello-vinitha/32/807_2.png) [@hello-vinitha](https://forum.hello-robot.com/u/hello-vinitha)\
**Post date:** [September 26, 2024, 3:03pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/4 "2024-09-26T15:03:05Z")

</div>

Can you click “Console”? It’s next to Inspector in the top left.

---

<div class="post-metadata">

**Author:** ![kallet](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kallet](https://forum.hello-robot.com/u/kallet)\
**Post date:** [September 30, 2024, 6:37am UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/5 "2024-09-30T06:37:04Z")

</div>

Right note! Will click there next time. 🙂  
In meantime we have another major problem to solve - vertical-horizontal movement system is out. During calibration, Strech is testing different hand movement nodes, yaw and grabbing are still animated, but other motors do not get power. Cameras are OK, this demo is running but that’s all we can reach now. It is a warranty case.

---

<div class="post-metadata">

**Author:** ![bshah](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/bshah/32/55_2.png) [@bshah](https://forum.hello-robot.com/u/bshah)\
**Post date:** [September 30, 2024, 5:22pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/6 "2024-09-30T17:22:58Z")

</div>

Hi @kallet, would you send us an email at [support@hello-robot.com](mailto:support@hello-robot.com)? We should be able to figure out what’s happening with the arm/lift motors and resolve the issue.

---

<div class="post-metadata">

**Author:** ![kallet](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kallet](https://forum.hello-robot.com/u/kallet)\
**Post date:** [October 1, 2024, 12:33pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/7 "2024-10-01T12:33:19Z")

</div>

Hi @bshah, we have contacted (Visaacan Rathiraj) and found, thanks to good guidance, a faulty connector cable between head and base or faulty connector on Base PCB. Currently Stretch is booting and is working but probably only partially.  
Still, it was possible to launch teleop demo and see the Console message. Does it help now?

 ![IMG_4687](https://canada1.discourse-cdn.com/flex030/uploads/hello_robot2/original/1X/99da7e62a5a52c4c16c77091a60ecb2e73217c7d.jpeg)

---

<div class="post-metadata">

**Author:** ![bshah](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/bshah/32/55_2.png) [@bshah](https://forum.hello-robot.com/u/bshah)\
**Post date:** [October 1, 2024, 2:47pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/8 "2024-10-01T14:47:53Z")

</div>

Glad to hear it @kallet, Visaacan should be able to help resolve the cable issue.

In the meantime, the Console logs seems to indicate an issue on the robot-side of the demo. @hello-vinitha will be able to provide guidance on how to collect robot-side logs.

---

<div class="post-metadata">

**Author:** ![hello-vinitha](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/hello-vinitha/32/807_2.png) [@hello-vinitha](https://forum.hello-robot.com/u/hello-vinitha)\
**Post date:** [October 2, 2024, 5:18pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/9 "2024-10-02T17:18:40Z")

</div>

Hi @kallet , thanks for sharing the console logs! Just to confirm I understood you correctly, you were previously able to open the interface (2 days ago), see the camera views but were not able to control robot?

In the meantime, let’s run the interface launch commands manually and collect some logs.

Terminal 1:  
`ros2 launch stretch_web_teleop web_interface.launch.py >> log.txt`.

Terminal 2:

```auto
cd ~/ament_ws/src/stretch_web_teleop/
./start_web_server_and_robot_browser.sh

```

Go ahead and open the interface as you normally do. You will see the same behavior where it will load indefinitely. `CTRL+C` in terminal 1 and run `pm2 kill` in terminal 2. There will be a file called `log.txt` in the directory you ran the command in terminal 1. Please share it here so I can make sure the background processes are running correctly. Thanks!

---

<div class="post-metadata">

**Author:** ![kallet](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kallet](https://forum.hello-robot.com/u/kallet)\
**Post date:** [October 11, 2024, 6:48am UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/10 "2024-10-11T06:48:16Z")

</div>

Hello,  
the log.txt file appeared short:  
[INFO] [launch]: All log files can be found below /home/hello-robot/.ros/log/2024-10-10-23-41-44-574328-stretch-se3-3071-4823  
[INFO] [launch]: Default logging verbosity is set to INFO  
[ERROR] [launch]: Caught exception in launch (see debug for traceback): Caught multiple exceptions when trying to load file of format [py]:

- FileNotFoundError: Could not find the specialized URDF, which is required for move-to-pregrasp, at /home/hello-robot/ament\_ws/install/stretch\_web\_teleop/share/stretch\_web\_teleop/urdf/stretch\_base\_rotation\_ik.urdf. Run the following:
  1. `colcon_cd stretch_web_teleop`
  2. `python3 prepare_specialized_urdf.py`
  3. `cd ~/ament_ws`
  4. `colcon build`

- InvalidFrontendLaunchFileError: The launch file may have a syntax error, or its format is unknown

* * *

Should I follow suggestions there?  
K.

---

<div class="post-metadata">

**Author:** ![hello-vinitha](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/hello-vinitha/32/807_2.png) [@hello-vinitha](https://forum.hello-robot.com/u/hello-vinitha)\
**Post date:** [October 11, 2024, 12:29pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/11 "2024-10-11T12:29:21Z")

</div>

Yes, please run those 4 lines.

---

<div class="post-metadata">

**Author:** ![bshah](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/bshah/32/55_2.png) [@bshah](https://forum.hello-robot.com/u/bshah)\
**Post date:** [October 11, 2024, 1:19pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/12 "2024-10-11T13:19:58Z")

</div>

@here, after the “generate URDFs on-the-fly” feature is merged (PR: [Generate IK URDF on-the-fly by hello-binit · Pull Request #108 · hello-robot/stretch\_web\_teleop · GitHub](https://github.com/hello-robot/stretch_web_teleop/pull/108)), you won’t need those 4 steps anymore. And web teleop won’t be secretly failing to start because it needs those 4 steps to generate a cached URDF. I’ll have more details shortly, but in the future, [updating your ROS workspace](https://docs.hello-robot.com/0.3/installation/ros_workspace/) should suffice to solve this issue.

---

<div class="post-metadata">

**Author:** ![kallet](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kallet](https://forum.hello-robot.com/u/kallet)\
**Post date:** [October 14, 2024, 3:02pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/13 "2024-10-14T15:02:50Z")

</div>

Hello!  
Thanks, those four steps solved the issue, teleop demo is up and steadily so far.  
We have not done updates suggested by @bshah yet, it’s next step.  
Eventually, we are at the very beginning 🙂 and can start with more serious experiments.

---

<div class="post-metadata">

**Author:** ![hello-vinitha](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/hello-vinitha/32/807_2.png) [@hello-vinitha](https://forum.hello-robot.com/u/hello-vinitha)\
**Post date:** [October 14, 2024, 3:20pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/14 "2024-10-14T15:20:52Z")

</div>

Glad to hear it! I’m working on testing and merging Binit’s PR this week. I will let you know when it’s ready to try.

---

<div class="post-metadata">

**Author:** ![bshah](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/bshah/32/55_2.png) [@bshah](https://forum.hello-robot.com/u/bshah)\
**Post date:** [October 30, 2024, 6:19pm UTC](https://forum.hello-robot.com/t/web-teleop-demo-gets-stuck-loading/1112/15 "2024-10-30T18:19:56Z")

</div>

@kallet For future reference, the update has been released. You can simply [update your ROS workspace](https://docs.hello-robot.com/0.3/installation/ros_workspace/). The 4 commands above are no longer needed.
