Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Problem in 3151

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
f4phlyer
Posts: 144
Joined: Sun 13 Feb 2011 7:12 pm
Weather Station: Davis Vantage Pro 2
Operating System: RaspBerry Pi Win 10 OSx
Location: Spring, Texas USA
Contact:

Problem in 3151

Post by f4phlyer »

I have 3151 running on two different rPi's, one updates my website, the other is just local. The one for the live website encounters this problem the other isn't.

I've updated and upgraded the rPi, 3149 runs flawlessly.

I've attached log, I may have encountered this before:
2021-10-22 17:22:00.385 Writing today.ini, LastUpdateTime = 10/22/2021 5:22:00 PM raindaystart = 48.56 rain counter = 48.56
!!! Unhandled Exception !!!
System.ObjectDisposedException: Safe handle has been closed
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef (System.Boolean& success) [0x0001c] in <533173d24dae460899d2b10975534$ at System.Threading.NativeEventCalls.SetEvent (Microsoft.Win32.SafeHandles.SafeWaitHandle handle) [0x00002] in <533173d24dae460899$ at System.Threading.EventWaitHandle.Set () [0x00000] in <533173d24dae460899d2b10975534bb0>:0
at (wrapper remoting-invoke-with-check) System.Threading.EventWaitHandle.Set()
2021-10-22_170413_MXDiags.zip
You do not have the required permissions to view the files attached to this post.
retreat at augusta pines weather
CumulusMX on Raspberry π rPi5
http://augusta-pines-weather.com / CumulusMX 4.0.0 build:4017
WeatherUnderground KTXSPRIN538
User avatar
pete_c
Posts: 228
Joined: Wed 12 Oct 2011 11:22 pm
Weather Station: Davis Vue-Pro2 - Fine Offset
Operating System: W2003-XPSP3-Linux
Location: Time Traveler

Re: Problem in 3151

Post by pete_c »

Having a similar issue here in Linux.

sudo mono CumulusMX.exe
Cumulus MX v.3.13.5 build 3151
Working Dir: /home/pete/CumulusMX/
...

Diags show:

2021-10-22 22:25:28.533 Command line: /home/pete/CumulusMX/CumulusMX.exe
2021-10-22 22:25:28.533 Cumulus MX v.3.13.5 build 3151
2021-10-22 22:25:28.539 Platform: Unix
2021-10-22 22:25:28.540 OS version: Unix 5.4.0.89
2021-10-22 22:25:28.540 Current culture: English (United States) [en-US]
2021-10-22 22:25:28.540 Mono version: 6.12.0.122 (tarball Mon Feb 22 17:33:28 UTC 2021)
2021-10-22 22:25:28.540 Checking required folders
2021-10-22 22:25:28.558 Reading Cumulus.ini file

blah blah blah

2021-10-22 22:25:30.026 Console clock: Accurate to +/- 30 seconds, no need to set it (diff=-3s)
2021-10-22 22:25:30.026 Reading history data from log files
2021-10-22 22:25:30.027 Loading last N hour data from data logs: 10/22/2021 10:10:00 PM
2021-10-22 22:25:30.030 LoadRecent: Attempting to load 7 days of entries to recent data list
2021-10-22 22:25:30.121 LoadRecent: Loaded 1 new entries to recent database
2021-10-22 22:25:30.122 LoadLast3Hour: Attempting to load 3 hour data list
2021-10-22 22:25:30.132 LoadLast3Hour: Loaded 177 entries to last 3 hour data list
2021-10-22 22:25:30.138 Reading archive data from logger
2021-10-22 22:25:30.140 Creating extra sensors
2021-10-22 22:25:30.140 Lock: Station waiting for the lock
2021-10-22 22:25:30.174 843 web tags initialised
!!! Unhandled Exception !!!
System.TypeLoadException: Could not resolve type with token 01000121 from typeref (expected class 'FluentFTP.Helpers.FtpTrace' in assembly 'FluentFTP, Version=35.0.5.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f')
at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Boolean DebugEnabled, System.String startParms) [0x02e10] in <2c614c063e0c4938804aab6a70ee2aa3>:0
at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00048] in <2c614c063e0c4938804aab6a70ee2aa3>:0
at CumulusMX.Program.Main (System.String[] args) [0x0056a] in <2c614c063e0c4938804aab6a70ee2aa3>:0

