# WebControl losing connection

**URL:** <https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647>\
**Category:** Troubleshooting\
**Created:** [May 16, 2021, 8:24pm UTC](https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647 "2021-05-16T20:24:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pustin\_r](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/pustin_r/32/20094_2.png) [@pustin\_r](https://forums.maslowcnc.com/u/pustin_r)\
**Post date:** [May 16, 2021, 8:24pm UTC](https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647/1 "2021-05-16T20:24:13Z")

</div>

I can get the webcontrol to connect to the com and everything but after a few seconds it throws an alarm saying Connection failed or Invalid firmware  
Then reconnects and throws the same error

I searched the forum tried all the suggestions but still can get it to go away

I can connect and do everything in makerverse with no issues

Thanks

I’m connected!  
Sending Board Data  
Sent Board Data  
Sending Board Cut Data compressed  
Sent Board Cut Data compressed  
Error checking pyrelease: could not convert string to float: ‘2020-05-26-2021’  
None  
Connection Timed Out  
Trying to connect to controller on COM3

Connected on port COM3

Connection Timed Out  
Trying to connect to controller on COM3

Connected on port COM3

---

<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:** [May 18, 2021, 12:30am UTC](https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647/2 "2021-05-18T00:30:23Z")

</div>

is makerverse running in the background when you are trying to run webcontrol?

---

<div class="post-metadata">

**Author:** ![tinker](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/tinker/32/9747_2.png) [@tinker](https://forums.maslowcnc.com/u/tinker)\
**Post date:** [May 18, 2021, 3:27am UTC](https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647/3 "2021-05-18T03:27:59Z")

</div>

> [@pustin\_r](#):
>
> Error checking pyrelease: could not convert string to float: ‘2020-05-26-2021’

That looks like string text '2020-05-26-2021’ is incorrectly being converted to a floating point number which should not happen and is probably a problem in communication between Malsow firmware to Web Control UI. Date/Time numbers should never be converted to a floating point numbers and should probably be converted to Integer Unix Time Stamp instead. This probably crashes the whole Web Control UI: leading to the COM port failures.

Please provide info on:

- Maslow firmware version you are using (should be v1.26 minimum). If not then flash firmware to newer version.
- Web Control Host OS and Version (Raspberry Pi v3-4, Windows 7-10, Mac OSX (Mountain Goat or whatever makes people spend more money)
- Web Control version.
- Web browser (FireFox, Chrome, Safari) and Version you are using.

All points are important, to debug the problem, so don’t omit any. If you need help identifying info please let me know.

---

<div class="post-metadata">

**Author:** ![pustin\_r](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/pustin_r/32/20094_2.png) [@pustin\_r](https://forums.maslowcnc.com/u/pustin_r)\
**Post date:** [May 18, 2021, 6:36pm UTC](https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647/4 "2021-05-18T18:36:33Z")

</div>

Orob I didn’t have makerverse running in the bg first time I tried it didnt work so I tried it with makerverse running.

Tinker  
I’m running the latest version of maslow  
Host computer is on windows 10  
webcontrol v.94  
browser is chrome Version 90.0.4430.212

thanks for the help guys

---

<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:** [May 19, 2021, 9:11pm UTC](https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647/5 "2021-05-19T21:11:00Z")

</div>

Just looking for an easy fix. Which controller and shield version do you have?

---

<div class="post-metadata">

**Author:** ![wcb](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/wcb/32/26845_2.png) [@wcb](https://forums.maslowcnc.com/u/wcb)\
**Post date:** [November 27, 2024, 6:57pm UTC](https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647/6 "2024-11-27T18:57:00Z")

</div>

I know this is an old post, but I am encountering the same issue running WebControl on Ubuntu 20.

The Maslow connects correctly running GroundControl 3.10 on my Mac, but not on the new Ubuntu laptop we want to run it from.

- Webcontrol 0.94
- Ubuntu Ubuntu 20.04.6 LTS
- Firefox 132
- Maslow Firmware version 3.10

Errors:

> Initializing Logger  
> /home/cnc/.WebControl/log.txt  
> /home/cnc/Applications/webcontrol  
> Initializing Configuration  
> Camera initialized
> 
> ## 
> 
> ubuntu
> 
> ## 
> 
> * * *
> 
> ## linux singledirectory
> 
> VIDEOIO ERROR: V4L: can’t open camera by index 0  
> /home/cnc  
> Using routines for Python == 3.5  
> Starting Console Queue Processor  
> /home/cnc/.WebControl/webcontrol-\*.port  
> -$$$$$-  
> /home/cnc/Applications/webcontrol/main.py  
> /home/cnc/Applications/webcontrol  
> -$$$$$-  
> opening browser  
> Checking latest pyrelease.  
> XPCOMGlueLoad error for file /usr/lib/firefox/libmozsandbox.so:  
> /home/cnc/Applications/webcontrol/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/lib/firefox/libmozsandbox.so) Couldn't load XPCOM. Error checking pyrelease: could not convert string to float: '2020-05-26-2021' None XPCOMGlueLoad error for file /usr/lib/firefox/libmozsandbox.so: /home/cnc/Applications/webcontrol/libstdc++.so.6: version `GLIBCXX\_3.4.26’ not found (required by /usr/lib/firefox/libmozsandbox.so)  
> Couldn’t load XPCOM.  
> XPCOMGlueLoad error for file /usr/lib/firefox/libmozsandbox.so:  
> /home/cnc/Applications/webcontrol/libstdc++.so.6: version `GLIBCXX\_3.4.26’ not found (required by /usr/lib/firefox/libmozsandbox.so)  
> Couldn’t load XPCOM.  
> /usr/bin/xdg-open: 869: iceweasel: not found  
> /usr/bin/xdg-open: 869: seamonkey: not found  
> /usr/bin/xdg-open: 869: mozilla: not found  
> /usr/bin/xdg-open: 869: epiphany: not found  
> /usr/bin/xdg-open: 869: konqueror: not found  
> /usr/bin/xdg-open: 869: chromium: not found  
> /usr/bin/xdg-open: 869: chromium-browser: not found  
> /usr/bin/xdg-open: 869: google-chrome: not found  
> /usr/bin/xdg-open: 869: www-browser: not found  
> /usr/bin/xdg-open: 869: links2: not found  
> /usr/bin/xdg-open: 869: elinks: not found  
> /usr/bin/xdg-open: 869: links: not found  
> /usr/bin/xdg-open: 869: lynx: not found  
> /usr/bin/xdg-open: 869: w3m: not found  
> xdg-open: no method available for opening ‘[http://localhost:5000](http://localhost:5000)’  
> {“hostAddress”: “127.0.1.1:5000”}  
> connected  
> 4ca7d92ec9b444718725033746c1e643  
> Attempting to re-establish connection to controller  
> starting UI  
> Trying to connect to controller on /dev/ttyACM0  
> I’m connected!  
> Sending Board Data  
> Sent Board Data  
> Sending Board Cut Data compressed  
> Sent Board Cut Data compressed  
> Trying to connect to controller on /dev/ttyACM0  
> Trying to connect to controller on /dev/ttyACM0

and then “Trying to connect to controller on /dev/ttyACM0” repeats on loop without ever connecting.

I am able to read the port using `screen` so I know the port and serial driver are at least functional.

---

<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:** [November 28, 2024, 1:36am UTC](https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647/7 "2024-11-28T01:36:01Z")

</div>

you may need to add your user to the dialup group to give it access to the  
serial ports.

David Lang

---

<div class="post-metadata">

**Author:** ![wcb](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/wcb/32/26845_2.png) [@wcb](https://forums.maslowcnc.com/u/wcb)\
**Post date:** [November 30, 2024, 1:46am UTC](https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647/8 "2024-11-30T01:46:19Z")

</div>

Hot damn. That fixed it for GroundControl 2022, running from the repo (no binaries for Linux).

Thanks!

---

<div class="post-metadata">

**Author:** ![John\_Fowler](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/john_fowler/32/31749_2.png) [@John\_Fowler](https://forums.maslowcnc.com/u/John_Fowler)\
**Post date:** [August 12, 2026, 5:05pm UTC](https://forums.maslowcnc.com/t/webcontrol-losing-connection/16647/9 "2026-08-12T17:05:40Z")

</div>

Bit random to try to bring this back from the dead but I have the same error message exactly, did you get yours solved, my CNC has been collecting dust for years and have a perfect project so trying to revive 🙂
