VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   General (https://forums.vandyke.com/forumdisplay.php?f=11)
-   -   SecureFX receiving TCP/IP close when sending Service_Request (https://forums.vandyke.com/showthread.php?t=13041)

kron 03-07-2018 05:46 PM

SecureFX receiving TCP/IP close when sending Service_Request
 
2018-03-01 12:41:26, 00001: Session(00000001): SEND : NEWKEYS
2018-03-01 12:41:27, 00001: Session(00000001): Changing state from STATE_READY_FOR_NEW_KEYS to STATE_EXPECT_NEWKEYS
2018-03-01 12:41:27, 00001: Session(00000001): RECV : NEWKEYS
2018-03-01 12:41:27, 00001: Session(00000001): Changing state from STATE_EXPECT_NEWKEYS to STATE_CONNECTION
2018-03-01 12:41:27, 00001: Session(00000001): SEND: SERVICE_REQUEST[ssh-userauth]
2018-03-01 12:41:27, 00001: Session(00000001): RECV: TCP/IP close

2018-03-01 12:41:27, 00001: Session(00000001): Changing state from STATE_CONNECTION to STATE_CLOSED
2018-03-01 12:41:27, 00001: Session(00000001): Connected for 33 seconds, 1008 bytes sent, 1432 bytes received

Can you please advise how I can troubleshoot this issue? We are using the following command to copy files:
SFXCL.EXE /F "ConfigLocation" /S "SourceName" SourceLocation/*.* DestinationLocation /Overwrite Older /NoPrompt /RetryCount 0 /AcceptHostKeys /LOG LogLocation\SecureFX_Writing.log

There is a scheduled task that runs the batch file but then gets stuck in a running state because of this issue. We then have to manually stop the task and restart. This issue happens intermittently but we don't know why.

bgagnon 03-08-2018 07:27 AM

Hi kron,

Right off the bat I can see your SFXCL syntax is malformed:

SFXCL.EXE /F "ConfigLocation" /S "SourceName" SourceLocation/*.* DestinationLocation /Overwrite Older /NoPrompt /RetryCount 0 /AcceptHostKeys /LOG LogLocation\SecureFX_Writing.log


While it may succeed once, it may succeed many times or it even may succeed every single time, it's a good idea to follow the syntax as stated in SecureFX's Help file, which is:
sfxcl [options] source destination

In your command-line, everything from /Overwrite to the end of the line should come before /S.

There is a great tip about SFXCL automation on our website here.

I will need additional info to troubleshoot this issue and it might contain sensitive data so please send an email to support@vandyke.com and include "Attn Brenda - Forum Thread #13041".

Please include:
  • Version of SecureFX
  • Serial Number
  • OS it is installed on
  • Complete SFXCL log


All times are GMT -6. The time now is 03:37 PM.