then it stops running

Reinstalled Cumulus MX v.3.13.4 build 3149 and all is fine.

pete@ICS-HS4:~/CumulusMX$ sudo mono CumulusMX.exe
Cumulus MX v.3.13.4 build 3149
Working Dir: /home/pete/CumulusMX/

Open the admin interface by entering one of the above URLs into a web browser.

Today.ini = data/today.ini
Last update=2021-10-22T22:10:00
You are not running the latest version of Cumulus MX, build 3151 is available.
Connected to station
10/22/2021 10:39:25 PM
Type Ctrl-C to terminate
Downloading Archive Data
- processed 100 %
Downloading Archive Data
- No Archive data available
Connecting real time FTP
Normal running
- Pete
Automator
krash
Posts: 32
Joined: Tue 15 Dec 2015 7:39 am
Weather Station: PCE-FWS 20
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Madrid

Re: Problem in 3151

Post by krash »

Hi!!!!..

Similar crash on here at seconds of start with new version 3151..return to 3149... attach log mxdiag..

THX
You do not have the required permissions to view the files attached to this post.
-----MADRID (SPAIN)--------
http://cuatrotorres.ddns.net/
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Problem in 3151

Post by rogerthn »

Did see several

Code: Select all

050;1RSystem.ObjectDisposedException: Safe handle has been closed
  at System.Runtime.InteropServices.SafeHandle.DangerousAddRef (System.Boolean& success) [0x00025] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
  at System.Threading.NativeEventCalls.SetEvent (Microsoft.Win32.SafeHandles.SafeWaitHandle handle) [0x00002] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
  at System.Threading.EventWaitHandle.Set () [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
  at (wrapper remoting-invoke-with-check) System.Threading.EventWaitHandle.Set()
  at System.IOAsyncResult.set_IsCompleted (System.Boolean value) [0x00024] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
  at System.Net.Sockets.SocketAsyncResult.Complete () [0x00037] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
  at System.Net.Sockets.SocketAsyncResult.Complete (System.Int32 total) [0x00007] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
  at System.Net.Sockets.Socket.<BeginReceiveCallback>m__C (System.IOAsyncResult ares) [0x0007b] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
  at System.IOSelectorJob.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
050;1R
on "Cumulus screen"
Was started using

Code: Select all

screen -S Cumulus
cd /home/pi/CumulusMX
sudo mono CumulusMX.exe -debug
Enclosing mxdiag and ServiceConsoleLog.txt
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Problem in 3151

Post by HansR »

I did not update yet (and probably wait seeing this - but @pete_c has a different crash than the others.

@pete_c seems to have missed the update of the FluentFTP library so should redo his update (copy all files) and should then have the same crash as the others.

The common crash, as far as I can see and understand it, here has to do with the reuse of FTPS resource and apparently still has not been fixed so a return to the old lib probably should be advised. It is an issue related to FTPS and afaik can't be fixed just like that.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Problem in 3151

Post by water01 »

No problems with Build 3151 on Windows if that helps Mark.
David
Image
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Problem in 3151

Post by HansR »

@water01: depends on what FTP you use. It is dependent on the FTP server, not on the operating system. If you use SFTP you should have no problem at all.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
PaulMy
Posts: 3775
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Problem in 3151

Post by PaulMy »

Build 3151 on Windows 10 works ok for me. Using
Select the FTP Protocol to use: 0 - FTP (plain old FTP)
Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
pete_c
Posts: 228
Joined: Wed 12 Oct 2011 11:22 pm
Weather Station: Davis Vue-Pro2 - Fine Offset
Operating System: W2003-XPSP3-Linux
Location: Time Traveler

Re: Problem in 3151

Post by pete_c »

Thank you @HansR
- Pete
Automator
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Problem in 3151

Post by rogerthn »

HansR wrote: Sat 23 Oct 2021 8:58 am ... If you use SFTP you should have no problem at all.
Thanks HansR!
After

Code: Select all

cp -p /home/pi/.ssh/id_rsa /home/pi/CumulusMX
ssh-keygen -p -N "" -m pem -f /home/pi/CumulusMX/id_rsa
I could configure 3151 to use sftp and no more crashes :D
Image
Post Reply