Page 1 of 1

CumulusMX and 1and1 Hosting

Posted: Mon 04 Nov 2019 12:28 am
by CamarilloWX
Hi All,

Longtime Cumulus 1 user here that until recently used Godaddy as my host. I recently moved to 1and1 due to some technical issues with GoDaddy. I have been dragging my feet migrating from Cumulus 1 to CumulusMX but it seems that now would be a good time because 1and1 does not allow ftp connections, only sftp. I loaded CumulusMX and I have been beating my head against a wall trying to get the sftp portion working. Everything works fine moving files with FileZilla and SCP but when I use the same parameters in CumulusMX the files do not make it to where they should be on the host. Is there anyone using CumulusMX and 1and1 as a host that can tell me how they got it working?

Thanks,

Eric

Re: CumulusMX and 1and1 Hosting

Posted: Mon 04 Nov 2019 10:18 am
by mcrossley
I'd turn on FTP logging in the settings, configure it as you think it should be, let it run for a little while (so you capture a failure or two). Then zip up your MXdiags folder and add the ftplog file from the CMX root folder and post it here so we can take a look.

Re: CumulusMX and 1and1 Hosting

Posted: Mon 04 Nov 2019 11:04 am
by freddie
Doesn't MX use FTPS not SFTP?

Re: CumulusMX and 1and1 Hosting

Posted: Mon 04 Nov 2019 1:11 pm
by mcrossley
Correct. A quick Google shows 1 and 1 seem to use SFTP for Linux hosting and FTPS for Windows hosting packages

Re: CumulusMX and 1and1 Hosting

Posted: Mon 04 Nov 2019 3:46 pm
by freddie
I can confirm that 1&1 Linux hosting uses SFTP - this site is running on one. I've never used a Windows offering....

Re: CumulusMX and 1and1 Hosting

Posted: Mon 04 Nov 2019 6:11 pm
by nick_f
Hi
I had a site running on 1&1 with no issues. Account was set to use FTP port 21 but that's no longer allowed you need SFTP on port 22, i am assuming cumulus internet settings allow setting of SFTP as FTP was deprecated a few years ago, as its not a safe protocol.
for cumulus host name i had my domain url and the user name and password you get from your control panel in 1&1, you need to create an account if not one already there. I also had a separate directory \weather to place all the files.
As my station has been offline for a while and my version of MX is old I can't test for you.

Regards
Nick

Re: CumulusMX and 1and1 Hosting

Posted: Mon 04 Nov 2019 6:31 pm
by freddie
nick_f wrote: Mon 04 Nov 2019 6:11 pmi am assuming cumulus internet settings allow setting of SFTP as FTP was deprecated a few years ago, as its not a safe protocol.
Cumulus MX doesn't support SFTP, but it does support FTPS.

Re: CumulusMX and 1and1 Hosting

Posted: Sun 10 Nov 2019 1:57 am
by CamarilloWX
Thanks for all the replies. The move to 1and1 was triggered by some issues at GoDaddy and it is proving to be far more painful than anticipated. It would seem that as pointed out, I probably have a protocol issue. I previously used Cumulus 1 with GoDaddy and FTP. When I moved to 1and1 it would not accept FTP. I have never used FTPS or SFTP and when I began trying to implement the change to CumulusMX I did not note that FTPS and SFTP are two different protocols. Prior to posting I was changing various items in the internet settings of CumulusMX and checking the ftplog as suggested by mcrossley but there was nothing in it that was obviously an error. Now it looks like I have incompatible products, CumulusMX uses FTPS and 1and1 Linux hosting uses SFTP. I had hoped to stick with CumulusMX using a secure FTP method since I really liked Cumulus 1. I am currently using WinSCP to move the realtime file over and I guess I will add the other files for now. So my questions now:

Are there any plans to add SFTP as an option to CumulusMX?
I am going to look around for what other files need to be sent with WinSCP but is there a list of what CumulusMX moves during a normal processing period?

Thanks

Re: CumulusMX and 1and1 Hosting

Posted: Mon 11 Nov 2019 8:22 pm
by ExperiMentor
freddie wrote: Mon 04 Nov 2019 3:46 pm I can confirm that 1&1 Linux hosting uses SFTP - this site is running on one. I've never used a Windows offering....
But doesn't Freddie's post here mean that he has CumulusMX running under Linux and sending SFTP to 1&1 successfully?
Either I'm misreading something or we need more details from Freddie as to how to get it working ...

Re: CumulusMX and 1and1 Hosting

Posted: Mon 11 Nov 2019 9:01 pm
by freddie
ExperiMentor wrote: Mon 11 Nov 2019 8:22 pm
freddie wrote: Mon 04 Nov 2019 3:46 pm I can confirm that 1&1 Linux hosting uses SFTP - this site is running on one. I've never used a Windows offering....
But doesn't Freddie's post here mean that he has CumulusMX running under Linux and sending SFTP to 1&1 successfully?
Either I'm misreading something or we need more details from Freddie as to how to get it working ...
You're misreading it. I was just agreeing that 1&1 hosting uses SFTP rather than FTP. I don't actually send anything to my 1&1 host - I proxy calls to my website back into my MX host sat on my internal network.

