Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

FTP..Weather station offline

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. 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
Hoeveld
Posts: 64
Joined: Thu 31 Dec 2020 10:18 am
Weather Station: Ecowitt WS80 & WH40 - GW1100
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Ponteland
Contact:

FTP..Weather station offline

Post by Hoeveld »

I have two websites, one out of the box https://metwatcher.co.uk/ which runs cumulusmx on a windows tablet, and another site https://pcmwx.com/ which runs using raspberry pi.

I'm quite a novice, so if it works I don't meddle or change anything. I avoid the dragon's at all costs.

Over the last 36 hours or so both sites, both running different versions of cumulus, using different hardware are failing to update regularly.

Metwatcher does update every 2 hours or so, pcmwx updates every 3 or 4 mins.

I attach log file.

Any advice would be much appreciated.

Cordially puzzled in Ponteland
You do not have the required permissions to view the files attached to this post.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: FTP..Weather station offline

Post by HansR »

Looking at the logfile you appear to have an issue with your webcam (updates):

Code: Select all

2024-12-06 10:07:46.487 CustomHttpSeconds[0]: Querying - <!-- webcam.io widget --> <script type="text/javascript">window.timelapseview_options=window.timelapseview_options || {};window.timelapseview_options["eqPBH"] = {"e":"Mpe8A9","t":"1","x":"680","y":"620"};</script><script src="https://webcam.io/s/widget-v1_03.load.js?i=eqPBH" async></script> <!-- end webcam.io widget -->
2024-12-06 10:07:46.487 CustomHttpSeconds: Error occurred
2024-12-06 10:07:46.492 CustomHttpSeconds: Error occurred - 
Exception Type: System.InvalidOperationException
Message: An invalid request URI was provided. Either the request URI must be an absolute URI or BaseAddress must be set.
Source: System.Net.Http
Stack Trace:    at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)
   at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
   at CumulusMX.Cumulus.CustomHttpSecondsUpdate()

I have no idea what is going on there but it seems to me that if that has a blocking timeout, your realtime updates will not be successful as it proves to be the case, see:

Code: Select all

2024-12-06 10:07:51.692 FTP[0]: Error uploading /realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2024-12-06 10:07:51.693 FTP[0]: Inner Exception: Timed out trying to connect!
Actually I do not see your webcam on Windy as it always was.
Another possibility is that your credentials for your server have become invalid?

So my twopence: repair your webcam thing and see how that works out.
And further: congrats with your physical move of the weather station, the site looks good.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP..Weather station offline

Post by mcrossley »

You appear to have pasted a load of HTML and JS into the CustomHttpSeconds URL field:

Code: Select all

<!-- webcam.io widget --> <script type="text/javascript">window.timelapseview_options=window.timelapseview_options || {};window.timelapseview_options["eqPBH"] = {"e":"Mpe8A9","t":"1","x":"680","y":"620"};</script><script src="https://webcam.io/s/widget-v1_03.load.js?i=eqPBH" async></script> <!-- end webcam.io widget -->
From that it looks like it should just be:

Code: Select all

https://webcam.io/s/widget-v1_03.load.js?i=eqPBH
Hoeveld
Posts: 64
Joined: Thu 31 Dec 2020 10:18 am
Weather Station: Ecowitt WS80 & WH40 - GW1100
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Ponteland
Contact:

Re: FTP..Weather station offline

Post by Hoeveld »

Gents,

Many thanks for taking the time to reply so promptly.

I've tidied up the webcam entries and disabled all third party uploads.

The sporadic upload still persists.

I attach copy of files detailing issues.

Any learned help or input would be gratefully received.

Paul
You do not have the required permissions to view the files attached to this post.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: FTP..Weather station offline

Post by HansR »

Yes, much better but indeed still errors. That might be a line/provider quality issue.

I noticed your ftp.log starts on the 7th and the MXdiags log starts the 8th. That makes - lots of data - analysis difficult and beyond that: I am not an FTP specialist so I am not sure what is happening here.

I'll leave this to an FTP specialist but it may be useful, to stop CMX, remove ftp.log and restart CMX. Then run for 10 minutes, stop CMX and post the FTP and MXdiags log again. This leaves both logs synchrone and smaller and thus easier to analyse. But maybe all others can do with the files you did send already.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Hoeveld
Posts: 64
Joined: Thu 31 Dec 2020 10:18 am
Weather Station: Ecowitt WS80 & WH40 - GW1100
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Ponteland
Contact:

Re: FTP..Weather station offline

Post by Hoeveld »

I have approached hosting company who advised no issues or changes regarding my credentials.

I attach two additional log files
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP..Weather station offline

Post by mcrossley »

It seems the uploads of the files to the tmp file start OK (it sends the filename and switches on EPSV), but when the FTP client actually tries to send the data it cannot connect to the server.

First thing I would try is disabling EPSV mode in Cumulus.

Internet Settings > Advanced Settings
- Enable Automatic Connection = unticked
- Disable EPSV mode in FTP(S) = ticked

Then restart Cumulus


The FTP server says it supports EPSV - well it accepts the command, but when you login FTP servers normally send a list features they support, this server does not do that.
Hoeveld
Posts: 64
Joined: Thu 31 Dec 2020 10:18 am
Weather Station: Ecowitt WS80 & WH40 - GW1100
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Ponteland
Contact:

Re: FTP..Weather station offline

Post by Hoeveld »

Thanks,

Changed the Advanced settings as requested.

Issue still prevails

Attached copy log files.

Just a reminder that up until 3 days or so everything worked as normal, the webcam pasted incorrect upload field has been there for many months.

And if it works I don't meddle.
You do not have the required permissions to view the files attached to this post.
Post Reply