Max tries exceeded while getting LOOP data

114 views
Skip to first unread message

Clay Croom

unread,
Nov 23, 2020, 7:57:15 AM11/23/20
to weewx-user
My system has been running flawlessly until a recent power outage due to the tropical storm that passed over FL a couple weeks ago.  The UPS even exhausted all available power before it was restored.  The station is unattended and I just arrived yesterday to restore however there seems to be communication issues between the VP2 and computer.  Any suggestions?  I have reboot everything also powered down VP2.

Nov 23 07:34:26 wxfitpc systemd[1]: Stopping LSB: weewx weather system...

Nov 23 07:34:26 wxfitpc weewx[1145]: Stopping weewx weather system: weewx not running....

Nov 23 07:34:26 wxfitpc systemd[1]: weewx.service: Succeeded.

Nov 23 07:34:26 wxfitpc systemd[1]: Stopped LSB: weewx weather system.

Nov 23 07:36:20 wxfitpc kernel: [44281.518761] usb 6-1: new full-speed USB device number 3 using ohci-pci

Nov 23 07:36:20 wxfitpc kernel: [44281.715802] usb 6-1: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00

Nov 23 07:36:20 wxfitpc kernel: [44281.717130] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

Nov 23 07:36:20 wxfitpc kernel: [44281.718447] usb 6-1: Product: CP2102 USB to UART Bridge Controller

Nov 23 07:36:20 wxfitpc kernel: [44281.719866] usb 6-1: Manufacturer: Silicon Labs

Nov 23 07:36:20 wxfitpc kernel: [44281.721237] usb 6-1: SerialNumber: 0001

Nov 23 07:36:20 wxfitpc kernel: [44281.725899] cp210x 6-1:1.0: cp210x converter detected

Nov 23 07:36:21 wxfitpc kernel: [44281.737222] usb 6-1: cp210x converter now attached to ttyUSB0

Nov 23 07:38:06 wxfitpc systemd[1]: Starting LSB: weewx weather system...

Nov 23 07:38:07 wxfitpc weewx[1197] INFO __main__: Initializing weewx version 4.2.0

Nov 23 07:38:07 wxfitpc weewx[1197] INFO __main__: Using Python 3.7.3 (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]

Nov 23 07:38:07 wxfitpc weewx[1197] INFO __main__: Platform Linux-4.19.0-9-amd64-x86_64-with-debian-10.6

Nov 23 07:38:07 wxfitpc weewx[1197] INFO __main__: Locale is 'en_US.UTF-8'

Nov 23 07:38:07 wxfitpc weewx[1197] INFO __main__: PID file is /var/run/weewx.pid

Nov 23 07:38:07 wxfitpc weewx[1201] INFO __main__: Using configuration file /etc/weewx/weewx.conf

Nov 23 07:38:07 wxfitpc weewx[1201] INFO __main__: Debug is 0

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)

Nov 23 07:38:07 wxfitpc weewx[1186]: Starting weewx weather system: weewx.

Nov 23 07:38:07 wxfitpc systemd[1]: Started LSB: weewx weather system.

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.engine: StdConvert target unit is 0x1

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.engine: Archive will use data binding wx_binding

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.engine: Record generation will be attempted in 'hardware'

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.restx: StationRegistry: Registration not requested.

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.restx: Wunderground-PWS: Data for station KFLWEBST4 will be posted

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.restx: PWSWeather: Data for station FGWEBSTER will be posted

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.restx: CWOP: Data for station FW2402 will be posted

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.restx: WOW: Posting not enabled.

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.restx: AWEKAS: Data will be uploaded for user ccroom01

Nov 23 07:38:07 wxfitpc weewx[1201] INFO __main__: Starting up weewx version 4.2.0

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.engine: Clock error is -1755.28 seconds (positive is fast)

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.drivers.vantage: Clock set to 2020-11-23 07:38:08 EST (1606135088)

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'

Nov 23 07:38:07 wxfitpc weewx[1201] INFO weewx.manager: Starting backfill of daily summaries

Nov 23 07:38:10 wxfitpc weewx[1201] INFO weewx.engine: Starting main packet loop.

Nov 23 07:38:10 wxfitpc weewx[1201] INFO weewx.wxxtypes: Type beaufort has been deprecated. Use unit beaufort instead.

Nov 23 07:38:29 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

Nov 23 07:38:33 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead

Nov 23 07:38:51 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

