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

Help requested please FTP up-load problem

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
Dennisdg
Posts: 220
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Help requested please FTP up-load problem

Post by Dennisdg »

My ISP sent me a new router which seems to work, however since it was installed Cumulus reports various Connection refused messages.
I am using the plain old FTP to upload.
I have turned off the router's Filewall but this didn't help.
Filezilla also confirms the web uploads are not getting through to my server.

Help is much appreciated.

Thanks


2023-05-27 223002.159 FTP[Int] Erro.txt.zip
You do not have the required permissions to view the files attached to this post.
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
BigOkie
Posts: 273
Joined: Tue 28 May 2013 1:06 am
Weather Station: Davis VP2 Plus
Operating System: Raspian Buster (RPi 3b)
Location: Tulsa, OK

Re: Help requested please FTP up-load problem

Post by BigOkie »

It almost looks like the server isn't accepting passive connections (which is why the connection port is in the 63000 range; that's where the passive ports are).

Can you try using SFTP instead? I'm not sure if Cumulus has an option for passive FTP (I've never tried it) and not sure it would even matter.

Just a thought.
Dennisdg
Posts: 220
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Re: Help requested please FTP up-load problem

Post by Dennisdg »

Thanks, I've tried using SFP and get similar messages like connection refused.
So no further forward.
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
water01
Posts: 3295
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Help requested please FTP up-load problem

Post by water01 »

With both FTPS and SFTP you have to have valid user and a password. You don't say what version you are on but have you tried the new PHP upload, works well and is fast.
David
Image
User avatar
PaulMy
Posts: 3876
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Help requested please FTP up-load problem

Post by PaulMy »

Hi,
I don't know much about FTP but have learned the file and paths must be correct. Your MXdiags shows:

Code: Select all

2023-05-27 22:30:14.503 FTP[Int]: Error uploading /public_html/raindata.json : Error while uploading the file to the server. See InnerException for more info.
2023-05-27 22:30:14.503 FTP[Int]: Inner Exception: Code: 425 Message: Could not open data connection to port 63235: Connection refused
so presume your FTP settings for Remote FTP Directory: is /public_html.
Try it without the / slash so just public_html as that is what I have.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
Dennisdg
Posts: 220
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Re: Help requested please FTP up-load problem

Post by Dennisdg »

water01
I have been using the plain old FTP to upload and worked for many years.
Would like the system to work 100% before trying the new PHP upload. I read somewhere that not all hosting companies currently allow it.
I do have a valid user name and password. I can access the web server using Filezilla but the upload files are not getting in.
I am using Cumulus v3.25.1 (b3244)

Paul
You are correct my FTP settings for Remote FTP Directory: is /public_html
I have tried removing the / just leaving public_html and again Connection refused with various port numbers shown.

This problem only started after I replaced my router provided by my ISP so perhaps thats where where the issue is. Unfortunately I cannot put back the old router as its 'settings' at their end has been removed.
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
freddie
Posts: 2506
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: Help requested please FTP up-load problem

Post by freddie »

If you can connect to your site using FileZilla from the same network then your router is unlikely to be the problem - provided you are using FTP in FileZilla too.

If FileZilla works then I would check the settings you use in that program and duplicate them in CumulusMX.

I would definitely ensure your router firewall is never left switched off.
Freddie
Image
SamiS
Posts: 394
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Help requested please FTP up-load problem

Post by SamiS »

Dennisdg wrote: Sun 28 May 2023 3:58 pm This problem only started after I replaced my router provided by my ISP so perhaps thats where where the issue is. Unfortunately I cannot put back the old router as its 'settings' at their end has been removed.
Some routers have intelligent support for some applications like ftp, and they adjust their firewall, nat and portforwarding automatically without user even knowing about it. I would guess it seems that the new one is not so smart as the old one was, or the feature is just disabled on the new one. Look for application layer gateway (alg) or nat passthrough for ftp or something similar.

But at first you could try change your Cumulus settings to use passive ftp instead of active. The settings are hidden under internet settings - web/upload site - advanced settings. Check that Enable active ftp(s) is not selected. Also enable automatic connection usually should not be selected. After saving the settings restart of Cumulus might be needed to take settings in effect. Of course you can test the automatic connection detection if all else fails.
Last edited by SamiS on Sun 28 May 2023 5:49 pm, edited 1 time in total.
Dennisdg
Posts: 220
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Re: Help requested please FTP up-load problem

Post by Dennisdg »

freddie

Thanks for your comments.

Router's firewall is now back on - thanks.

Checked and the same settings FTP, user name, host, password and port number used in Cululux and Filezilla.

I'll try and speak to my ISP tech people tomorrow.
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
SamiS
Posts: 394
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Help requested please FTP up-load problem

Post by SamiS »

One more thing came to my mind after my last post. If you are running on windows, could the router change have also changed your Windows firewall profile from home/work to public and therefore block Cumulus from connecting?
Dennisdg
Posts: 220
Joined: Tue 07 Feb 2012 9:42 am
Weather Station: Davis Vantage PRO2
Operating System: Windows 11 Pro 64 Bit
Location: Camberley

Re: Help requested please FTP up-load problem

Post by Dennisdg »

Many thanks for all your help.
Finally back up and running, thanks to SamiS. Enable active ftp was set (always has been) now unticked.

Great support from all of you.

Best wishes
Dennis

https://g4glp.co.uk

Davis Vantage PRO2
Win 11 Pro 64 bit
SamiS
Posts: 394
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Help requested please FTP up-load problem

Post by SamiS »

Glad to hear it is sorted.

Active ftp is a tricky protocol since it requires dynamic inbound connections from the server to the client through nat and/or firewalls, so it should not be used anymore really. Opening the necessary ports from firewall or doing port forwarding will cause security issues.

However on passive mode all ftp connections are opened from client to server, so it is much more compatible with nat and firewalls. Of course it is still plaintext readable, so not very secure either.
Post Reply