Discuss the FTP protocol, secure FTP, FTP over SSH and FTP over SSL.

timeout disconnect

no avatar
User

ahorton

Posts

9

Joined

Wed Sep 15, 2010 4:00 am

timeout disconnect

by ahorton » Wed Apr 20, 2011 3:33 am

I am experiencing network timeouts that are interrupting the connection to the sFTP server.

My scenario is this:
I created a c# server interface that is registered with RegAsm and is accessed by the client application with CreateObject().
Once the client application has instantiated the sever, if anything happens to the connection that is formed the client locks up in memory.
Is there a timeout property for inactivity built into edtFTPPro.net that I haven't set correctly? Or am I not using threading appropriately, or is there another way that i can test for inactivity that I might be able to close the client and get a restart? Any information will be greatly appreciated.

Thanks
Alan

Log entry from remote FTP server:
000002488368 2011-04-19 08:32:44.531 6984 CORP2\NANTOS:[Info][30093] .\sshd.cpp:LoginProc(11683) The client was disconnected by intermediate network components or chose to disconnect without sending a disconnect message.

Log from edtFTPPro.net:
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.344 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.344 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.344 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Looking for subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO (fallback )
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Found license subkey Software\Enterprise Distributed Technologies\edtFTPnet PRO
DEBUG [LicenseProperties] 19 Apr 2011 08:36:49.359 : Did not find license subkeys Software\Enterprise Distributed Technologies\edtFTPnet PRO or in registry
DEBUG [FTPConnection] 19 Apr 2011 08:36:49.375 : Set LocalDirectory='e:\data\combineddrsb'
DEBUG [SecureFTPConnection] 19 Apr 2011 08:36:49.375 : Set LocalDirectory to e:\data\combineddrsb
DEBUG [HostNameResolver] 19 Apr 2011 08:36:49.484 : Resolving corp2.dfas.mil
DEBUG [HostNameResolver] 19 Apr 2011 08:36:49.516 : Obtained 1 addresses
DEBUG [HostNameResolver] 19 Apr 2011 08:36:49.516 : IP address: 207.133.66.100
DEBUG [HostNameResolver] 19 Apr 2011 08:36:49.516 : corp2.dfas.mil resolved to 207.133.66.100
DEBUG [SSHFTPClient] 19 Apr 2011 08:36:49.516 : Connecting directly to SFTP server 207.133.66.100:22
DEBUG [SSHFTPClient] 19 Apr 2011 08:36:49.531 : Connected successfully to SFTP server 207.133.66.100:22
DEBUG [SSHConnection] 19 Apr 2011 08:36:49.531 : Beginning protocol negotiation
DEBUG [PlainSocket] 19 Apr 2011 08:36:49.625 : RepeatCallback received 48 bytes
DEBUG [ProtocolNegotiationHandler] 19 Apr 2011 08:36:49.625 : offset=0,length=48
DEBUG [ProtocolNegotiationHandler] 19 Apr 2011 08:36:49.625 : Read: 'SSH-2.0-WRQReflectionforSecureIT_7.2 Build 151'
DEBUG [SSHUtil] 19 Apr 2011 08:36:49.625 : Major string = '2'
DEBUG [SSHUtil] 19 Apr 2011 08:36:49.625 : Minor string = '0'
DEBUG [SSHUtil] 19 Apr 2011 08:36:49.625 : Version 2.0
DEBUG [SSHUtil] 19 Apr 2011 08:36:49.625 : Protocol compatible
DEBUG [SSHConnection] 19 Apr 2011 08:36:49.625 : Server version=SSH-2.0-WRQReflectionforSecureIT_7.2 Build 151
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.625 : Timeout=120000
DEBUG [SSHConnection] 19 Apr 2011 08:36:49.625 : Sending client version=SSH-2.0-edtFTPnet/PRO-7.1.0.20
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.625 : Starting key exchange
DEBUG [PlainSocket] 19 Apr 2011 08:36:49.625 : RepeatCallback received 256 bytes
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.625 : Sending SSH_MSG_KEXINIT
DEBUG [PlainSocket] 19 Apr 2011 08:36:49.625 : RepeatCallback received 96 bytes
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.625 : key exchange method=diffie-hellman-group1-sha1
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : hostkey algorithms=ssh-dss,ssh-rsa
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : ciphers=aes256-cbc
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : ciphers=aes256-cbc
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : MACs=hmac-sha1
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : MACs=hmac-sha1
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : compression algorithms=none
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : compression algorithms=none
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Sent SSH_MSG_KEXINIT
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Reading SSH_MSG_KEXINIT reply
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Processing SSH_MSG_KEXINIT reply
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote kex alg=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided kex alg= DiffieHellmanGroup1Sha1
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote hostkey alg=ssh-dss
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided hostkey alg= DSA
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote Cipher CS=aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided Cipher C->S= AES256
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote Cipher SC=aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided Cipher S->C= AES256
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote MAC CS=hmac-sha1
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided MAC C->S= HMACSHA1
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote MAC SC=hmac-sha1
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided MAC S->C= HMACSHA1
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote Comp CS=zlib,none
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided Comp C->S=None
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Remote Comp SC=zlib,none
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Decided Comp S->C=None
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : first_kex_packet_follows=False
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.641 : Processed SSH_MSG_KEXINIT reply
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.641 : Sending SSH_MSG_KEXDH_INIT
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.656 : DH_PRIME_GROUP1
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.672 : Sent SSH_MSG_KEXDH_INIT
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.672 : Reading SSH_MSG_KEXDH_INIT reply
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.672 : Waiting for packet
DEBUG [PlainSocket] 19 Apr 2011 08:36:49.750 : RepeatCallback received 656 bytes
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.750 : Packet arrived
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.750 : Processing SSH_MSG_KEXDH_INIT reply
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.750 : DH_PRIME_GROUP1
ALL [ClientKeyExchanger] 19 Apr 2011 08:36:49.750 : Data to hash:
00 00 00 1E 53 53 48 2D 32 2E
30 2D 65 64 74 46 54 50 6E 65
74 2F 50 52 4F 2D 37 2E 31 2E
30 2E 32 30 00 00 00 2E 53 53
48 2D 32 2E 30 2D 57 52 51 52
65 66 6C 65 63 74 69 6F 6E 66
6F 72 53 65 63 75 72 65 49 54
5F 37 2E 32 20 42 75 69 6C 64
20 31 35 31 00 00 00 95 14 E6
4D 56 34 C1 69 98 53 61 6F C0
8C F2 47 0D E4 00 00 00 1A 64
69 66 66 69 65 2D 68 65 6C 6C
6D 61 6E 2D 67 72 6F 75 70 31
2D 73 68 61 31 00 00 00 0F 73
73 68 2D 64 73 73 2C 73 73 68
2D 72 73 61 00 00 00 0A 61 65
73 32 35 36 2D 63 62 63 00 00
00 0A 61 65 73 32 35 36 2D 63
62 63 00 00 00 09 68 6D 61 63
2D 73 68 61 31 00 00 00 09 68
6D 61 63 2D 73 68 61 31 00 00
00 04 6E 6F 6E 65 00 00 00 04
6E 6F 6E 65 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 01
56 14 E5 14 41 D5 C9 74 81 39
98 F5 FB 93 BB FD 91 90 00 00
00 59 64 69 66 66 69 65 2D 68
65 6C 6C 6D 61 6E 2D 67 72 6F
75 70 31 2D 73 68 61 31 2C 64
69 66 66 69 65 2D 68 65 6C 6C
6D 61 6E 2D 67 72 6F 75 70 31
34 2D 73 68 61 31 2C 64 69 66
66 69 65 2D 68 65 6C 6C 6D 61
6E 2D 67 72 6F 75 70 2D 65 78
63 68 61 6E 67 65 2D 73 68 61
31 00 00 00 07 73 73 68 2D 64
73 73 00 00 00 4A 61 65 73 31
32 38 2D 63 74 72 2C 61 65 73
31 39 32 2D 63 74 72 2C 61 65
73 32 35 36 2D 63 74 72 2C 61
65 73 31 32 38 2D 63 62 63 2C
61 65 73 31 39 32 2D 63 62 63
2C 61 65 73 32 35 36 2D 63 62
63 2C 33 64 65 73 2D 63 62 63
00 00 00 4A 61 65 73 31 32 38
2D 63 74 72 2C 61 65 73 31 39
32 2D 63 74 72 2C 61 65 73 32
35 36 2D 63 74 72 2C 61 65 73
31 32 38 2D 63 62 63 2C 61 65
73 31 39 32 2D 63 62 63 2C 61
65 73 32 35 36 2D 63 62 63 2C
33 64 65 73 2D 63 62 63 00 00
00 09 68 6D 61 63 2D 73 68 61
31 00 00 00 09 68 6D 61 63 2D
73 68 61 31 00 00 00 09 7A 6C
69 62 2C 6E 6F 6E 65 00 00 00
09 7A 6C 69 62 2C 6E 6F 6E 65
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 01 B2 00 00 00
07 73 73 68 2D 64 73 73 00 00
00 81 00 96 96 B1 E6 BD FC 05
E5 94 81 17 2C A5 DB E2 97 8F
0A 77 74 1B C7 F3 9F 87 9B 85
53 00 FE A6 85 B3 86 8A 47 E9
D2 81 8A 2D 6D 94 2C 57 BF 8D
44 01 D9 FD 4B 82 84 B9 50 8E
0F E7 6D 42 2B EF 01 99 A7 0E
30 00 C2 EE 24 C3 7F 69 C9 71
77 1C 0A 78 8D 5F E4 F3 6D E6
42 13 86 7B 61 24 B8 44 0C 0C
B6 F6 0B 41 07 C0 55 1F 43 D0
90 DE CC C5 37 80 EB BD E1 A7
12 E8 A6 74 4B 56 E4 26 1A 88
8B 00 00 00 15 00 97 6A 50 EB
D9 5B 9B 54 D3 79 B7 4B 4A 99
58 13 FC BB C5 49 00 00 00 81
00 88 57 E5 11 61 E9 9B E7 B2
18 DB AE 7B D5 54 FA ED B5 81
45 76 2C FA 01 70 31 48 9E 07
8D 25 0A 01 24 CB F3 26 23 18
D3 9A 0A E7 E9 04 8E 26 97 D1
7E F6 02 8E 89 FF BE CC B8 73
E3 B1 00 7E A0 8D FC 88 42 15
20 68 E2 E8 31 DC 06 56 5D ED
9B 42 BF 9A F8 DA 8E F9 78 2C
6A 93 C5 C9 34 FA 8C DF C9 16
3F 82 5C 19 6C C5 9F D7 0F 53
B6 0E 3A 9F FC 9D 14 7D 2F 89
33 FB EA E5 41 50 EA B7 65 00
00 00 80 72 50 AD 96 63 59 B3
AC 12 E2 08 93 3F 49 E6 81 5C
21 2E 2F 26 AD A0 D2 83 C4 8A
DC E1 CC 02 5A F7 94 8E 44 32
6B 62 6B BD B0 27 46 0B 54 4F
50 7A 45 51 CC 2B 21 74 43 07
6B 30 B5 2B 3C E8 CA 43 BE 50
F4 E8 B3 0A 6E 0C F6 9C C3 7D
B8 77 12 98 ED 8A 4F 99 15 ED
67 CB 1F A6 B4 C5 95 F4 7C 35
AD DC 81 9C EA 02 6D 00 62 AD
B6 1E B4 1E 8E 03 F5 B8 2D A6
50 56 C4 26 A5 8F 9A 4C 2B BF
41 00 00 00 80 33 6A 95 DD 15
48 87 81 55 FE 5D B0 F2 FC E0
61 5D BB 1D C7 47 5A 5B 9E EC
2D BB 1D 7E A7 E7 DA 09 B2 0F
85 C2 81 11 7E AC CC 96 29 3E
76 A6 43 6E D4 47 32 3B E8 A2
F1 4E 2C 04 B1 E0 2B D7 39 C5
7C 0F 95 66 1D 8F ED 86 7B F8
62 14 6D 1C DA 80 49 2D 6E A4
62 57 54 FB 1B 89 E6 7D 99 6F
0F 16 77 35 DD 52 3B 78 7A D0
7C A7 D0 AA 13 4A 54 F3 21 0A
E6 82 9C 18 C6 9F 45 25 1F B2
E7 89 42 00 00 00 80 4A 50 49
A5 21 05 9B 64 D5 CB 4D 56 32
C5 E6 49 D7 1E B2 79 E5 3F A5
06 9B 5B 0F A4 CC D2 0A 20 4E
6A 20 7B 01 2D E5 A4 BE 79 C9
C4 02 B5 AA 61 04 D3 33 1B 5B
4B 2B B2 6D 84 82 13 66 B0 0A
4C 97 1C 9F 7A F4 02 33 18 BF
CA 17 32 52 DB E5 C5 76 74 F7
53 1D E2 25 1D 5C 9B 14 98 66
48 7C 3D 09 C1 B2 53 9D F8 09
E9 F8 36 9F DF FF B9 72 3E 76
18 B0 A6 80 69 6C 47 6F 7C BE
7E E3 1F 44 A7 00 00 00 81 00
DB 63 FA B5 F7 94 D7 44 A9 3A
1B 4A FC 40 D2 D8 19 54 5F CA
23 B5 F1 78 1A E0 2E CC 8E D7
1E 6F 8E BD 64 79 06 62 5F E5
17 E9 A7 D3 34 EA D3 7B 13 1D
53 40 28 E3 2B 87 C2 7B BD 66
E9 E4 CB A0 FF E2 E0 F2 2E 1E
A8 27 7B 89 9C C3 E1 42 9E 8C
5A 06 42 3E F5 3D 02 E5 21 9E
38 1B C2 DF CC E2 03 E4 C0 1E
54 BB 45 94 99 D8 A3 25 3C 3C
89 A0 9F D4 D9 ED A2 4D AC 8D
68 36 65 D5 56 ED 53 2B
INFO [ClientKeyExchanger] 19 Apr 2011 08:36:49.766 : Verifying host key
ALL [ClientKeyExchanger] 19 Apr 2011 08:36:49.766 : Key:
00 00 00 07 73 73 68 2D 64 73
73 00 00 00 81 00 96 96 B1 E6
BD FC 05 E5 94 81 17 2C A5 DB
E2 97 8F 0A 77 74 1B C7 F3 9F
87 9B 85 53 00 FE A6 85 B3 86
8A 47 E9 D2 81 8A 2D 6D 94 2C
57 BF 8D 44 01 D9 FD 4B 82 84
B9 50 8E 0F E7 6D 42 2B EF 01
99 A7 0E 30 00 C2 EE 24 C3 7F
69 C9 71 77 1C 0A 78 8D 5F E4
F3 6D E6 42 13 86 7B 61 24 B8
44 0C 0C B6 F6 0B 41 07 C0 55
1F 43 D0 90 DE CC C5 37 80 EB
BD E1 A7 12 E8 A6 74 4B 56 E4
26 1A 88 8B 00 00 00 15 00 97
6A 50 EB D9 5B 9B 54 D3 79 B7
4B 4A 99 58 13 FC BB C5 49 00
00 00 81 00 88 57 E5 11 61 E9
9B E7 B2 18 DB AE 7B D5 54 FA
ED B5 81 45 76 2C FA 01 70 31
48 9E 07 8D 25 0A 01 24 CB F3
26 23 18 D3 9A 0A E7 E9 04 8E
26 97 D1 7E F6 02 8E 89 FF BE
CC B8 73 E3 B1 00 7E A0 8D FC
88 42 15 20 68 E2 E8 31 DC 06
56 5D ED 9B 42 BF 9A F8 DA 8E
F9 78 2C 6A 93 C5 C9 34 FA 8C
DF C9 16 3F 82 5C 19 6C C5 9F
D7 0F 53 B6 0E 3A 9F FC 9D 14
7D 2F 89 33 FB EA E5 41 50 EA
B7 65 00 00 00 80 72 50 AD 96
63 59 B3 AC 12 E2 08 93 3F 49
E6 81 5C 21 2E 2F 26 AD A0 D2
83 C4 8A DC E1 CC 02 5A F7 94
8E 44 32 6B 62 6B BD B0 27 46
0B 54 4F 50 7A 45 51 CC 2B 21
74 43 07 6B 30 B5 2B 3C E8 CA
43 BE 50 F4 E8 B3 0A 6E 0C F6
9C C3 7D B8 77 12 98 ED 8A 4F
99 15 ED 67 CB 1F A6 B4 C5 95
F4 7C 35 AD DC 81 9C EA 02 6D
00 62 AD B6 1E B4 1E 8E 03 F5
B8 2D A6 50 56 C4 26 A5 8F 9A
4C 2B BF 41
ALL [ClientKeyExchanger] 19 Apr 2011 08:36:49.766 : Sig:
00 00 00 07 73 73 68 2D 64 73
73 00 00 00 28 86 D3 26 F0 E7
1A FC DA 84 52 BA 8E 00 CE 5C
82 B0 97 22 C7 96 16 1B A3 72
EB EC 9F E2 32 06 D0 01 9D BB
78 23 85 4E 8A
ALL [ClientKeyExchanger] 19 Apr 2011 08:36:49.766 : Hash:
65 C0 73 4D 7B 62 50 07 37 99
0B E5 C7 81 AA 58 3A D0 E2 CF

DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.781 : Processed SSH_MSG_KEXDH_INIT reply successfully
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.781 : Sending SSH_MSG_NEWKEYS
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.781 : Sent SSH_MSG_NEWKEYS
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.797 : Established ciphers
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.797 : Established MACs
DEBUG [ClientKeyExchanger] 19 Apr 2011 08:36:49.797 : Reading SSH_MSG_NEWKEYS reply
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.797 : Processing SSH_MSG_NEWKEYS reply
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.797 : Processed 0 queued messages
DEBUG [AbstractKeyExchanger] 19 Apr 2011 08:36:49.797 : Processed SSH_MSG_NEWKEYS reply
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.797 : Key exchange complete
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.797 : Sent SSH_MSG_SERVICE_REQUEST 'ssh-userauth'
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.797 : Waiting for packet
DEBUG [PlainSocket] 19 Apr 2011 08:36:49.891 : RepeatCallback received 1368 bytes
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.891 : Packet arrived
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.891 : Starting user authentication
DEBUG [SSH2Connection] 19 Apr 2011 08:36:49.891 : Public key authentication
DEBUG [SSH2Connection] 19 Apr 2011 08:36:50.016 : Sent SSH_MSG_USERAUTH_REQUEST
DEBUG [SSH2Connection] 19 Apr 2011 08:36:50.016 : ProcessAuthenticationResponse: SSH_MSG_USERAUTH_BANNER
DEBUG [SSH2Connection] 19 Apr 2011 08:36:50.016 : USERAUTH_BANNER
DEBUG [SSH2Connection] 19 Apr 2011 08:36:50.016 : Waiting for packet
DEBUG [PlainSocket] 19 Apr 2011 08:36:52.031 : RepeatCallback received 52 bytes
DEBUG [SSH2Connection] 19 Apr 2011 08:36:52.031 : Packet arrived
DEBUG [SSH2Connection] 19 Apr 2011 08:36:52.031 : ProcessAuthenticationResponse: SSH_MSG_USERAUTH_FAILURE
ERROR [SSH2Connection] 19 Apr 2011 08:36:52.031 : Auth failure. Try: publickey
DEBUG [SSH2Connection] 19 Apr 2011 08:36:52.031 : Starting user authentication
ERROR [SSH2Connection] 19 Apr 2011 08:36:52.031 : Password not set - cannot authenticate
ERROR [SSHFTPClient] 19 Apr 2011 08:36:52.031 : Failed to connect - closing connection
ERROR [SSHFTPClient] 19 Apr 2011 08:36:52.031 : EnterpriseDT.Net.Ftp.Ssh.SFTPException: Password not set - cannot authenticate
ERROR [SSHFTPClient] 19 Apr 2011 08:36:52.031 : at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Connect()
Last edited by ahorton on Fri Apr 22, 2011 5:33 am, edited 1 time in total.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: timeout disconnect

