Page 2 of 3
Re: 3204 crash
Posted: Sat 03 Sep 2022 4:15 pm
by mcrossley
The email log file should be in the mxdiags folder - smtp.log
I am running mono 6.12.0.182 and just tested it again on my rPi 4 and the email was sent OK
Re: 3204 crash
Posted: Sat 03 Sep 2022 4:52 pm
by philpugh
Mark
I can confirm there's an issue.
Trying on one of the systems (GW2001) I sent an alarm test email (via outlook.com) and the pop up on the dashboard came back with :
Test email failed: Object reference not set to an instance of an object.
And the log file has
2022-09-03 17:33:07.780 Sending test email...
2022-09-03 17:33:07.782 Object reference not set to an instance of an object.
but it does keep on working!
Re: 3204 crash
Posted: Sat 03 Sep 2022 4:55 pm
by HansR
Yes, I upgraded to mono 6.12.0.182 and the mail is now received. No crash. So: problem solved.
But now I can't send files - FTPS - from my CumulusUtils anymore
I am seriously beginning to dislike some libraries and mono.
Re: 3204 crash
Posted: Sat 03 Sep 2022 5:03 pm
by philpugh
So I bit the bullet and did it on my main system (WH65) and that crashed.
The log file simply had
2022-09-03 17:53:19.710 Sending test email...
2022-09-03 17:53:19.726 SendEmail: Sending Test email, to [
xxxxx1@outlook.com], subject [Cumulus MX Test Email], body [A test email from Cumulus MX.]...
blanked out my email address - I have several!
That was all - no other information Console logs looked ok BUT the ServiceConsoleLog-Old.txt was not at the correct time/date - it looks like it crashed before writing the old log. Also although I had set the log SMTP flag - no log was produced.
Both systems (GW2011 and WH65) are running on the same RPi 4 Bullseye, Mono version: 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Mon Jul 12 07:04:24 UTC 2021)
Re: 3204 crash
Posted: Sat 03 Sep 2022 5:15 pm
by HansR
philpugh wrote: ↑Sat 03 Sep 2022 5:03 pm
Both systems (GW2011 and WH65) are running on the same RPi 4 Bullseye, Mono version: 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Mon Jul 12 07:04:24 UTC 2021)
It is the mono version @Phil.
Apparently 6.12 has become a prerequisite for CMX.
I think that must be communicated as such.
Re: 3204 crash
Posted: Sat 03 Sep 2022 5:37 pm
by philpugh
Can confirm Hans' finding - latest stable Mono allows emails to be sent.
Re: 3204 crash
Posted: Sat 03 Sep 2022 5:49 pm
by philpugh
Oh.... and ignore the error on GW2001 - I hadn't set up the SMTP info - I have now and it is working also

Re: 3204 crash
Posted: Sat 03 Sep 2022 6:09 pm
by mcrossley
Yes mono is becoming an increasing pain, especially as people are shifting focus to .Net 5 & 6 and abandoning Framework.
Re: 3204 crash
Posted: Sat 03 Sep 2022 6:15 pm
by mcrossley
HansR wrote: ↑Sat 03 Sep 2022 5:15 pm
Apparently 6.12 has become a prerequisite for CMX.
I think that must be communicated as such.
I've added a note to the release announcement.
Now we have this resolved, I will release a patch for the other issues in 3.21.0 tomorrow...
Re: 3204 crash
Posted: Mon 05 Sep 2022 5:08 pm
by rogerthn
I'm running bullseye on my RPI 4 with mono 6.8.0.105
Code: Select all
uname -a
Linux PI4 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 GNU/Linux
Code: Select all
mono -V
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Tue Jun 29 21:11:52 UTC 2021)
Sending test email OK
Code: Select all
2022-09-05 19:03:16.700 Test email sent without error
Cumulus MX v.3.21.1 build 3205
3204 was OK as well
Re: 3204 crash
Posted: Mon 05 Sep 2022 5:09 pm
by mcrossley
Are you using Gmail?
Re: 3204 crash
Posted: Mon 05 Sep 2022 5:12 pm
by rogerthn
mcrossley wrote: ↑Mon 05 Sep 2022 5:09 pm
Are you using Gmail?
No, local postfix

Re: 3204 crash
Posted: Mon 05 Sep 2022 5:30 pm
by freddie
rogerthn wrote: ↑Mon 05 Sep 2022 5:12 pm
mcrossley wrote: ↑Mon 05 Sep 2022 5:09 pm
Are you using Gmail?
No, local postfix
Same here - but I upgraded to 6.12 without testing whether 6.8 worked!
Re: 3204 crash
Posted: Mon 05 Sep 2022 5:38 pm
by mcrossley
I think it will depend on the encryption algorithm your provider wants to negotiate. The newer algorithms needing the latest version of mono.
Re: 3204 crash
Posted: Mon 05 Sep 2022 7:39 pm
by rogerthn
mcrossley wrote: ↑Mon 05 Sep 2022 5:38 pm
I think it will depend on the encryption algorithm your provider wants to negotiate. The newer algorithms needing the latest version of mono.
OK
I wasn't telling the full trues
Screenshot 2022-09-05 213626.png
exim4 on cmx RPI with dc_smarthost=<postfix server>