Hi All,
I have also noticed this too, I find it is very intermittent, it looks as though it needs a load of errors, before it sends the email.
I have attached my Cumulus MXdiags logs. I have also attached Cumulus MX Alarm Settings for your information to make sure I have got it setup right.
I hope this information is useful.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
PHP uploads failing
Moderator: mcrossley
-
- Posts: 355
- Joined: Wed 31 Dec 2008 1:56 pm
- Weather Station: Vantage Pro2 Plus Daytime FARS
- Operating System: Windows 11 Pro Version
- Location: Poole, Dorset UK
- Contact:
PHP uploads failing
You do not have the required permissions to view the files attached to this post.
Mike
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.4.0.1 build 4023
https://branksomeweather.co.uk
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.4.0.1 build 4023
https://branksomeweather.co.uk
- mcrossley
- Posts: 12951
- 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 Upload error not emailed
Mike, yours is different, every other upload fails on the first attempt, but works on a retry. If it works on retry it is not considered a failure, people would in inundated with emails if one were sent for every transient issue.
However, your PHP upload does appear to have some issues with that number of retries. Even on start-up the first connection to the server to test it supports compression sometimes fails. It maybe they are timing out, the error MX gets back is "task cancelled". If you turn on debug logging it may give a clue as it if that is due to timing out or the remote end terminating the connection.
As this is not FTP related, I'll split it off to a separate topic.
However, your PHP upload does appear to have some issues with that number of retries. Even on start-up the first connection to the server to test it supports compression sometimes fails. It maybe they are timing out, the error MX gets back is "task cancelled". If you turn on debug logging it may give a clue as it if that is due to timing out or the remote end terminating the connection.
As this is not FTP related, I'll split it off to a separate topic.
-
- Posts: 355
- Joined: Wed 31 Dec 2008 1:56 pm
- Weather Station: Vantage Pro2 Plus Daytime FARS
- Operating System: Windows 11 Pro Version
- Location: Poole, Dorset UK
- Contact:
Re: PHP uploads failing
Hello Mark,
Thank you for your reply. I have followed your instructions and turned on the debug logging. For your information, I hope you can find out what is causing the problem.
Thank you for your reply. I have followed your instructions and turned on the debug logging. For your information, I hope you can find out what is causing the problem.
You do not have the required permissions to view the files attached to this post.
Mike
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.4.0.1 build 4023
https://branksomeweather.co.uk
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.4.0.1 build 4023
https://branksomeweather.co.uk
- mcrossley
- Posts: 12951
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: PHP uploads failing
No added information there I'm afraid. My next step would be to look at the web server (and PHP if available) logs on your server.
-
- Posts: 355
- Joined: Wed 31 Dec 2008 1:56 pm
- Weather Station: Vantage Pro2 Plus Daytime FARS
- Operating System: Windows 11 Pro Version
- Location: Poole, Dorset UK
- Contact:
Re: PHP uploads failing
Hello Mark,
Thank you for having a look at the MXdiags log. That is a shame that no information showed up.
What does this mean in the MXdiags log just after the error message?
Exception Type: System.Threading.Tasks.TaskCanceledException
Message: A task was canceled.
Source: mscorlib
Stack Trace: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at CumulusMX.Cumulus.<UploadString>d__960.MoveNext()
Many Thanks for any information.
Mike
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.4.0.1 build 4023
https://branksomeweather.co.uk
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.4.0.1 build 4023
https://branksomeweather.co.uk
- mcrossley
- Posts: 12951
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: PHP uploads failing
It just means that the process MX started to perform the upload has been cancelled by the system. Unfortunately, it gives no information as to why it was cancelled.
-
- Posts: 355
- Joined: Wed 31 Dec 2008 1:56 pm
- Weather Station: Vantage Pro2 Plus Daytime FARS
- Operating System: Windows 11 Pro Version
- Location: Poole, Dorset UK
- Contact:
Re: PHP uploads failing
Hello Mark,
Thank you for the information once again.
I have had a look at the server, it is running PHP version: 8.1.27. Is the PHP logs, is it SSL logs by any chance? If it is, they all come back with code 200.
I can not see any other logs, the other one are about viewing the website etc.
I have got Intouch with Hostpresto about those errors, and they have whitelisted some Modsec rules again. So hopefully that will solve the problem.
Mike
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.4.0.1 build 4023
https://branksomeweather.co.uk
OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.4.0.1 build 4023
https://branksomeweather.co.uk
- mcrossley
- Posts: 12951
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: PHP uploads failing
I doubt it would be modesc rules as two uploads seem to work then it fails - could be wrong though.
I wonder if they have limited connection reuse to two uses? That would be unusually low number if they had.
I wonder if they have limited connection reuse to two uses? That would be unusually low number if they had.