by support2 » Wed Apr 20, 2011 10:29 pm

Please enable logging at the Debug level and post a relevant log snippet. We will probably move this thread into the edtFTPnet/PRO forum.
no avatar
User

ahorton

Posts

9

Joined

Wed Sep 15, 2010 4:00 am

My disconnect issue

by ahorton » Tue Jul 05, 2011 11:52 pm

Bruce -
Did you find any particular info on this topic?
no avatar
User

ahorton

Posts

9

Joined

Wed Sep 15, 2010 4:00 am

My disconnect issue

by ahorton » Tue Jul 05, 2011 11:54 pm

Bruce - any new light on this subject
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: My disconnect issue

by support2 » Wed Jul 06, 2011 5:21 am

The error in your log is an authentication failure. So you are providing an invalid private key for the user, or the user's public key is not registered on the server.
no avatar
User

ahorton

Posts

9

Joined

Wed Sep 15, 2010 4:00 am

disconnect

by ahorton » Wed Jul 06, 2011 5:46 am

Yes, I understand the problem but, when this occurs sFTP stays connected to the server Reflections session and does not return control to the client application. This, in effect, simulates a lock up instead of recording the error and returning control to the client application thru DCOM. I built a C# component that negotiates the communication between the client foxpro application and EDT server application. I cannot figure out the property I need to use to get EDT to relase control back to my client application facilitating a failure to connect error. I was inquiring which property to use to get EDT to release its memory segment so that the foxpro client can continue its processing.
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Wed Jul 06, 2011 8:47 am

Can you please post your code? If you are handling any event from our components, please post those as well.

- Hans (EnterpriseDT)
no avatar
User

ahorton

Posts

9

Joined

Wed Sep 15, 2010 4:00 am

C# COM Component

by ahorton » Wed Jul 06, 2011 10:19 pm

no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Thu Jul 07, 2011 8:37 am


Who is online

Users browsing this forum: No registered users and 0 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron