Page 1 of 1

CumulusMX freezes on Raspberry Pi

Posted: Sun 05 Nov 2017 2:36 pm
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!

Re: CumulusMX freezes on Raspberry Pi

Posted: Sun 05 Nov 2017 3:44 pm
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.

Re: CumulusMX freezes on Raspberry Pi

Posted: Tue 21 Nov 2017 7:06 pm
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.

Re: CumulusMX freezes on Raspberry Pi

Posted: Tue 21 Nov 2017 8:13 pm
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?

Re: CumulusMX freezes on Raspberry Pi

Posted: Tue 21 Nov 2017 9:03 pm
by ConligWX
Perhaps enabling debugging and start again may log something more?