# Webcontrol keeps crashing

**URL:** <https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008>\
**Category:** Uncategorized\
**Created:** [August 16, 2021, 5:27am UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008 "2021-08-16T05:27:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enea](https://avatars.discourse-cdn.com/v4/letter/e/45deac/32.png) [@Enea](https://forums.maslowcnc.com/u/Enea)\
**Post date:** [August 16, 2021, 5:27am UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/1 "2021-08-16T05:27:13Z")

</div>

I’m trying to use WebControl with the PC, but losing the connection continually, it locks for a while and then returns to work. What could be the reason? Thanks.

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [August 16, 2021, 12:46pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/2 "2021-08-16T12:46:35Z")

</div>

Some have reported that some USB port hardware on windows PCs are flaky and unreliable. Others have used a shorter certified USB cable length.

---

<div class="post-metadata">

**Author:** ![Enea](https://avatars.discourse-cdn.com/v4/letter/e/45deac/32.png) [@Enea](https://forums.maslowcnc.com/u/Enea)\
**Post date:** [August 16, 2021, 6:40pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/3 "2021-08-16T18:40:34Z")

</div>

Strange because I’m using the original Maslow cable. I’ll do some tests, thank you.

---

<div class="post-metadata">

**Author:** ![jonatpridesleap](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jonatpridesleap/32/6639_2.png) [@jonatpridesleap](https://forums.maslowcnc.com/u/jonatpridesleap)\
**Post date:** [August 18, 2021, 10:45pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/4 "2021-08-18T22:45:43Z")

</div>

This is a known issues for Ground Control, and Web Control running on PC’s or on Raspberry Pi’s as a web server so you are not alone in running into this if it makes you feel any better.

In addition to what @Orob mentioned, i would recommend:

1. Use the shortest length cable possible

2. Route the cable away from any possible source of electrical noise.

3. Use a certified USB cable, preferably one with a choke.

4. Power your computer and Arduino from a separate power circuit than that of the router and/or vacuum.

---

<div class="post-metadata">

**Author:** ![Enea](https://avatars.discourse-cdn.com/v4/letter/e/45deac/32.png) [@Enea](https://forums.maslowcnc.com/u/Enea)\
**Post date:** [September 2, 2021, 4:50pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/5 "2021-09-02T16:50:02Z")

</div>

I followed your advice but it still crashes, even with the router turned off. The positive is that it does not give more errors in the movement. I have the original maslow and the upgrade M2, I would like the automatic zero for the Z axis, is it worth buying a raspberry?

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [September 2, 2021, 5:53pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/6 "2021-09-02T17:53:42Z")

</div>

I would say yes it is worth buying the raspberry especially since for both webcontrol and makerverse you can get a prebuilt image that can be downloaded and written to the SD card and then be able to plug and go with a network cable or after you set up wifi.

3B+ or 4 will work fine. That is all I use for the maslow now. No monitor on it. It acts as a server and you load the webpage from your design computer to upload gcode. Then out in the garage, I use my phone to position and then start the cut.

I found that I don’t like surprises, so the motor control board is in an easily accessible location so if things aren’t moving as I want, I can pull the power plug to the motor shield and it won’t move when I don’t want it moving. I unplug it after the cut completes, but I leave everything else on most of the time, so it is ready to go once the shield power is connected. I’m thinking I’ll put a wall light switch on the frame connected to the shield power so I don’t have to unplug it, I can just flip the switch and sled movement will stop. It won’t stop the router spinning, but the router has a power button on it and is easy to get to.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [September 2, 2021, 6:38pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/7 "2021-09-02T18:38:01Z")

</div>

one significant advantage of using a pi with webcontrol is that it lets you use  
a very short USB cable, greatly reducing the dreaded USB disconnect problem.

it’s also, by far, the most common and tested environment.

David Lang

---

<div class="post-metadata">

**Author:** ![Sirex89](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/sirex89/32/12461_2.png) [@Sirex89](https://forums.maslowcnc.com/u/Sirex89)\
**Post date:** [August 5, 2022, 12:37am UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/8 "2022-08-05T00:37:47Z")

</div>

Reviving a dead thread, mine keeps crashing on a Rpi. Have tried using a different power source. So over this this thing in general. It is a headache every time I go to use it.

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [August 5, 2022, 5:01am UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/9 "2022-08-05T05:01:18Z")

</div>

that sounds super frustrating. I just chain wrapped for the first time a couple hours ago and realized after getting it back on track the left motor chain was off one tooth for the first half of the cut…

Try deleting the log.txt file in the .Webcontrol folder because it gets too big.

---

<div class="post-metadata">

**Author:** ![jonatpridesleap](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jonatpridesleap/32/6639_2.png) [@jonatpridesleap](https://forums.maslowcnc.com/u/jonatpridesleap)\
**Post date:** [August 5, 2022, 1:32pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/10 "2022-08-05T13:32:18Z")

</div>

are you running the RPi in CLI mode or are you running it with a desktop environment?

---

<div class="post-metadata">

**Author:** ![Sirex89](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/sirex89/32/12461_2.png) [@Sirex89](https://forums.maslowcnc.com/u/Sirex89)\
**Post date:** [August 5, 2022, 9:26pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/11 "2022-08-05T21:26:53Z")

</div>

Will try

---

<div class="post-metadata">

**Author:** ![Sirex89](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/sirex89/32/12461_2.png) [@Sirex89](https://forums.maslowcnc.com/u/Sirex89)\
**Post date:** [August 5, 2022, 9:31pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/12 "2022-08-05T21:31:17Z")

</div>

@Jonat I’m logging into it from my laptop. The Pi locks up completely and has to be rebooted. There is desktop environment but have no idea how to run from there. Is it possible to buy the upgrade shield from anywhere but makermade? Im aslo having problems with sled not keeping up at the top of the board…

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [August 5, 2022, 9:57pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/13 "2022-08-05T21:57:21Z")

</div>

sled not keeping up across the top of the board usually means that your power  
supply is having trouble producing enough power, check if it’s voltage is  
dipping below 12v in the problem area.

if you can change the pi to not run the desktop environment, it will free up  
more resources for webcontrol (which pi is it?)

David Lang

---

<div class="post-metadata">

**Author:** ![Sirex89](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/sirex89/32/12461_2.png) [@Sirex89](https://forums.maslowcnc.com/u/Sirex89)\
**Post date:** [August 5, 2022, 10:03pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/14 "2022-08-05T22:03:04Z")

</div>

@dave How do I go about checking that? its a 3b if memory serves correctly. It never shows more that 35% cpu usage.

Thank you all for the responses

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [August 5, 2022, 10:30pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/15 "2022-08-05T22:30:59Z")

</div>

it’s more a matter of ram than cpu, the desktop environment eats enough ram that  
webcontrol could run the system out of memory (or into swapping, which would  
look like frozen in practice)

with a 3b this makes a lot of sense.

David Lang

---

<div class="post-metadata">

**Author:** ![Sirex89](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/sirex89/32/12461_2.png) [@Sirex89](https://forums.maslowcnc.com/u/Sirex89)\
**Post date:** [August 5, 2022, 10:54pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/16 "2022-08-05T22:54:50Z")

</div>

@ Dave How do I check Power?

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [August 5, 2022, 11:05pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/17 "2022-08-05T23:05:42Z")

</div>

a volt meter on the 12v power supply.

David Lang

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [August 5, 2022, 11:20pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/18 "2022-08-05T23:20:41Z")

</div>

If it is locking completely, mounting the sd card on a Linux machine and going into the /user/pi/.Webcontrol/ folder to delete the alog.txt and the log.txt files that are likely causing it to freeze because it has no disk swap space available will be an easier way to fix it instead of reimaging it.

---

<div class="post-metadata">

**Author:** ![jonatpridesleap](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jonatpridesleap/32/6639_2.png) [@jonatpridesleap](https://forums.maslowcnc.com/u/jonatpridesleap)\
**Post date:** [August 6, 2022, 12:48am UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/19 "2022-08-06T00:48:06Z")

</div>

With a Pi 3 there isnt a whole lot of resources available to run both web control and a desktop. I run WC on a Pi 4B - 8GB and it has a hard time running both a desktop AND the web server. Like @dlang said, its a RAM issue. Even if you are accessing WC remotely, the Pi is still running X windows and a whole host of other things that really aren’t needed for WC.

My recommendation to anyone using WC on a RasPi is when installing the pi OS, only install the light version. It’s command line only but it’s also light. The Pi can be remotely managed with an SSH client like Putty.

If you have already installed the Pi OS with desktop then you can still set the pi to boot to the command line and bypass X Windows. This should free up enough resources to keep the Pi from locking up. You can do this from the desktop on the Pi or if you can SSH into it and get to the command line you can run the Raspi configuration menu with :

`sudo raspi-config`

select the SYSTEM OPTIONS → BOOT / AUTOLOGIN → CONSOLE (either with passord or auto login) then reboot.

This will force the Pi to boot directly to the Command Line and bypass any desktop (and the underlying processes that are eating up your resources).

---

<div class="post-metadata">

**Author:** ![Sirex89](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/sirex89/32/12461_2.png) [@Sirex89](https://forums.maslowcnc.com/u/Sirex89)\
**Post date:** [August 7, 2022, 11:12pm UTC](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008/20 "2022-08-07T23:12:26Z")

</div>

Will test, thanks all

[Next page](https://forums.maslowcnc.com/t/webcontrol-keeps-crashing/17008.md?page=2)
