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

CumulusMX freezes on Raspberry Pi

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
raffi79
Posts: 7
Joined: Wed 02 Aug 2017 4:04 pm
Weather Station: Davis
Operating System: Mac Os

CumulusMX freezes on Raspberry Pi

Post by raffi79 »

Hi all of you,

could anyone of you meet with this kind of problem on Raspberry? MY connection with the station freezes every few hours and I need to restart it. Every time I can see the error below:

pi@raspberrypi:~/CumulusMX $ sudo mono CumulusMX.exe
Current culture: English (United Kingdom)
Serial: ****
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-10-31T23:09:00
Connected to station
23:10:58 Downloading Archive Data
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
31/10/2017 23:10:59
Type Ctrl-C to terminate
23:11:01 Downloading Archive Data
23:11:07 Normal running
System.IO.IOException: Unable to write data to the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer
at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00030] in <bd46d4d4f7964dfa9beea098499ab597>:0
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000b4] in <bd46d4d4f7964dfa9beea098499ab597>:0
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00107] in <bd46d4d4f7964dfa9beea098499ab597>:0
at CumulusMX.DavisStation.SendLoopCommand (System.Net.Sockets.TcpClient tcpPort, System.String commandString) [0x00059] in <e5374d62bd7e4591847a6042233be333>:0
at CumulusMX.DavisStation.Start () [0x000e6] in <e5374d62bd7e4591847a6042233be333>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate


Thank you very much in advance for your help!
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX freezes on Raspberry Pi

Post by steve »

Something is causing the connection between Cumulus and your logger to be disconnected, Cumulus does not recover from this, see other posts about this.

Does your logger upload to weatherlink.com? This can cause the connection to be disconnected. Using the disconnect period in Cumulus may help.
Steve
raffi79
Posts: 7
Joined: Wed 02 Aug 2017 4:04 pm
Weather Station: Davis
Operating System: Mac Os

Re: CumulusMX freezes on Raspberry Pi

Post by raffi79 »

hey, thank you very much for your help. I was trying to solve it on many ways like upgrade the firmware, I disconnected upload to weatherlink.com and it it still this same.

In this error you can see the information: "please zip up the MXdiags folder and post it in the forum" so could you please look at this file?

Thank you very much in advance for your help.
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX freezes on Raspberry Pi

Post by steve »

Sorry, there's nothing in that file to indicate a problem. There is no exception like the one you posted above. The file ends at 19:55 today (21st November) - is that when you last experienced a problem?
Steve
User avatar
ConligWX
Posts: 1570
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: CumulusMX freezes on Raspberry Pi

Post by ConligWX »

Perhaps enabling debugging and start again may log something more?
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
Locked