Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

CumulusMX freezes on Raspberry Pi

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
raffi79
Posts: 3
Joined: Wed Aug 02, 2017 4:04 pm
Weather Station: Davis
Operating System: Mac Os

CumulusMX freezes on Raspberry Pi

Postby raffi79 » Sun Nov 05, 2017 2:36 pm

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: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: CumulusMX freezes on Raspberry Pi

Postby steve » Sun Nov 05, 2017 3:44 pm

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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 6 guests