Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


smfmotor
2019-11-29T14:14:16Z
I've just upgraded our site to VisualCron 9.0.0 and am now getting an SFTP error. It looks like exactly this issue: https://www.visualcron.com/forum.aspx?g=posts&t=9521 

When using default settings my STFP transfer fails, but creates a 0 byte file on the remote side. I went through the fix suggestions in the docs, and set the encryption settings to match those I pick up from my separate WinSCP client login (which does work BTW), but the 0 byte file no longer gets created on the remote side and I get a different error (SFTP Error: 7 Connection lost due to error 96273).

I also tried manipulating the SFTP version, to no avail.

Do you have any further debugging suggestions? Is this a recurrence of that old bug? Is anyone else seeing it?

Thanks
Stephen
Sponsor
Forum information
Support
2019-11-29T14:33:38Z
Originally Posted by: smfmotor 

I've just upgraded our site to VisualCron 9.0.0 and am now getting an SFTP error. It looks like exactly this issue: https://www.visualcron.com/forum.aspx?g=posts&t=9521 

When using default settings my STFP transfer fails, but creates a 0 byte file on the remote side. I went through the fix suggestions in the docs, and set the encryption settings to match those I pick up from my separate WinSCP client login (which does work BTW), but the 0 byte file no longer gets created on the remote side and I get a different error (SFTP Error: 7 Connection lost due to error 96273).

I also tried manipulating the SFTP version, to no avail.

Do you have any further debugging suggestions? Is this a recurrence of that old bug? Is anyone else seeing it?

Thanks
Stephen



Hi,
Could you try increasing the upload block size (uncheck the auto adjust) to either 2mb or 0 and see if it makes a difference?
BlockSize2.png


Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
smfmotor
2019-11-29T14:47:28Z
Originally Posted by: Support 

Originally Posted by: smfmotor 

I've just upgraded our site to VisualCron 9.0.0 and am now getting an SFTP error. It looks like exactly this issue: https://www.visualcron.com/forum.aspx?g=posts&t=9521 

When using default settings my STFP transfer fails, but creates a 0 byte file on the remote side. I went through the fix suggestions in the docs, and set the encryption settings to match those I pick up from my separate WinSCP client login (which does work BTW), but the 0 byte file no longer gets created on the remote side and I get a different error (SFTP Error: 7 Connection lost due to error 96273).

I also tried manipulating the SFTP version, to no avail.

Do you have any further debugging suggestions? Is this a recurrence of that old bug? Is anyone else seeing it?

Thanks
Stephen



Hi,
Could you try increasing the upload block size (uncheck the auto adjust) to either 2mb or 0 and see if it makes a difference?
BlockSize2.png



Thanks for the quick response. Yes, I can do but I'm a bit confused about the units on that value - you say increase but I'm assuming that's a typo and you meant decrease? What are the units in that field? It says blocksize but that doesn't look right to me. Is it bytes? Kb?
Support
2019-11-29T14:51:00Z
Originally Posted by: smfmotor 

Originally Posted by: Support 

Originally Posted by: smfmotor 

I've just upgraded our site to VisualCron 9.0.0 and am now getting an SFTP error. It looks like exactly this issue: https://www.visualcron.com/forum.aspx?g=posts&t=9521 

When using default settings my STFP transfer fails, but creates a 0 byte file on the remote side. I went through the fix suggestions in the docs, and set the encryption settings to match those I pick up from my separate WinSCP client login (which does work BTW), but the 0 byte file no longer gets created on the remote side and I get a different error (SFTP Error: 7 Connection lost due to error 96273).

I also tried manipulating the SFTP version, to no avail.

Do you have any further debugging suggestions? Is this a recurrence of that old bug? Is anyone else seeing it?

Thanks
Stephen



Hi,
Could you try increasing the upload block size (uncheck the auto adjust) to either 2mb or 0 and see if it makes a difference?
BlockSize2.png



Thanks for the quick response. Yes, I can do but I'm a bit confused about the units on that value - you say increase but I'm assuming that's a typo and you meant decrease? What are the units in that field? It says blocksize but that doesn't look right to me. Is it bytes? Kb?



Try the max value, i think its 131072



Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
smfmotor
2019-11-29T14:54:44Z
Tried that - failed with the same error.

I also figured it might be worth trying with auto adjusted encryption - that produced the following stderr:

Exception in Task: System.Exception: Failed to upload file: E:\env\prod\data\outgoing\201911_BSB_input2.csv to /BSB/In to Callcredit/201911_BSB_input2.csv, err: SBSftpCommon.EElSFTPError: SFTP component not connected
at VisualCronService.ProcessTaskFTPClass.UploadSFTPFiles(ConnectionClientClass cc, FTPCommandClass fc, List`1 localFiles, String strDestinationFolder, Int32& intTotalFiles, ConnectionHandlerClass ch, Boolean bolDebugging) in C:\git\code\VisualCronService\Jobs\TaskProcesses\Net\FTP\clsProcessTaskFTP.vb:line 2562
Support
2019-11-29T16:16:39Z
Originally Posted by: smfmotor 

Tried that - failed with the same error.

I also figured it might be worth trying with auto adjusted encryption - that produced the following stderr:

Exception in Task: System.Exception: Failed to upload file: E:\env\prod\data\outgoing\201911_BSB_input2.csv to /BSB/In to Callcredit/201911_BSB_input2.csv, err: SBSftpCommon.EElSFTPError: SFTP component not connected
at VisualCronService.ProcessTaskFTPClass.UploadSFTPFiles(ConnectionClientClass cc, FTPCommandClass fc, List`1 localFiles, String strDestinationFolder, Int32& intTotalFiles, ConnectionHandlerClass ch, Boolean bolDebugging) in C:\git\code\VisualCronService\Jobs\TaskProcesses\Net\FTP\clsProcessTaskFTP.vb:line 2562



Would it be possible for us to get a test account and try from our end to see how it looks?
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
smfmotor
2019-12-02T08:39:22Z
I'm afraid I can't do that - the site in question is a 3rd party vendor. I'm happy to run anything and send logging etc. to test things.
Support
2019-12-02T10:00:26Z
Originally Posted by: smfmotor 

I'm afraid I can't do that - the site in question is a 3rd party vendor. I'm happy to run anything and send logging etc. to test things.



Ok. So basically
You can connect to the SFTP using Connection Explorer, but you can't upload files (creates 0kb file)?
You've tried setting all the encryption algorithms correctly?

Please login with Filezilla, use verbose logging and then mail us the output to support@visualcron.com and we'll continue from there to break down the issue
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
smfmotor
2019-12-30T11:00:37Z
Resolved by direct contact with support. Files above 256kb were failing to complete a send, leaving only a 0kb file remote side. Changing the pipeline length to 1 on the connection fixed the problem. This was on version 9.0.0 - I believe there may be a fix in 9.0.5 (in beta at time of writing).
Scroll to Top