Syslog Message - c.r.w.i.u.SFTPChannel - fail to upload file

  • 1
  • Question
  • Updated 3 months ago
Hi All,

I'm trying to get SFTP working with vSmartZone.  I thought I might have fat fingered a setting, but not knowing what that would be, and deleted the VM of vSZ and reload.  I get the same error message on a fresh install.  the message reads:

SFTP connection failed!



I was able to get syslog working and this is what is reported:

Time: Apr 30 23:30:32
IP: 10.1.20.50
Host: vSmartZoneCluster
Facility: local0
Priority: err
Tag: Web
Message: c.r.w.i.u.SFTPChannel - fail to upload file

and 1 more message from the events tab:

2020/04/30 15:12:08
833
SSH tunnel switched
Major
Node [vSmartZoneCluster] triggered [ICX] SSH tunnel switched [OFF->ON].
2020/04/30 15:12:07
833
SSH tunnel switched
Major
Node [vSmartZoneCluster] triggered [AP] SSH tunnel switched [OFF->ON].

Please let me know how to resolve this problem.

Thanks,
John

Photo of John Zimmerman

John Zimmerman

  • 5 Posts
  • 0 Reply Likes

Posted 4 months ago

  • 1
Photo of Syamantak Omer

Syamantak Omer, Official Rep

  • 379 Posts
  • 132 Reply Likes
Hi John,

Could you confirm what is the vSZ version?

There is a known issue (documented in KBA https://support.ruckuswireless.com/articles/000009415 ) on 5.1.1 version, which is fixed in 5.1.2

If your vSZ is running on 5.1.1 then please upgrade it to 5.1.2.0.302 and test.

Regards,
Syamantak Omer
Photo of John Zimmerman

John Zimmerman

  • 5 Posts
  • 0 Reply Likes
Syamantak,

According to the System Info, on the left hand side...version 5.2.0.0.699.


Any other thoughts?

thanks,
John

BTW, any help from the knowledge base is not accessible.  The web site is not working.  Just get message stating "We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly."  That has been there for a few days.
(Edited)
Photo of Syamantak Omer

Syamantak Omer, Official Rep

  • 362 Posts
  • 130 Reply Likes
Hi John,

5.2.0 is the latest version.

Could you check and make sure there is no network related issues (port block on firewall, etc.).

If everything looks good, please log a support case for the investigation.

Regards,
Syamantak Omer
Photo of John Zimmerman

John Zimmerman

  • 5 Posts
  • 0 Reply Likes
Hi Syamantak ,

The SFTP server is accepting connections from my workstation using Filefilla without any problems.  Do I need to do anything on the the vSZ? Is there a FW on it that needs to be opened?


Thanks,
John
Photo of Syamantak Omer

Syamantak Omer, Official Rep

  • 362 Posts
  • 130 Reply Likes
Hi John,

AFAIK, by default vSZ firewall is not enabled, hence vSZ will not block anything until you enable firewall and configure rules.

Could you try hitting your SFTP server (IP:port) from the same subnet as vSZ's and see if you get a response.

Regards,
Syamantak Omer
Photo of John Zimmerman

John Zimmerman

  • 5 Posts
  • 0 Reply Likes
Hi Syamantak ,

I was able to get to the SFTP server from another server on the same subnet.  My workstation is on a different sunbet and i'm also able to get to the SFTP server.

John
Photo of Syamantak Omer

Syamantak Omer, Official Rep

  • 362 Posts
  • 130 Reply Likes
Hi John,

Please reach-out to support with debug logs from controller and they will be able to troubleshoot further.

Regards,
Syamantak Omer
Photo of Diego Garcia del Rio

Diego Garcia del Rio

  • 121 Posts
  • 43 Reply Likes
One more detail... make sure you sftp server is giving full R/W access to the same user that is being used by smartzone. If memory doesnt fail me, SFTP (and regularFTP) first uploads the file and only when the upload completes, it does a rename of the file.

It can be that you might be allowing the initial upload but not the rename operation. I think I had a similar issue on my side when using regular FTP. 

Can you check on the server side for any logs? Is there any file being created at all?
Photo of John Zimmerman

John Zimmerman

  • 5 Posts
  • 0 Reply Likes
Thanks for all the help.  I left on Friday and when I came back on Tuesday, it was working.  I didn't do anything, go figure.


John