Page 1 of 2

Build 4083

Posted: Sun 09 Mar 2025 1:27 pm
by water01
Latest Build 4083 (V4 release 4.4.0) up and running on Windows 10 / Windows 11 and Synology NAS.

Re: Build 4083

Posted: Sun 09 Mar 2025 1:50 pm
by Dador
I tested the new version on 2 instances for Davis+loggerUSB and Ecowitt+gateway GW1000.
In both cases I have the same error.
This results in realtime data not being sent to the server.

Code: Select all

Exception Type: System.AggregateException
Message: One or more errors occurred. (Value cannot be null. (Parameter 'logger'))
Source: System.Private.CoreLib
Stack Trace:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at CumulusMX.Cumulus.RealtimeTimerTick(Object sender, ElapsedEventArgs elapsedEventArgs)
Inner Exception... 

Exception Type: System.ArgumentNullException
Message: Value cannot be null. (Parameter 'logger')
Source: Microsoft.Extensions.Logging.Abstractions
Stack Trace:    at System.ThrowHelper.Throw(String paramName)
   at System.ThrowHelper.ThrowIfNull(Object argument, String paramName)
   at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args)
   at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, String message, Object[] args)
   at Microsoft.Extensions.Logging.LoggerExtensions.LogInformation(ILogger logger, String message, Object[] args)
   at CumulusMX.Cumulus.LogFtpMessage(String message, Boolean realTime)
   at CumulusMX.Cumulus.RealtimeUpload(Byte cycle)

Re: Build 4083

Posted: Sun 09 Mar 2025 2:04 pm
by mcrossley
Hmm, I'm away from my computer at the moment. Do you have debug logging enabled? If not please try editing your cumulus.ini file and setting...

Code: Select all

[Station]
logging=1
Then try starting again MX again.

Re: Build 4083

Posted: Sun 09 Mar 2025 2:18 pm
by Dador
I always have this setting.

Every time I try to send realtime to the server, the following prompt appears.

Code: Select all

Realtime[5]: Error during realtime upload. - Value cannot be null. (Parameter 'logger')
Realtime[4]: Error during realtime upload. - Value cannot be null. (Parameter 'logger')
Realtime[3]: Error during realtime upload. - Value cannot be null. (Parameter 'logger')
Realtime[2]: Error during realtime upload. - Value cannot be null. (Parameter 'logger')
Realtime[1]: Error during realtime upload. - Value cannot be null. (Parameter 'logger')
Realtime[0]: Error during realtime upload. - Value cannot be null. (Parameter 'logger')

Re: Build 4083

Posted: Sun 09 Mar 2025 2:20 pm
by mcrossley
Ok, do you have FTP logging enabled? Try enabling that.

Re: Build 4083

Posted: Sun 09 Mar 2025 2:29 pm
by Dador
This is it!

Thx.

Re: Build 4083

Posted: Sun 09 Mar 2025 2:38 pm
by PaulMy
Hi Mark,
I get the same error message:

Code: Select all

2025-03-09 10:12:06.244 Realtime[0]: Real time files complete
2025-03-09 10:12:06.247 Realtime[0]: Error during realtime upload.
2025-03-09 10:12:06.256 Realtime[0]: Error during realtime upload. - 
Exception Type: System.AggregateException
Message: One or more errors occurred. (Value cannot be null. (Parameter 'logger'))
Source: System.Private.CoreLib
Stack Trace:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at CumulusMX.Cumulus.RealtimeTimerTick(Object sender, ElapsedEventArgs elapsedEventArgs)
Inner Exception... 

Exception Type: System.ArgumentNullException
Message: Value cannot be null. (Parameter 'logger')
Source: Microsoft.Extensions.Logging.Abstractions
Stack Trace:    at System.ThrowHelper.Throw(String paramName)
   at System.ThrowHelper.ThrowIfNull(Object argument, String paramName)
   at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args)
   at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, String message, Object[] args)
   at Microsoft.Extensions.Logging.LoggerExtensions.LogInformation(ILogger logger, String message, Object[] args)
   at CumulusMX.Cumulus.LogFtpMessage(String message, Boolean realTime)
   at CumulusMX.Cumulus.RealtimeUpload(Byte cycle)


2025-03-09 10:12:06.256 Realtime[0]: Execute realtime program - C:\KomokaWeather\CumulusMXwll\snowDisplay\bin\snowQuery.exe, with parameters - C:\KomokaWeather\CumulusMXwll\snowDisplay\bin\snowQuery.exe
2025-03-09 10:12:06.261 Realtime[0]: End cycle
MXdiags attached for WLL install. The same error on Davis IP logger install.

Enjoy,
Paul

Re: Build 4083

Posted: Sun 09 Mar 2025 2:50 pm
by mcrossley
Did you have FTP enabled for the Beta versions?

Re: Build 4083

Posted: Sun 09 Mar 2025 2:54 pm
by PaulMy
Hi Mark,
No, FTP logging was not enabled (as I was using PHP uploads)

Enjoy,
Paul

Re: Build 4083

Posted: Sun 09 Mar 2025 3:01 pm
by mcrossley
It's a simple fix, I'm surprised we didn't hit this in the beta test though!

I'll push out 4.4.1 later to fix it.

Re: Build 4083

Posted: Sun 09 Mar 2025 3:06 pm
by weatherbee
Since upgrading to release 4.4 I've been getting
2025-03-09 11:00:00 - GetEcowittVideoUrl: Warning - URL requested, but no camera MAC address is configured
2025-03-09 11:00:00 - GetEcowittCameraUrl: Warning - URL requested, but no camera MAC address is configured

I'm just wondering how I can avoid this error since I don't have an Ecowitt camera.
Thanks,
Tom

Re: Build 4083

Posted: Sun 09 Mar 2025 3:25 pm
by mcrossley
You must have something configured that is trying to get the camera and video URLs either via the web tags, or the local API?

Re: Build 4083

Posted: Sun 09 Mar 2025 3:29 pm
by weatherbee
I didn't change anything from the previous release.
I can't find anywhere I could set a camera mac address. The only mac address asked for that I can see is the GW3000 mac address.
Tom

Re: Build 4083

Posted: Sun 09 Mar 2025 3:31 pm
by mcrossley
It looks like it is happening when uploading CUtags - if the tags are in there comment them out.

Re: Build 4083

Posted: Sun 09 Mar 2025 3:37 pm
by HansR
@weatherbee: could you post the meteocam part of your cumulusutils.ini file AND the files meteocamrealtime.txt and meteocam.txt please? I would like to exclude something in CUtils.