Page 1 of 1
CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 7:43 am
by The Dalek Hunter
I have just updated to the latest 3.10.3 on my installation running on a Raspberry Pi Zero as a service.
I stopped CMX with sudo systemctl stop cumulusmx copied all the new files over the old files and then restarted with a sudo systemctl start cumulusmx.
No updates to my website happen and I am not able to access the Admin Interface.
When checking with sudo systemctl status cumulusmx I get the error -
CumulusMX.exe: Index was outside the bounds of the array
If I try a sudo mono CumulusMX.exe I get the error
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Int32 WSport) [0x01f4e] in <e5374d62bd7e4591847a6042233be333>:0
at CumulusMX.Program.Main (System.String[] args) [0x00205] in <e5374d62bd7e4591847a6042233be333>:0
Because I can't get there admin interface up I can't enable logging.
I will hold off updating the copy I have running on my Windows Micro PC!
Re: CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 8:50 am
by The Dalek Hunter
As an update - I have copied the working (non updated) version running on the Windows Micro PC to the Pi Zero and it is working fine so I know its not the Pi!
Re: CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 9:34 am
by mcrossley
That exception doesn't give me a lot to go on, it looks like it may be trying to start the internal web service.
Please run CumulusMX.exe with the -debug command line parameter, then post the resulting MXdiags log file and we'll see if there is any clues in that.
Re: CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 11:14 am
by philpugh
Mark,
I'm getting the same on my setup.
Attached is the debug log.
FWIW the :8998 interface is working correctly.
I haven't noticed any GW1000 timeouts before though.
Re: CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 11:17 am
by philpugh
Ooops...
Previous version was doing timeouts as well - this may be because I'm running on Pi ZeroW?
Phil
Re: CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 11:29 am
by The Dalek Hunter
HMMM.......
Working again now!
I updated the version I had copied from the Windows Machine and it works fine now.
As I have said this version is run on a headless Raspberry Pi Zero W and I presume somewhere along the way between downloading the new version and updating something somewhere got corrupted! Perhaps pushing the Pi Zero a bit too hard???
Anyway all is well!
Now to try updating the Windows Machine!!!!!
Re: CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 11:49 am
by philpugh
I have updated my other system (pi zero W and Davis VantageVue) and that is NOT giving the error. It appears to be running correctly.
I will try reloading the Froggit WH3000SE set up next - this is the one giving the errors for me (and also with the previous version of CumulusMX (b3117)
Phil
Re: CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 11:54 am
by philpugh
Full reload of the GW1000/Froggitt pi zerow and still getting the errors. Some sort of time-out issue?
Re: CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 11:55 am
by mcrossley
Phil thanks for the log file, I see what is wrong with v3.10.3, I've PM'd a test version for you to try...
Re: CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 12:45 pm
by mcrossley
Version 3.10.4 has been released to address the fatal issue identified by Phil above, it does not address the issue the OP of this thread is having though.
If you have a GW1000 do not install 3.10.3, update to 3.10.4 instead.
Re: CumulusMX.exe: Index was outside the bounds of the array
Posted: Mon 22 Mar 2021 2:07 pm
by The Dalek Hunter
Both Windows and Pi Zero copies working perfectly - many thanks