WebControl losing connection

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

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

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.

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

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

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
{“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.

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

David Lang

2 Likes

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

Thanks!

1 Like