Re: Random "Cumulus has stopped receiving data"
Posted: Sat 28 Aug 2021 3:10 pm
by stefanbagnato
So the issue still exists. It actually happened while I am sitting here at the server reviewing some lines of code for the website. It's still the same issue of "something" taking over the COM port. Bouncing the service fixes it. I've turned on literally all logging...
Issues starts at 10:58:50
2021-08-28 10:58:48.866 Realtime[157]: Start cycle
2021-08-28 10:58:48.867 Realtime[157]: Processing extra file[10] -(cleared out)
2021-08-28 10:58:48.875 Realtime[157]: Copying extra file[10] (cleared out) to (cleared out)
2021-08-28 10:58:48.893 Realtime[157]: Copying extra file[11] (cleared out) to (cleared out)
2021-08-28 10:58:48.897 Realtime[157]: End cycle
2021-08-28 10:58:48.898 Realtime[157]: MySQL executing - INSERT IGNORE INTO Realtime (LogDateTime,temp,hum,dew,wspeed,wlatest,bearing,rrate,rfall,press,currentwdir,beaufortnumber,windunit,tempunitnodeg,pressunit,rainunit,windrun,presstrendval,rmonth,ryear,rfallY,intemp,inhum,wchill,temptrend,tempTH,TtempTH,tempTL,TtempTL,windTM,TwindTM,wgustTM,TwgustTM,pressTH,TpressTH,pressTL,TpressTL,version,build,wgust,heatindex,humidex,UV,ET,SolarRad,avgbearing,rhour,forecastnumber,isdaylight,SensorContactLost,wdir,cloudbasevalue,cloudbaseunit,apptemp,SunshineHours,CurrentSolarMax,IsSunny,FeelsLike) Values('21-08-28 10:58:48',85.9,79,78.6,2.7,1.0,177,0.00,0.00,30.16,'S','1','mph','F','in','in',4.0,'+0.01',4.07,31.45,0.00,77.3,52,85.9,+4.0,86.5,'10:48',71.4,'06:44',2.7,'10:58',9.0,'10:49',30.16,'10:44',30.10,'05:12','3.12.1','3143',9.0,99.0,42.9,5.2,0.018,645,301,0.00,1,'1','0','WNW',1653,'ft',97.0,4.0,750,'1',93.8)
2021-08-28 10:58:48.953 Realtime[157]: MySQL 1 rows were affected.
2021-08-28 10:58:50.912 LOOP: 11 - Expected data not received, expected 99 bytes, got 0
2021-08-28 10:58:51.920 LOOP: 11 - Timed out waiting for LOOP data
2021-08-28 10:58:51.920 Sending BARREAD
2021-08-28 10:58:51.920 WakeVP: Not required
2021-08-28 10:58:51.966 SendBarRead: Error - A device attached to the system is not functioning.
2021-08-28 10:58:51.966 SendBarRead: Attempting to reconnect to logger
2021-08-28 10:58:51.966 InitSerial: Connecting to the station
2021-08-28 10:58:51.982 InitSerial: Error opening port - Access to the port 'COM3' is denied.
2021-08-28 10:58:51.982 InitSerial: Failed to connect to the station, waiting 30 seconds before trying again
2021-08-28 10:59:00.313 DoLogFile: Writing log entry for 8/28/2021 10:59:00 AM
2021-08-28 10:59:00.313 DoLogFile: max gust: 9.0
2021-08-28 10:59:00.328 DoLogFile: log entry for 8/28/2021 10:59:00 AM written
2021-08-28 10:59:00.328 Writing today.ini, LastUpdateTime = 8/28/2021 10:59:00 AM raindaystart = 31.5 rain counter = 31.5
2021-08-28 10:59:00.344 DoLogFile: MySQL executing - INSERT IGNORE INTO Monthly (LogDateTime,Temp,Humidity,Dewpoint,Windspeed,Windgust,Windbearing,RainRate,TodayRainSoFar,Pressure,Raincounter,InsideTemp,InsideHumidity,LatestWindGust,WindChill,HeatIndex,UVindex,SolarRad,Evapotrans,AnnualEvapTran,ApparentTemp,MaxSolarRad,HrsSunShine,CurrWindBearing,RG11rain,RainSinceMidnight,WindbearingSym,CurrWindBearingSym,FeelsLike,Humidex) Values('21-08-28 10:59',85.9,79,78.6,2.7,9.0,301,0.00,0.00,30.16,31.50,77.3,52,1.0,85.9,99.0,5.2,645,0.018,26.838,97.0,750,4.0,177,0.00,0.00,'WNW','S',93.8,42.9)
2021-08-28 10:59:00.344 Creating standard web files
2021-08-28 10:59:00.344 Done creating standard Data file
2021-08-28 10:59:00.344 Creating graph data files
2021-08-28 10:59:00.375 DoLogFile: MySQL 1 rows were affected.
2021-08-28 10:59:01.073 Done creating graph data files
2021-08-28 10:59:01.073 Interval: Processing extra file[0] - (cleared out)
2021-08-28 10:59:01.088 Interval: Copying extra file[0] (cleared out) to (cleared out)
2021-08-28 10:59:01.135 Interval: Processing extra file[1] - (cleared out)
cleared for brevity
2021-08-28 10:59:01.932 Interval: Copying extra file[41] (cleared out)
2021-08-28 10:59:03.880 Realtime[158]: Start cycle
2021-08-28 10:59:03.880 Realtime[158]: Processing extra file[10] -(cleared out)
2021-08-28 10:59:03.880 Realtime[158]: Copying extra file[10] (cleared out) to (cleared out)
2021-08-28 10:59:03.895 Realtime[158]: Copying extra file[11] (cleared out) to (cleared out)
2021-08-28 10:59:03.895 Realtime[158]: End cycle
2021-08-28 10:59:03.895 Realtime[158]: MySQL executing - INSERT IGNORE INTO Realtime (LogDateTime,temp,hum,dew,wspeed,wlatest,bearing,rrate,rfall,press,currentwdir,beaufortnumber,windunit,tempunitnodeg,pressunit,rainunit,windrun,presstrendval,rmonth,ryear,rfallY,intemp,inhum,wchill,temptrend,tempTH,TtempTH,tempTL,TtempTL,windTM,TwindTM,wgustTM,TwgustTM,pressTH,TpressTH,pressTL,TpressTL,version,build,wgust,heatindex,humidex,UV,ET,SolarRad,avgbearing,rhour,forecastnumber,isdaylight,SensorContactLost,wdir,cloudbasevalue,cloudbaseunit,apptemp,SunshineHours,CurrentSolarMax,IsSunny,FeelsLike) Values('21-08-28 10:59:03',85.9,79,78.6,2.7,1.0,177,0.00,0.00,30.16,'S','1','mph','F','in','in',4.0,'+0.01',4.07,31.45,0.00,77.3,52,85.9,+4.0,86.5,'10:48',71.4,'06:44',2.7,'10:58',9.0,'10:49',30.16,'10:44',30.10,'05:12','3.12.1','3143',9.0,99.0,42.9,5.2,0.018,645,301,0.00,1,'1','0','WNW',1653,'ft',97.0,4.0,750,'1',93.8)
2021-08-28 10:59:03.944 Realtime[158]: MySQL 1 rows were affected.
2021-08-28 10:59:18.885 Realtime[159]: Start cycle
2021-08-28 10:59:18.885 Realtime[159]: Processing extra file[10] - (cleared out)
2021-08-28 10:59:18.885 Realtime[159]: Copying extra file[10] (cleared out) to (cleared out)
2021-08-28 10:59:18.901 Realtime[159]: Copying extra file[11] (cleared out) to (cleared out)
2021-08-28 10:59:18.917 Realtime[159]: End cycle
2021-08-28 10:59:18.917 Realtime[159]: MySQL executing - INSERT IGNORE INTO Realtime (LogDateTime,temp,hum,dew,wspeed,wlatest,bearing,rrate,rfall,press,currentwdir,beaufortnumber,windunit,tempunitnodeg,pressunit,rainunit,windrun,presstrendval,rmonth,ryear,rfallY,intemp,inhum,wchill,temptrend,tempTH,TtempTH,tempTL,TtempTL,windTM,TwindTM,wgustTM,TwgustTM,pressTH,TpressTH,pressTL,TpressTL,version,build,wgust,heatindex,humidex,UV,ET,SolarRad,avgbearing,rhour,forecastnumber,isdaylight,SensorContactLost,wdir,cloudbasevalue,cloudbaseunit,apptemp,SunshineHours,CurrentSolarMax,IsSunny,FeelsLike) Values('21-08-28 10:59:18',85.9,79,78.6,2.7,1.0,177,0.00,0.00,30.16,'S','1','mph','F','in','in',4.0,'+0.01',4.07,31.45,0.00,77.3,52,85.9,+4.0,86.5,'10:48',71.4,'06:44',2.7,'10:58',9.0,'10:49',30.16,'10:44',30.10,'05:12','3.12.1','3143',9.0,99.0,42.9,5.2,0.018,645,301,0.00,1,'1','0','WNW',1653,'ft',97.0,4.0,750,'1',93.8)
2021-08-28 10:59:18.964 Realtime[159]: MySQL 1 rows were affected.
2021-08-28 10:59:21.983 InitSerial: Connecting to the station
2021-08-28 10:59:21.983 InitSerial: Error opening port - Access to the port 'COM3' is denied.
2021-08-28 10:59:21.983 InitSerial: Failed to connect to the station, waiting 30 seconds before trying again
2021-08-28 10:59:33.888 Realtime[160]: Start cycle
2021-08-28 10:59:33.888 Realtime[160]: Processing extra file[10] - (cleared out)
2021-08-28 10:59:33.888 Realtime[160]: Copying extra file[10] (cleared out) to (cleared out)
2021-08-28 10:59:33.904 Realtime[160]: Copying extra file[11] (cleared out) to (cleared out)
2021-08-28 10:59:33.904 Realtime[160]: End cycle
2021-08-28 10:59:33.904 Realtime[160]: MySQL executing - INSERT IGNORE INTO Realtime (LogDateTime,temp,hum,dew,wspeed,wlatest,bearing,rrate,rfall,press,currentwdir,beaufortnumber,windunit,tempunitnodeg,pressunit,rainunit,windrun,presstrendval,rmonth,ryear,rfallY,intemp,inhum,wchill,temptrend,tempTH,TtempTH,tempTL,TtempTL,windTM,TwindTM,wgustTM,TwgustTM,pressTH,TpressTH,pressTL,TpressTL,version,build,wgust,heatindex,humidex,UV,ET,SolarRad,avgbearing,rhour,forecastnumber,isdaylight,SensorContactLost,wdir,cloudbasevalue,cloudbaseunit,apptemp,SunshineHours,CurrentSolarMax,IsSunny,FeelsLike) Values('21-08-28 10:59:33',85.9,79,78.6,2.7,1.0,177,0.00,0.00,30.16,'S','1','mph','F','in','in',4.0,'+0.01',4.07,31.45,0.00,77.3,52,85.9,+4.0,86.5,'10:48',71.4,'06:44',2.7,'10:58',9.0,'10:49',30.16,'10:44',30.10,'05:12','3.12.1','3143',9.0,99.0,42.9,5.2,0.018,645,301,0.00,1,'1','0','WNW',1653,'ft',97.0,4.0,750,'1',93.8)
2021-08-28 10:59:33.998 Realtime[160]: MySQL 1 rows were affected.
2021-08-28 10:59:48.902 Realtime[161]: Start cycle
2021-08-28 10:59:48.902 Realtime[161]: Processing extra file[10] - (cleared out)
2021-08-28 10:59:48.902 Realtime[161]: Copying extra file[10] (cleared out) to (cleared out)
2021-08-28 10:59:48.917 Realtime[161]: Copying extra file[11] (cleared out) to (cleared out)
2021-08-28 10:59:48.917 Realtime[161]: End cycle
2021-08-28 10:59:48.933 Realtime[161]: MySQL executing - INSERT IGNORE INTO Realtime (LogDateTime,temp,hum,dew,wspeed,wlatest,bearing,rrate,rfall,press,currentwdir,beaufortnumber,windunit,tempunitnodeg,pressunit,rainunit,windrun,presstrendval,rmonth,ryear,rfallY,intemp,inhum,wchill,temptrend,tempTH,TtempTH,tempTL,TtempTL,windTM,TwindTM,wgustTM,TwgustTM,pressTH,TpressTH,pressTL,TpressTL,version,build,wgust,heatindex,humidex,UV,ET,SolarRad,avgbearing,rhour,forecastnumber,isdaylight,SensorContactLost,wdir,cloudbasevalue,cloudbaseunit,apptemp,SunshineHours,CurrentSolarMax,IsSunny,FeelsLike) Values('21-08-28 10:59:48',85.9,79,78.6,2.7,1.0,177,0.00,0.00,30.16,'S','1','mph','F','in','in',4.0,'+0.01',4.07,31.45,0.00,77.3,52,85.9,+4.0,86.5,'10:48',71.4,'06:44',2.7,'10:58',9.0,'10:49',30.16,'10:44',30.10,'05:12','3.12.1','3143',9.0,99.0,42.9,5.2,0.018,645,301,0.00,1,'1','0','WNW',1653,'ft',97.0,4.0,750,'1',93.8)
2021-08-28 10:59:48.996 Realtime[161]: MySQL 1 rows were affected.
2021-08-28 10:59:51.995 InitSerial: Connecting to the station
2021-08-28 10:59:51.995 InitSerial: Error opening port - Access to the port 'COM3' is denied.
2021-08-28 10:59:51.995 InitSerial: Failed to connect to the station, waiting 30 seconds before trying again
2021-08-28 11:00:00.363 Hour changed: 11
2021-08-28 11:00:00.363 Calculating sunrise and sunset times
2021-08-28 11:00:00.363 Sunrise: 06:43:46
2021-08-28 11:00:00.363 Sunset : 19:47:07
2021-08-28 11:00:00.363 Tomorrow sunrise: 06:44:32
2021-08-28 11:00:00.363 Tomorrow sunset : 19:45:46
2021-08-28 11:00:00.363 Tomorrow length diff: -127
2021-08-28 11:00:00.363 Generating new Moon image
2021-08-28 11:00:00.582 SendEmail: Waiting for lock...
2021-08-28 11:00:00.582 SendEmail: Has the lock
2021-08-28 11:00:00.582 SendEmail: Sending email, to [(cleared out)], subject [Cumulus MX Alarm], body ["A Cumulus MX alarm has been triggered.\r\nCumulus has stopped receiving data from y" +
"our weather station."]...
2021-08-28 11:00:00.613 *** Data input appears to have stopped
2021-08-28 11:00:01.765 SendEmail: Releasing lock...
2021-08-28 11:00:22.007 InitSerial: Connecting to the station
2021-08-28 11:00:22.007 InitSerial: Error opening port - Access to the port 'COM3' is denied.
2021-08-28 11:00:22.007 InitSerial: Failed to connect to the station, waiting 30 seconds before trying again
2021-08-28 11:00:52.016 InitSerial: Connecting to the station
2021-08-28 11:00:52.016 InitSerial: Error opening port - Access to the port 'COM3' is denied.
2021-08-28 11:00:52.016 InitSerial: Failed to connect to the station, waiting 30 seconds before trying again
2021-08-28 11:01:00.437 *** Data input appears to have stopped