Page 2 of 2

Re: Admitting defeat

Posted: Tue 07 Dec 2021 3:11 pm
by Altocumulus
Response from Host
We only support FTPES (FTP with explicit SSL/TLS encryption)
connections. For these the client connects using the standard FTP ports,
then issues a comment to switch to a secure connection before
authentication takes place. This is different from FTPS, where the
client initially connects to a secure port, which we don't support.

Since your software doesn't support FTPES, I have enabled SSH on your
account, which will enable SFTP protocol. Please try again using option
2 (SFTP).
Option 2 in MX is still reporting an Invalid SshftpAuthentication specified. - I don't know whether that's from MX or a failure response from the Host.

This is a problem I didn't have under Cumulus - using SFTP .

Geoff

Re: Admitting defeat

Posted: Tue 07 Dec 2021 3:14 pm
by water01
I suspect this is a hosting problem. Ask them what port they allow SFTP on, mine uses 3784, so you may find they are using a non standard port in which case you need to set that port in the SFTP settings.

Re: Admitting defeat

Posted: Tue 07 Dec 2021 4:36 pm
by mcrossley
Altocumulus wrote: Tue 07 Dec 2021 3:11 pm This is a problem I didn't have under Cumulus - using SFTP .
? Cumulus 1 does not support SFTP.
Altocumulus wrote: Tue 07 Dec 2021 3:11 pm Since your software doesn't support FTPES
Cumulus MX DOES support FTPES (FTP with explicit SSL/TLS encryption) - it is the default for FTPS. (you have to disable it via the FTP Advanced settings)

Re: Admitting defeat

Posted: Wed 08 Dec 2021 7:25 am
by Altocumulus
Apologies, I meant winscp.com (I called the batch file sftp!).

Advanced settings? Mark - I'm trying each of the three available under Internet settings/Web ftp site.

Re: Admitting defeat

Posted: Wed 08 Dec 2021 9:14 am
by Altocumulus
Host confirms SFTP and port 22.

From MXDiags
2021-12-07 15:57:00.438 Creating standard web files
2021-12-07 15:57:00.443 Done creating standard Data file
2021-12-07 15:57:00.443 Creating graph data files
2021-12-07 15:57:00.506 Done creating graph data files
2021-12-07 15:57:00.506 SFTP[Int]: Invalid SshftpAuthentication specified []
2021-12-07 15:57:02.104 LOOP: Data - 7: 4C-4F-4F-C4-00-00-00-B8-71-E9-02-28-8A-01-11-0D-56-00-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-FF-53-FF-FF-FF-FF-FF-FF-FF-04-00-FF-00-00-08-00-95-C3-08-00-7E-01-A3-0F-04-00-07-00-07-00-FF-FF-FF-FF-FF-FF-FF-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-89-03-07-AC-43-03-F7-05-0A-0D-09-3E
2021-12-07 15:57:02.104 LOOP: 7 - Data packet is good
2021-12-07 15:57:02.213 Realtime[150]: Start cycle
2021-12-07 15:57:02.213 Realtime[150]: End cycle
Off to the wiki for a read....

Re: Admitting defeat

Posted: Wed 08 Dec 2021 9:46 am
by mcrossley
OK, light bulb comes on! :bash:

"Invalid SshftpAuthentication specified []" - that error message is generated by CMX if the value it is reading from the Cumulus.ini file does not match one of the three values it is expecting. It puts the value found inside the []. In your case it is blank!

It should have a value of "password", "psk", or "password_psk"

What does your Cumulus.ini have set for...
[FTP site]
SshFtpAuthentication=

And can you post your full MXdiags file from the last run that failed with SFTP please.

Re: Admitting defeat

Posted: Wed 08 Dec 2021 9:52 am
by Altocumulus
mcrossley wrote: Wed 08 Dec 2021 9:46 am OK, light bulb comes on! :bash:

"Invalid SshftpAuthentication specified []" - that error message is generated by CMX if the value it is reading from the Cumulus.ini file does not match one of the three values it is expecting. It puts the value found inside the []. In your case it is blank!

It should have a value of "password", "psk", or "password_psk"

What does your Cumulus.ini have set for...
[FTP site]
SshFtpAuthentication=

And can you post your full MXdiags file from the last run that failed with SFTP please.
Ah ah! Ditto

One issue with using .ini file from Cumulus and not checking everything!

Give me a mo....

Re: Admitting defeat

Posted: Wed 08 Dec 2021 10:54 am
by Altocumulus
And Success!

Always the simplest of solutions.....

:clap:


Thanks Mark....