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 4019) - 03 April 2024

Legacy Cumulus 1 release 1.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

Send Email

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
Mapantz
Posts: 1809
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Send Email

Post by Mapantz »

I have CMX set to send an email if a high gust is recorded. CMX locked up not long ago, and then crashed:

Code: Select all

2021-12-07 12:59:11.282 SendEmail: Error - System.IO.IOException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MailKit.Net.NetworkStream.<ReadAsync>d__34.MoveNext()
   --- End of inner exception stack trace ---
   at MailKit.Net.NetworkStream.<ReadAsync>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MailKit.Net.Smtp.SmtpStream.<ReadAheadAsync>d__39.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MailKit.Net.Smtp.SmtpStream.<ReadResponseAsync>d__46.MoveNext()
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Send Email

Post by mcrossley »

Hmm, it shouldn't have crashed, that is a caught error.

I take it the Send Test Email also fails?
User avatar
rogerthn
Posts: 516
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Send Email

Post by rogerthn »

Send Test Mail is failing as seen in the attached file.
SendTestMail.txt
PS
https://rogerthn.se/cumulusutils_2021/s ... oTable.txt
You do not have the required permissions to view the files attached to this post.
Image
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Send Email

Post by Phil23 »

Just tried test emails on both my Win10 & rPi installs & both Ok.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
freddie
Posts: 2473
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Send Email

Post by freddie »

rogerthn wrote: Tue 07 Dec 2021 7:27 pm Send Test Mail is failing as seen in the attached file.SendTestMail.txt
PS
https://rogerthn.se/cumulusutils_2021/s ... oTable.txt
I would try removing mono-complete in its entirety, and then reinstall mono-complete.
Freddie
Image
User avatar
rogerthn
Posts: 516
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Send Email

Post by rogerthn »

freddie wrote: Tue 07 Dec 2021 9:02 pm I would try removing mono-complete in its entirety, and then reinstall mono-complete.
OK, might consider this even if it will interrupt my weather monitoring for several minutes ;) ;)
Image
User avatar
rogerthn
Posts: 516
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Send Email

Post by rogerthn »

rogerthn wrote: Wed 08 Dec 2021 5:05 pm
freddie wrote: Tue 07 Dec 2021 9:02 pm I would try removing mono-complete in its entirety, and then reinstall mono-complete.
OK, might consider this even if it will interrupt my weather monitoring for several minutes ;) ;)

Code: Select all

sudo apt-get purge --auto-remove mono-complete
sudo init 6
sudo apt update
sudo apt upgrade
sudo init 6
sudo apt-get install mono-complete
Identical crash on Send Test Mail :(
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Send Email

Post by mcrossley »

I'm no mono expert, and the trace doesn't really give me much of clue what is causing the crash. But it is in Mono rather than Cumulus.

You did definitely copy the all the dlls from distribution zip?
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Send Email

Post by mcrossley »

And which version of mono have you got installed?
User avatar
rogerthn
Posts: 516
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Send Email

Post by rogerthn »

I did use my standard Cumulus MX upgrade steps
Get the zip file to the raspberry
Backup current CMX

Code: Select all

sudo rsync -av --delete CumulusMX/ CumulusMX_3154/
Ctrl-C to terminate CMX

Code: Select all

sudo rsync -av --delete CumulusMX/ CumulusMX_3154/

Code: Select all

unzip -o CumulusMXDist3159.zip
mono -V
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Mon Jul 12 07:04:24 UTC 2021)
i.e. raspbian bullseye version.
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Send Email

Post by mcrossley »

Did this work ok on the previous release?

Could you upgrade to the latest version of mono?
I am running 6.12.0 and do not see any problems
freddie
Posts: 2473
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Send Email

Post by freddie »

@mcrossley I'm on Mono 6.8 and don't have this happening.
Freddie
Image
User avatar
rogerthn
Posts: 516
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Send Email

Post by rogerthn »

I do think that I did verify Email Server Settings some time back.
Give me some time and I'll spin up an other server, VM or RPI.
There is one big advantage with Ecowitt GW1000, more than one can listen :D
Image
User avatar
rogerthn
Posts: 516
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Send Email

Post by rogerthn »

Something is "corrupted" on the old RPI.
Send Test Email OK on virtual bullseye using mono 6.8.0.105
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Send Email

Post by mcrossley »

Thanks for letting us know.
Post Reply