Nov 23 07:38:58 wxfitpc anacron[1124]: Job `cron.daily' started

Nov 23 07:38:58 wxfitpc anacron[1227]: Updated timestamp for job `cron.daily' to 2020-11-23

Nov 23 07:38:58 wxfitpc anacron[1124]: Job `cron.daily' terminated

Nov 23 07:38:58 wxfitpc anacron[1124]: Normal exit (1 job run)

Nov 23 07:38:58 wxfitpc systemd[1]: anacron.service: Succeeded.

Nov 23 07:39:09 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

Nov 23 07:39:29 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

Nov 23 07:39:33 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead

Nov 23 07:39:41 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

Nov 23 07:39:51 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

Nov 23 07:40:07 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

Nov 23 07:40:11 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead

Nov 23 07:40:15 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #3; error: Expected to read 99 chars; got 0 instead

Nov 23 07:40:21 wxfitpc weewx[1201] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.80 seconds

Nov 23 07:40:21 wxfitpc weewx[1201] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.57 seconds

Nov 23 07:40:21 wxfitpc weewx[1201] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx

Nov 23 07:40:23 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

Nov 23 07:40:27 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead

Nov 23 07:40:32 wxfitpc weewx[1201] INFO weewx.reportengine: ftpgenerator: Ftp'd 28 files in 11.14 seconds

Nov 23 07:40:45 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

Nov 23 07:40:49 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead

Nov 23 07:40:53 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #3; error: Expected to read 99 chars; got 0 instead

Nov 23 07:40:57 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #4; error: Expected to read 99 chars; got 0 instead

Nov 23 07:40:57 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP max tries (4) exceeded.

Nov 23 07:40:57 wxfitpc weewx[1201] INFO weewx.engine: Main loop exiting. Shutting engine down.

Nov 23 07:40:57 wxfitpc weewx[1201] INFO weewx.engine: Shutting down StdReport thread

Nov 23 07:40:57 wxfitpc weewx[1201] CRITICAL __main__: Caught WeeWxIOError: Max tries exceeded while getting LOOP data.

Nov 23 07:40:57 wxfitpc weewx[1201] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...

Nov 23 07:41:58 wxfitpc weewx[1201] INFO __main__: retrying...

Nov 23 07:41:58 wxfitpc weewx[1201] INFO __main__: Using configuration file /etc/weewx/weewx.conf

Nov 23 07:41:58 wxfitpc weewx[1201] INFO __main__: Debug is 0

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.engine: StdConvert target unit is 0x1

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.engine: Archive will use data binding wx_binding

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.engine: Record generation will be attempted in 'hardware'

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.restx: StationRegistry: Registration not requested.

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.restx: Wunderground-PWS: Data for station KFLWEBST4 will be posted

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.restx: PWSWeather: Data for station FGWEBSTER will be posted

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.restx: CWOP: Data for station FW2402 will be posted

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.restx: WOW: Posting not enabled.

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.restx: AWEKAS: Data will be uploaded for user ccroom01

Nov 23 07:41:58 wxfitpc weewx[1201] INFO __main__: Starting up weewx version 4.2.0

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.engine: Clock error is 0.71 seconds (positive is fast)

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'

Nov 23 07:41:58 wxfitpc weewx[1201] INFO weewx.manager: Starting backfill of daily summaries

Nov 23 07:42:00 wxfitpc weewx[1201] INFO weewx.engine: Starting main packet loop.

Nov 23 07:42:04 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

Nov 23 07:42:08 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead

Nov 23 07:42:12 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #3; error: Expected to read 99 chars; got 0 instead

Nov 23 07:42:16 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP try #4; error: Expected to read 99 chars; got 0 instead

Nov 23 07:42:16 wxfitpc weewx[1201] ERROR weewx.drivers.vantage: LOOP max tries (4) exceeded.

Nov 23 07:42:16 wxfitpc weewx[1201] INFO weewx.engine: Main loop exiting. Shutting engine down.

Nov 23 07:42:16 wxfitpc weewx[1201] CRITICAL __main__: Caught WeeWxIOError: Max tries exceeded while getting LOOP data.

Nov 23 07:42:16 wxfitpc weewx[1201] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...

Nov 23 07:43:16 wxfitpc weewx[1201] INFO __main__: retrying...

Nov 23 07:43:16 wxfitpc weewx[1201] INFO __main__: Using configuration file /etc/weewx/weewx.conf

Nov 23 07:43:16 wxfitpc weewx[1201] INFO __main__: Debug is 0

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.engine: StdConvert target unit is 0x1

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.engine: Archive will use data binding wx_binding

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.engine: Record generation will be attempted in 'hardware'

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.restx: StationRegistry: Registration not requested.

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.restx: Wunderground-PWS: Data for station KFLWEBST4 will be posted

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.restx: PWSWeather: Data for station FGWEBSTER will be posted

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.restx: CWOP: Data for station FW2402 will be posted

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.restx: WOW: Posting not enabled.

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.restx: AWEKAS: Data will be uploaded for user ccroom01

Nov 23 07:43:16 wxfitpc weewx[1201] INFO __main__: Starting up weewx version 4.2.0

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.engine: Clock error is 0.33 seconds (positive is fast)

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'

Nov 23 07:43:16 wxfitpc weewx[1201] INFO weewx.manager: Starting backfill of daily summaries

Nov 23 07:43:18 wxfitpc weewx[1201] INFO weewx.engine: Starting main packet loop.

Nov 23 07:45:18 wxfitpc weewx[1201] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.91 seconds

Nov 23 07:45:19 wxfitpc weewx[1201] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.54 seconds

Nov 23 07:45:19 wxfitpc weewx[1201] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx

Nov 23 07:45:30 wxfitpc weewx[1201] INFO weewx.reportengine: ftpgenerator: Ftp'd 28 files in 11.06 seconds

Nov 23 07:50:18 wxfitpc weewx[1201] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.92 seconds

Nov 23 07:50:19 wxfitpc weewx[1201] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.54 seconds

Nov 23 07:50:19 wxfitpc weewx[1201] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx

Nov 23 07:50:28 wxfitpc weewx[1201] INFO weewx.reportengine: ftpgenerator: Ftp'd 23 files in 9.29 seconds

Tom Keffer

unread,
Nov 23, 2020, 8:38:57 AM11/23/20
to weewx-user
It looks like your installation is "sort of" working. It's mostly getting data, but missing some LOOP packets. Things to try:

Reseat the logger in the console.

It looks like you might be using a serial-to-usb converter. Do you have an extra one? If so, swap them and see if that makes a difference. 

Try power cycling the console. Unplug, take out the batteries, wait a few seconds, then put back together. Restart weewx.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0899cb85-422d-474d-afd4-f1301b8a4ce2n%40googlegroups.com.

Graham Eddy

unread,
Nov 23, 2020, 9:19:37 AM11/23/20
to weewx...@googlegroups.com
also this does not look good

Tom Keffer

unread,
Nov 23, 2020, 10:28:37 AM11/23/20
to weewx-user
He had a multi-hour outage. It's not surprising the Vantage clock would be way behind. 

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.

ccroom

unread,
Nov 23, 2020, 5:53:57 PM11/23/20
to weewx-user
Thanks for your suggestions.  I removed and reset the logger, removed batteries from the console, etc but still no data from the logger.  I did have a brand new logger as a backup and installed the new logger.  After doing so everything works and it is operating normally.  I suppose "something"  during or after the storm caused a failure to the data logger.  

Tom Keffer

unread,
Nov 23, 2020, 5:58:26 PM11/23/20
to weewx-user
Seems that way. Perhaps a power surge? Do you have the unit on a UPS or, at least, a surge suppressor?

Logger failures are rare. This is maybe the  4th or 5th I've heard of.

ccroom

unread,
Nov 23, 2020, 6:05:40 PM11/23/20
to weewx-user
Yes, it was on a UPS.  The computer ran for about 4 hours following the power outage.  I'm a bit puzzled about how this could happen as well.  I'm not throwing it in the trash.  Maybe some sort of corruption??  

Tom Keffer

unread,
Nov 23, 2020, 6:07:30 PM11/23/20
to weewx-user
You could try clearing the memory. It's hard to imagine how that would cause an unresponsive logger, but it wouldn't cost you anything to try.

DaveStLou

unread,
Nov 24, 2020, 4:20:03 PM11/24/20
to weewx-user
Clearing the logger memory is what got mine back on track after recent extended power outage caused the same error.

Tom Keffer

unread,
Nov 24, 2020, 4:21:06 PM11/24/20
to weewx-user
I stand corrected!

Reply all
Reply to author
Forward
0 new messages