Host is not communicating for more than 15 seconds....

Advertisement

mbottel
Joined:
Posts:
3
Location:
Cali

Host is not communicating for more than 15 seconds....

I am using a SSIS package to run WINscp to get a file from our GlabalScape server and copy it locally for processing. When i run the collowing command, i get the "Host is not communicating for more than 15 seconds. Still waiting... Warning: Aborting this operation will close connection!" warning. If i type A to abort, it finishes without error.... I am confused. I need this to run automatically and not require me to type A to abort.

The executable: D:\Program Files\WinSCP\WinSCP\WinSCP.com
The Script: winscp.com /command "open RPA" "get some.dumb.file.txt" "exit"

Any help or ideas would be appreciated. If i run this manually from a cmd prompt, it runs fine.

Thanks,
Micth

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Host is not communicating for more than 15 seconds....

Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

Reply with quote

mbottel
Joined:
Posts:
3
Location:
Cali

Re: Host is not communicating for more than 15 seconds....

The Log.....

. 2011-02-01 15:24:13.759 --------------------------------------------------------------------------
. 2011-02-01 15:24:13.759 WinSCP Version 4.2.7 (Build 758) (OS 5.2.3790 Service Pack 2)
. 2011-02-01 15:24:13.759 Login time: Tuesday, February 01, 2011 3:24:13 PM
. 2011-02-01 15:24:13.759 --------------------------------------------------------------------------
. 2011-02-01 15:24:13.759 Session name: RPA
. 2011-02-01 15:24:13.759 Host name: SomeIP (Port: 22)
. 2011-02-01 15:24:13.759 User name: Johnson (Password: Yes, Key file: No)
. 2011-02-01 15:24:13.759 Tunnel: No
. 2011-02-01 15:24:13.759 Transfer Protocol: SFTP (SCP)
. 2011-02-01 15:24:13.759 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2011-02-01 15:24:13.759 Proxy: none
. 2011-02-01 15:24:13.759 SSH protocol version: 2; Compression: No
. 2011-02-01 15:24:13.759 Bypass authentication: No
. 2011-02-01 15:24:13.759 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: No; GSSAPI: Yes
. 2011-02-01 15:24:13.759 GSSAPI: Forwarding: No; Server realm:
. 2011-02-01 15:24:13.759 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2011-02-01 15:24:13.759 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2011-02-01 15:24:13.759 SFTP Bugs: -,-
. 2011-02-01 15:24:13.759 Return code variable: Autodetect; Lookup user groups: Yes
. 2011-02-01 15:24:13.759 Shell: default, EOL: 0
. 2011-02-01 15:24:13.759 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2011-02-01 15:24:13.759 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2011-02-01 15:24:13.759 Local directory: D:\MSSQL\90\DTS\Packages\RPA_Reconcile\InputFiles, Remote directory: /, Update: No, Cache: Yes
. 2011-02-01 15:24:13.759 Cache directory changes: Yes, Permanent: Yes
. 2011-02-01 15:24:13.759 DST mode: 1
. 2011-02-01 15:24:13.759 --------------------------------------------------------------------------
. 2011-02-01 15:24:13.759 Looking up host "SomeIP"
. 2011-02-01 15:24:13.759 Connecting to 10.224.8.89 port 22
. 2011-02-01 15:24:13.759 Server version: SSH-2.0-1.36_sshlib GlobalSCAPE
. 2011-02-01 15:24:13.759 We believe remote version ignores SSH-2 maximum packet size
. 2011-02-01 15:24:13.759 Using SSH protocol version 2
. 2011-02-01 15:24:13.759 We claim version: SSH-2.0-WinSCP_release_4.2.7
. 2011-02-01 15:24:13.775 Doing Diffie-Hellman group exchange
. 2011-02-01 15:24:13.775 Doing Diffie-Hellman key exchange with hash SHA-1
. 2011-02-01 15:24:13.900 Host key fingerprint is:
. 2011-02-01 15:24:13.900 ssh-dss 2048 86:7f:73:95:86:e0:d9:b8:d0:ed:3c:0f:08:c6:9a:bc
. 2011-02-01 15:24:13.900 Initialised AES-128 CBC client->server encryption
. 2011-02-01 15:24:13.900 Initialised HMAC-SHA1 client->server MAC algorithm
. 2011-02-01 15:24:13.900 Initialised AES-128 CBC server->client encryption
. 2011-02-01 15:24:13.900 Initialised HMAC-SHA1 server->client MAC algorithm
! 2011-02-01 15:24:14.088 Using username "Johnson".
. 2011-02-01 15:24:14.103 Prompt (6, SSH password, , &Password: )
. 2011-02-01 15:24:14.103 Using stored password.
. 2011-02-01 15:24:14.103 Sent password
. 2011-02-01 15:24:14.119 Access granted
. 2011-02-01 15:24:14.119 Opened channel for session
. 2011-02-01 15:24:14.291 Started a shell/command
. 2011-02-01 15:24:14.291 --------------------------------------------------------------------------
. 2011-02-01 15:24:14.291 Using SFTP protocol.
. 2011-02-01 15:24:14.291 Doing startup conversation with host.
> 2011-02-01 15:24:14.291 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2011-02-01 15:24:14.291 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2011-02-01 15:24:14.291 SFTP version 3 negotiated.
. 2011-02-01 15:24:14.291 We believe the server has signed timestamps bug
. 2011-02-01 15:24:14.291 We will use UTF-8 strings for status messages only
. 2011-02-01 15:24:14.306 Changing directory to "/".
. 2011-02-01 15:24:14.306 Getting real path for '/'
> 2011-02-01 15:24:14.306 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2011-02-01 15:24:14.306 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2011-02-01 15:24:14.306 Real path is '/'
. 2011-02-01 15:24:14.306 Trying to open directory "/".
> 2011-02-01 15:24:14.306 Type: SSH_FXP_LSTAT, Size: 10, Number: 263
< 2011-02-01 15:24:14.306 Type: SSH_FXP_ATTRS, Size: 21, Number: 263
. 2011-02-01 15:24:14.306 Getting current directory name.
. 2011-02-01 15:24:14.306 Startup conversation with host finished.
. 2011-02-01 15:24:14.306 Listing file "SomeFile".
> 2011-02-01 15:24:14.306 Type: SSH_FXP_LSTAT, Size: 39, Number: 519
< 2011-02-01 15:24:14.306 Type: SSH_FXP_ATTRS, Size: 29, Number: 519
. 2011-02-01 15:24:14.306 File: "/SomeFile"
. 2011-02-01 15:24:14.306 Copying "/SomeFile" to local directory started.
. 2011-02-01 15:24:14.306 Binary transfer mode selected.
. 2011-02-01 15:24:14.306 Checking existence of partially transfered file.
. 2011-02-01 15:24:14.306 Opening remote file.
> 2011-02-01 15:24:14.306 Type: SSH_FXP_OPEN, Size: 47, Number: 771
< 2011-02-01 15:24:14.306 Type: SSH_FXP_HANDLE, Size: 10, Number: 771
> 2011-02-01 15:24:14.306 Type: SSH_FXP_FSTAT, Size: 10, Number: 1032
> 2011-02-01 15:24:14.306 Type: SSH_FXP_READ, Size: 22, Number: 1285
. 2011-02-01 15:24:14.306 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
< 2011-02-01 15:24:14.306 Type: SSH_FXP_ATTRS, Size: 29, Number: 1032
. 2011-02-01 15:24:14.306 Storing reserved response
< 2011-02-01 15:24:14.416 Status code: 1
. 2011-02-01 15:24:14.416 47 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2011-02-01 15:24:14.416 Type: SSH_FXP_CLOSE, Size: 10, Number: 8196
< 2011-02-01 15:24:14.416 Type: SSH_FXP_STATUS, Size: 22, Number: 7429
< 2011-02-01 15:24:14.416 Type: SSH_FXP_STATUS, Size: 22, Number: 7685
< 2011-02-01 15:24:14.416 Type: SSH_FXP_STATUS, Size: 22, Number: 7941
. 2011-02-01 15:24:14.416 Closing connection.
. 2011-02-01 15:24:14.416 Sending special code: 12
. 2011-02-01 15:24:14.416 Sent EOF message

Reply with quote

Advertisement

You can post new topics in this forum