Page 1 of 1

Ping error

Posted: Wed 11 Aug 2021 4:24 pm
by pkiener
Running Cumulus MX v.3.12.0 build 3141 on Raspberry Pi.

Earlier this morning, realtime.txt FTP uploads failed with the following error message:
2021-08-11 01:00:41.039 Realtime[113]: Uploading - realtimegauges.txt
2021-08-11 01:00:41.974 Realtime[113]: Uploading extra web file[1] /home/pi/CumulusMX/web/gauges-ssT.htmtmp to /home/kiener/public_html/Saratoga/gauges-ss.htm
2021-08-11 01:00:45.090 Realtime[114]: Uploading - realtime.txt
2021-08-11 01:00:46.395 Realtime[114]: Uploading - realtimegauges.txt
2021-08-11 01:00:47.351 Realtime[114]: Uploading extra web file[1] /home/pi/CumulusMX/web/gauges-ssT.htmtmp to /home/kiener/public_html/Saratoga/gauges-ss.htm
2021-08-11 01:00:50.093 Realtime[115]: Uploading - realtime.txt
2021-08-11 01:00:51.035 Realtime[115]: Uploading - realtimegauges.txt
2021-08-11 01:00:51.966 Realtime[115]: Uploading extra web file[1] /home/pi/CumulusMX/web/gauges-ssT.htmtmp to /home/kiener/public_html/Saratoga/gauges-ss.htm
2021-08-11 01:00:55.089 Realtime[116]: Uploading - realtime.txt
2021-08-11 01:00:56.034 Realtime[116]: Uploading - realtimegauges.txt
2021-08-11 01:00:56.998 Realtime[116]: Uploading extra web file[1] /home/pi/CumulusMX/web/gauges-ssT.htmtmp to /home/kiener/public_html/Saratoga/gauges-ss.htm
2021-08-11 01:01:00.093 Realtime[117]: Uploading - realtime.txt
2021-08-11 01:01:01.346 Realtime[117]: Uploading - realtimegauges.txt
2021-08-11 01:01:02.531 Realtime[117]: Uploading extra web file[1] /home/pi/CumulusMX/web/gauges-ssT.htmtmp to /home/kiener/public_html/Saratoga/gauges-ss.htm
2021-08-11 01:01:04.513 Reading reception stats
2021-08-11 01:01:04.543 SendLoopCommand: Starting - LPS 2 1
2021-08-11 01:01:04.619 SendLoopCommand: Starting - LOOP 50
2021-08-11 01:01:05.093 Realtime[118]: Uploading - realtime.txt
2021-08-11 01:01:06.033 Realtime[118]: Uploading - realtimegauges.txt
2021-08-11 01:01:06.951 Realtime[118]: Uploading extra web file[1] /home/pi/CumulusMX/web/gauges-ssT.htmtmp to /home/kiener/public_html/Saratoga/gauges-ss.htm
2021-08-11 01:01:10.089 Realtime[119]: Uploading - realtime.txt
2021-08-11 01:01:11.009 Realtime[119]: Uploading - realtimegauges.txt
2021-08-11 01:01:11.923 Realtime[119]: Uploading extra web file[1] /home/pi/CumulusMX/web/gauges-ssT.htmtmp to /home/kiener/public_html/Saratoga/gauges-ss.htm
2021-08-11 01:01:15.084 Realtime[120]: Uploading - realtime.txt
2021-08-11 01:01:15.994 Realtime[120]: Uploading - realtimegauges.txt
2021-08-11 01:01:20.087 Realtime[121]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 32
2021-08-11 01:01:20.087 Realtime[121]: No FTP attempted this cycle
2021-08-11 01:01:25.094 Realtime[122]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 33
2021-08-11 01:01:25.095 Realtime[122]: No FTP attempted this cycle
2021-08-11 01:01:30.090 Realtime[123]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 34
2021-08-11 01:01:30.091 Realtime[123]: No FTP attempted this cycle
2021-08-11 01:01:35.091 Realtime[124]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 35
2021-08-11 01:01:35.091 Realtime[124]: No FTP attempted this cycle
2021-08-11 01:01:40.088 Realtime[125]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 36
2021-08-11 01:01:40.089 Realtime[125]: No FTP attempted this cycle
2021-08-11 01:01:45.092 Realtime[126]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 37
2021-08-11 01:01:45.093 Realtime[126]: Realtime has been in progress for more than 3 minutes, attempting to reconnect.
2021-08-11 01:01:45.093 RealtimeReconnect: Realtime ftp attempting disconnect
2021-08-11 01:02:00.097 RealtimeReconnect: Realtime ftp disconnected
2021-08-11 01:02:00.098 RealtimeReconnect: Realtime ftp attempting to reconnect
2021-08-11 01:02:10.414 RealtimeReconnect: Realtime ftp attempting to reinitialise the connection
2021-08-11 01:02:10.414 RealtimeSSHLogin: Attempting realtime SFTP connect to host 87.247.245.144 on port 3784
2021-08-11 01:02:13.533 RealtimeSSHLogin: Error connecting SFTP - No route to host
2021-08-11 01:02:13.534 RealtimeReconnect: Realtime ftp connection failed to connect after reinitialisation
2021-08-11 01:02:13.534 RealtimeReconnect: Sleeping for 20 seconds before trying again...
2021-08-11 01:02:30.189 Wunderground: ERROR - An error occurred while sending the request
2021-08-11 01:02:33.534 RealtimeReconnect: Realtime ftp attempting disconnect
2021-08-11 01:02:33.537 RealtimeReconnect: Realtime ftp disconnected

*****

Reboot of system now has the following error:
2021-08-11 11:22:53.989 Reading Cumulus.ini file completed
2021-08-11 11:22:53.989 No start-up delay - disabled
2021-08-11 11:22:53.989 Waiting for PING reply from 192.168.1.5
2021-08-11 11:22:54.114 Ping reply: System.Net.NetworkInformation.PingReply
2021-08-11 11:22:56.527 Ping Error: The PING failed to return after the timeout, cancelling it...
!!! Unhandled Exception !!!
System.NullReferenceException: Object reference not set to an instance of an object.
at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Boolean DebugEnabled, System.String startParms) [0x01e12] in <3c083c8954b3469789c0536f371704a4>:0
at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00048] in <3c083c8954b3469789c0536f371704a4>:0
at CumulusMX.Program.Main (System.String[] args) [0x00529] in <3c083c8954b3469789c0536f371704a4>:0


******

I am able to ping 192.168.1.5 from the terminal on raspberry pi. I have even stopped CumulusMX, unzipped the current version as if I was performing an upgrade, and restarted CumulusMX with no positive results. My website is not being updated nor am I able to access the dashboard via TCP Port 8998 (which was previously working). I had upgraded to the current version on 29 July and CumulusMX was running without problems until early this morning.

Any and all help to resolve this issue would be greatly appreciated! Thanks in advance.

Paul
CumulusMX: weather.paulkiener.com

Re: Ping error

Posted: Wed 11 Aug 2021 6:26 pm
by pkiener
I did another reboot, and now everything is working correctly again. Not sure why after multiple reboot trys it finally started again. I made no changes to my setup. Strange.....

Paul

Re: Ping error

Posted: Wed 11 Aug 2021 8:30 pm
by mcrossley
There do seem to be some odd things happening with the PING when running under Mono.