If you use Cumulus, please donate Image

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

MX on MacOS 10.12.4 Sierra - Crash Report

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
swirlingair
Posts: 5
Joined: Fri Jul 15, 2016 9:19 pm
Weather Station: Davis Vantage Vue
Operating System: Mac OS X 10.12
Location: Herefordshire, UK
Contact:

MX on MacOS 10.12.4 Sierra - Crash Report

Postby swirlingair » Sun Apr 16, 2017 12:59 pm

Hi,

CumulusMX 3.0.0 Build 3043 is crashing quite frequently on my iMac. MDdiags.zip is attached.

Thanks,

Martin.
You do not have the required permissions to view the files attached to this post.

User avatar
steve
Cumulus Author
Posts: 25821
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: MX on MacOS 10.12.4 Sierra - Crash Report

Postby steve » Sun Apr 16, 2017 3:47 pm

You have a problem with the TCP/IP connection to the logger, it keeps being closed down. MX has no code in it to recover from this.

One possibe cause of the connection being closed is when the logger wants to do something else network related, e.g. upload to weatherlink.com. You've set a periodic disconnect time of 2 seconds, so presumably you are uploading to weatherlink.com - it could well be that 2 seconds isn't long enough to allow the upload. The fact that the exceptions occur 4, 5 or 6 seconds after the minute backs that up.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

swirlingair
Posts: 5
Joined: Fri Jul 15, 2016 9:19 pm
Weather Station: Davis Vantage Vue
Operating System: Mac OS X 10.12
Location: Herefordshire, UK
Contact:

Re: MX on MacOS 10.12.4 Sierra - Crash Report

Postby swirlingair » Mon Apr 17, 2017 9:23 am

Thank you very much for your quick and helpful reply.

I am indeed uploading to weatherlink.com.

I've now set the disconnect time to 30 sec and will see how that goes; 10 sec didn't work, although MX stayed up for longer than it did yesterday. So far (after about 15 mins - far longer than MX stayed up yesterday), all is well, and the setting doesn't seem to have affected the reliability of my upload to weatherlink.

If this doesn't work, can I safely try increasing it further? Is there a better solution I could try?

For a number of months, I've been using Cumulus without any problem at all on Windows 10 in a VMWare Fusion virtual machine; however, I would now like to run a Linux VM instead of Windows, hence my reason for trying MX.

Thank you again for your help.

User avatar
steve
Cumulus Author
Posts: 25821
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: MX on MacOS 10.12.4 Sierra - Crash Report

Postby steve » Mon Apr 17, 2017 10:06 am

30 seconds is rather long. It means that MX isn't getting any data for 50% of the time. The best solution would be to turn off uploads to weatherlink.com!

A future build of MX may include code to retry logger connections, so that would allow a smaller value for the disconnect period - MX would just keep trying to connect until the logger has finished the upload (which is apparently what the Davis DLL used by Cumulus 1 does).
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

swirlingair
Posts: 5
Joined: Fri Jul 15, 2016 9:19 pm
Weather Station: Davis Vantage Vue
Operating System: Mac OS X 10.12
Location: Herefordshire, UK
Contact:

Re: MX on MacOS 10.12.4 Sierra - Crash Report

Postby swirlingair » Mon Apr 17, 2017 11:17 am

Afraid 30 sec hasn't worked either, although MX did run for over an hour this time!

I would be prepared to do this; the other things MX does for me are far more important. Sorry if this is a stupid question, but what's the safest way of killing uploads to weatherlink without affecting anything else? What changes should I then make to MX?

User avatar
steve
Cumulus Author
Posts: 25821
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: MX on MacOS 10.12.4 Sierra - Crash Report

Postby steve » Mon Apr 17, 2017 12:01 pm

I believe you turn off uploads to weatherlink.com using the logger's browser interface. You then just need to set the periodic disconnect interval in MX to zero.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

swirlingair
Posts: 5
Joined: Fri Jul 15, 2016 9:19 pm
Weather Station: Davis Vantage Vue
Operating System: Mac OS X 10.12
Location: Herefordshire, UK
Contact:

Re: MX on MacOS 10.12.4 Sierra - Crash Report

Postby swirlingair » Mon Apr 17, 2017 12:35 pm

Thank you; I'll have a look although, having the Davis WeatherlinkIP hardware, I'm not sure that I can.

I've found another possible cause of my problem: it appears that I had set both Weatherlink *and* Cumulus to upload data to Weather Underground; could this have caused the port to get closed? In any case, I've stopped Weatherlink from doing that. In fact, I've stopped Weatherlink from doing *all* uploads to any other site and set MX to do it instead. I'll now try reducing the disconnect time to a lower figure (10 sec) and see what happens.

User avatar
steve
Cumulus Author
Posts: 25821
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: MX on MacOS 10.12.4 Sierra - Crash Report

Postby steve » Mon Apr 17, 2017 12:42 pm

swirlingair wrote:Thank you; I'll have a look although, having the Davis WeatherlinkIP hardware, I'm not sure that I can.
Yes, you do it using the WeatherlinkIP browser interface (I can't remember the details, it may just involve putting the address of your WeatherlinkIP into your browser - I can't remember whether it uses the standard http port (80)).

I've found another possible cause of my problem: it appears that I had set both Weatherlink *and* Cumulus to upload data to Weather Underground; could this have caused the port to get closed?
No, because the way that works (as I understand it) is that the weatherlink.com site does the upload to Weather Underground, your logger still just uploads to weatherlink.com. It is possible, I suppose, that having uploads to WU set may make the upload to weatherlink.com take longer, but I don't know enough about the mechanism.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

swirlingair
Posts: 5
Joined: Fri Jul 15, 2016 9:19 pm
Weather Station: Davis Vantage Vue
Operating System: Mac OS X 10.12
Location: Herefordshire, UK
Contact:

Re: MX on MacOS 10.12.4 Sierra - Crash Report

Postby swirlingair » Mon Apr 17, 2017 1:28 pm

Thank you once again for your extensive help; I'm extremely grateful.

I've now discontinued uploads to Weatherlink and set the disconnect period to 0, so I'll see how that goes; so far, so good :)

Update at 20:05 BST : Cumulus MX still running perfectly.

Final update 18-Apr-2017 16:22 : Cumulus still running perfectly after 25 hrs. I'm very happy with its performance and facilities and, once again, I'm extremely grateful for your help.


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 3 guests