I made a later post mentioning that MX supports FTPS and not SFTP. See below:
freddie wrote: Mon 04 Nov 2019 6:31 pmCumulus MX doesn't support SFTP, but it does support FTPS.

Re: CumulusMX and 1and1 Hosting

Posted: Wed 04 Dec 2019 10:51 pm
by CamarilloWX
Thanks for the help so far. I am still working on getting CumulusMX to work with 1and1 linux hosting. As previously discussed, CumulusMX uploads files via FTP or FTPS and 1and1 linux hosting only supports SFTP. I found an application called Bitvise Client that includes an FTP-SFTP bridge. It's available at https://www.bitvise.com/ssh-client for those that are interested. FTP to SFTP Bridge Configuration instructions can be found at https://www.bitvise.com/ftp-bridge. I have the Bitvise application loaded and can connect to my hosting account. I am able to transfer files with Bitvise but I am having some difficulty setting up CumulusMX to FTP the files to the localhost. I have the CumulusMX Internet Settings setup as follows:

Host name localhost
FTP port 21
Directory
Username
Password
Forum URL
Webcam URL

I have never set up anything to interact with a localhost so I am not really sure how it is supposed to work. I looked in the FTP log and it appears to be sending the files but I am not sure where it is sending them. Bitvise is looking for the files to be FTP'd but I am not sure where to configure Bitvise to look. Any help would be appreciated. I have pasted a portion of the ftp log below. Thanks.

Code: Select all

# Connect()
Status:   Connecting to ::1:21
Status:   Disposing FtpSocketStream...

# GetWorkingDirectory()

# Connect()
Status:   Connecting to ::1:21
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:09:39.348 Uploading realtime.txt to realtime.txt

# OpenWrite("realtime.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:09:40.473 Uploading web\realtimegauges.txt to realtimegauges.txt

# OpenWrite("realtimegauges.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

# GetWorkingDirectory()
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:09:49.299 Uploading realtime.txt to realtime.txt

# OpenWrite("realtime.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:09:50.316 Uploading web\realtimegauges.txt to realtimegauges.txt

# OpenWrite("realtimegauges.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

# GetWorkingDirectory()
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:09:59.306 Uploading realtime.txt to realtime.txt

# OpenWrite("realtime.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:00.327 Uploading web\realtimegauges.txt to realtimegauges.txt

# OpenWrite("realtimegauges.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:04.656 CumulusMX Connecting to localhost

# Connect()
Status:   Connecting to ::1:21
Status:   Disposing FtpSocketStream...
2019-12-04 14:10:05.662 Disconnected from localhost

# Dispose()
Status:   Disposing FtpClient object...
Status:   Disposing FtpSocketStream...

# GetWorkingDirectory()
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:09.307 Uploading realtime.txt to realtime.txt

# OpenWrite("realtime.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:10.325 Uploading web\realtimegauges.txt to realtimegauges.txt

# OpenWrite("realtimegauges.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

# GetWorkingDirectory()
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:19.301 Uploading realtime.txt to realtime.txt

# OpenWrite("realtime.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:20.309 Uploading web\realtimegauges.txt to realtimegauges.txt

# OpenWrite("realtimegauges.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

# GetWorkingDirectory()
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:29.307 Uploading realtime.txt to realtime.txt

# OpenWrite("realtime.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:30.324 Uploading web\realtimegauges.txt to realtimegauges.txt

# OpenWrite("realtimegauges.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

# GetWorkingDirectory()
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:39.307 Uploading realtime.txt to realtime.txt

# OpenWrite("realtime.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:40.325 Uploading web\realtimegauges.txt to realtimegauges.txt

# OpenWrite("realtimegauges.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

# GetWorkingDirectory()
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:49.312 Uploading realtime.txt to realtime.txt

# OpenWrite("realtime.txttmp", Binary)
Status:   Disposing FtpSocketStream...

# Connect()
Status:   Connecting to ::1:21

2019-12-04 14:10:50.329 Uploading web\realtimegauges.txt to realtimegauges.txt

# OpenWrite("realtimegauges.txttmp", Binary)
Status:   Disposing FtpSocketStream...

Re: CumulusMX and 1and1 Hosting

Posted: Thu 05 Dec 2019 9:17 am
by mcrossley
OK a couple of things, though the bitvise says you can use any username/password on the FTP program, I don't think using blanks is good idea, put some dummy data in.

CumulusMX is trying to connect to localhost using IPv6, is the bitvise client listening on IPv6 or just IPv4? You could try the IPv4 loopback address instead - 127.0.0.1

Re: CumulusMX and 1and1 Hosting

Posted: Thu 05 Dec 2019 11:32 pm
by CamarilloWX
That was it.

Settings are now as follows:
Host name 127.0.0.1
FTP port 21
Directory
Username user
Password pass
Forum URL
Webcam URL

Everything is now uploading from CumulusMX to 1and1 via the Bitvise FTP-SFTP bridge. Thank you very much for your assistance.