Topic "SSL/TLS Implicit can't connect"

Author Message
Guest




Hello, I'm having issues trying to connect to a SSL/TLS Implicit site. I am able to connect using other software, but I'm trying to convert to WinSCP. I've tried everything I could think of or find on your support site with no luck. Here is the latest attempt log. Any help is appreciated. Thanks!

. 2011-07-07 09:52:57.458 --------------------------------------------------------------------------
. 2011-07-07 09:52:57.463 WinSCP Version 4.3.3 (Build 1340) (OS 6.1.7601 Service Pack 1)
. 2011-07-07 09:52:57.466 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2011-07-07 09:52:57.468 Login time: Thursday, July 07, 2011 9:52:57 AM
. 2011-07-07 09:52:57.471 --------------------------------------------------------------------------
. 2011-07-07 09:52:57.473 Session name: x (Modified stored session)
. 2011-07-07 09:52:57.478 Host name: x(Port: 990)
. 2011-07-07 09:52:57.481 User name: x (Password: Yes, Key file: No)
. 2011-07-07 09:52:57.483 Tunnel: No
. 2011-07-07 09:52:57.486 Transfer Protocol: FTP
. 2011-07-07 09:52:57.488 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2011-07-07 09:52:57.491 Proxy: SOCKS5
. 2011-07-07 09:52:57.493 HostName: ccproxy (Port: 1080); Username: x; Passwd: Yes
. 2011-07-07 09:52:57.498 FTP: FTPS: Implicit SSL/TLS; Passive: Yes [Force IP: No]
. 2011-07-07 09:52:57.501 Local directory: default, Remote directory: /MisdirectedClaims, Update: No, Cache: Yes
. 2011-07-07 09:52:57.503 Cache directory changes: Yes, Permanent: Yes
. 2011-07-07 09:52:57.506 DST mode: 1
. 2011-07-07 09:52:57.508 --------------------------------------------------------------------------
. 2011-07-07 09:52:57.708 Connecting to x:990 ...
. 2011-07-07 09:52:57.738 Connected with x:990, negotiating SSL connection...
. 2011-07-07 09:52:58.536 SSL connection established. Waiting for welcome message...
< 2011-07-07 09:52:58.538 220-You have reached a secure FTP server.
< 2011-07-07 09:52:58.541 220 Authorized Use Only!!
> 2011-07-07 09:52:58.543 USER x
< 2011-07-07 09:52:58.566 331 Password required for x
> 2011-07-07 09:52:58.568 PASS **********
< 2011-07-07 09:52:58.596 230 Logged on
> 2011-07-07 09:52:58.598 SYST
< 2011-07-07 09:52:58.626 215 UNIX emulated by FileZilla
> 2011-07-07 09:52:58.628 FEAT
< 2011-07-07 09:52:58.656 211-Features:
< 2011-07-07 09:52:58.658 MDTM
< 2011-07-07 09:52:58.661 REST STREAM
< 2011-07-07 09:52:58.663 SIZE
< 2011-07-07 09:52:58.666 MLST type*;size*;modify*;
< 2011-07-07 09:52:58.668 MLSD
< 2011-07-07 09:52:58.673 AUTH SSL
< 2011-07-07 09:52:58.678 AUTH TLS
< 2011-07-07 09:52:58.681 UTF8
< 2011-07-07 09:52:58.683 CLNT
< 2011-07-07 09:52:58.688 MFMT
< 2011-07-07 09:52:58.691 211 End
> 2011-07-07 09:52:58.698 PBSZ 0
< 2011-07-07 09:52:58.703 200 PBSZ=0
> 2011-07-07 09:52:58.708 PROT P
< 2011-07-07 09:52:58.713 200 Protection level set to P
. 2011-07-07 09:52:58.721 Connected
. 2011-07-07 09:52:58.723 --------------------------------------------------------------------------
. 2011-07-07 09:52:58.728 Using FTP protocol.
. 2011-07-07 09:52:58.736 Doing startup conversation with host.
> 2011-07-07 09:52:58.741 PWD
< 2011-07-07 09:52:58.776 257 "/" is current directory.
. 2011-07-07 09:52:58.781 Changing directory to "/MisdirectedClaims".
> 2011-07-07 09:52:58.783 CWD /MisdirectedClaims
< 2011-07-07 09:52:58.813 250 CWD successful. "/MisdirectedClaims" is current directory.
. 2011-07-07 09:52:58.816 Getting current directory name.
> 2011-07-07 09:52:58.818 PWD
< 2011-07-07 09:52:58.848 257 "/MisdirectedClaims" is current directory.
. 2011-07-07 09:52:58.853 Retrieving directory listing...
> 2011-07-07 09:52:58.856 TYPE A
< 2011-07-07 09:52:58.878 200 Type set to A
> 2011-07-07 09:52:58.881 PASV
< 2011-07-07 09:52:58.911 227 Entering Passive Mode (172,16,97,10,197,124)
> 2011-07-07 09:52:58.913 LIST -a
< 2011-07-07 09:53:09.633 425 Can't open data connection.
. 2011-07-07 09:53:09.636 Could not retrieve directory listing
. 2011-07-07 09:53:09.641 Retrieving directory listing...
> 2011-07-07 09:53:09.643 TYPE A
< 2011-07-07 09:53:09.666 200 Type set to A
> 2011-07-07 09:53:09.668 PASV
< 2011-07-07 09:53:09.696 227 Entering Passive Mode (172,16,97,10,197,125)
> 2011-07-07 09:53:09.698 LIST
< 2011-07-07 09:53:20.633 425 Can't open data connection.
. 2011-07-07 09:53:20.636 Could not retrieve directory listing
* 2011-07-07 09:53:20.638 (ECommand) Error listing directory '/MisdirectedClaims'.
* 2011-07-07 09:53:20.661 Could not retrieve directory listing
* 2011-07-07 09:53:20.663 Can't open data connection.
. 2011-07-07 09:54:05.323 Startup conversation with host finished.
> 2011-07-07 09:54:05.986 PWD
< 2011-07-07 09:54:05.988 257 "/MisdirectedClaims" is current directory.
. 2011-07-07 09:54:07.206 Disconnected from server
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Can you post a log from the other software? E.g. Filezilla.
_________________
Martin Prikryl
Guest




*** CuteFTP 7.0 - build Mar 10 2005 ***

STATUS:> Getting listing ""...
STATUS:> Resolving host name X...
STATUS:> Host name X resolved: ip = X.
STATUS:> Connecting to socks5 server ccproxy:1080, (ip = X)...
STATUS:> Connected to socks5 server.
STATUS:> Connecting to FTP server X:990 (ip = X)...
STATUS:> Authenticating...
STATUS:> Authentication successful.
STATUS:> Socket connected. Waiting for welcome message...
STATUS:> Initializing SSL module.
STATUS:> Connected. Exchanging encryption keys...
STATUS:> SSL Connect time: 3079 ms.
STATUS:> SSL encrypted session established.
220-You have reached a secure FTP server.
220 Authorized Use Only!!
STATUS:> Connected. Authenticating...
COMMAND:> USER X
331 Password required for X
COMMAND:> PASS *****
230 Logged on
STATUS:> Login successful.
COMMAND:> PWD
257 "/" is current directory.
STATUS:> Home directory: /
COMMAND:> FEAT
211-Features:
MDTM
REST STREAM
SIZE
MLST type*;size*;modify*;
MLSD
AUTH SSL
AUTH TLS
UTF8
CLNT
MFMT
211 End
STATUS:> This site supports features.
STATUS:> This site supports SIZE.
STATUS:> This site can resume broken downloads.
COMMAND:> REST 0
350 Rest supported. Restarting at 0
COMMAND:> PBSZ 0
200 PBSZ=0
COMMAND:> PROT P
200 Protection level set to P
COMMAND:> PASV
227 Entering Passive Mode (168,215,78,89,197,50)
COMMAND:> LIST
STATUS:> Connecting to socks5 server ccproxy:1080, (ip = X)...
STATUS:> Connected to socks5 server.
STATUS:> Connecting FTP data socket X:50482...
STATUS:> Authenticating...
STATUS:> Authentication successful.
150 Connection accepted
STATUS:> Connected. Exchanging encryption keys...
STATUS:> SSL Connect time: 125 ms.
STATUS:> SSL encrypted session established.
226 Transfer OK
STATUS:> Directory listing completed.


FileZilla:

Status: Connecting to x through proxy
Status: Resolving address of CCPROXY
Status: Connecting to x...
Status: Connection with proxy established, performing handshake...
Status: Connection established, initializing TLS...
Status: Verifying certificate...
Status: TLS/SSL connection established, waiting for welcome message...
Response: 220-You have reached a secure FTP server.
Response: 220 Authorized Use Only!!
Command: USER x
Response: 331 Password required for x
Command: PASS **********
Response: 230 Logged on
Command: SYST
Response: 215 UNIX emulated by FileZilla
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: MLST type*;size*;modify*;
Response: MLSD
Response: AUTH SSL
Response: AUTH TLS
Response: UTF8
Response: CLNT
Response: MFMT
Response: 211 End
Command: PBSZ 0
Response: 200 PBSZ=0
Command: PROT P
Response: 200 Protection level set to P
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (168,215,78,89,197,57)
Command: MLSD
Status: Connecting to x...
Status: Connection with proxy established, performing handshake...
Response: 150 Connection accepted
Response: 226 Transfer OK
Status: Directory listing successful
Status: Retrieving directory listing...
Command: CWD MisdirectedClaims
Response: 250 CWD successful. "/MisdirectedClaims" is current directory.
Command: PWD
Response: 257 "/MisdirectedClaims" is current directory.
Command: PASV
Response: 227 Entering Passive Mode (168,215,78,89,197,5Cool
Command: MLSD
Status: Connecting to x...
Status: Connection with proxy established, performing handshake...
Response: 150 Connection accepted
Response: 226 Transfer OK
Status: Directory listing successful
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
There's different address reported to WinSCP (168,215,78,89) than to the others (
168,215,78,89). That's strange. Anyway, can you try to enable Force IP address for passive mode connections?
http://winscp.net/eng/docs/ui_login_ftp
_________________
Martin Prikryl
Guest




I've tried that and it gives me this error:
GetPeerName failed
Could not retrieve directory listing
Entering Passive Mode (168,215,78,89,195,106)

. 2011-07-14 16:15:35.191 WinSCP Version 4.3.3 (Build 1340) (OS 6.1.7601 Service Pack 1)
. 2011-07-14 16:15:35.191 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2011-07-14 16:15:35.191 Login time: Thursday, July 14, 2011 4:15:35 PM
. 2011-07-14 16:15:35.191 --------------------------------------------------------------------------
. 2011-07-14 16:15:35.191 Session name: x (Modified stored session)
. 2011-07-14 16:15:35.191 Host name: x (Port: 990)
. 2011-07-14 16:15:35.206 User name: x (Password: Yes, Key file: No)
. 2011-07-14 16:15:35.206 Tunnel: No
. 2011-07-14 16:15:35.206 Transfer Protocol: FTP
. 2011-07-14 16:15:35.206 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2011-07-14 16:15:35.206 Proxy: SOCKS5
. 2011-07-14 16:15:35.206 HostName: ccproxy (Port: 1080); Username: x; Passwd: Yes
. 2011-07-14 16:15:35.206 FTP: FTPS: Implicit SSL/TLS; Passive: Yes [Force IP: Yes]
. 2011-07-14 16:15:35.206 Local directory: C:\Users\siuser\Documents, Remote directory: /MisdirectedClaims, Update: No, Cache: Yes
. 2011-07-14 16:15:35.206 Cache directory changes: Yes, Permanent: Yes
. 2011-07-14 16:15:35.222 DST mode: 1
. 2011-07-14 16:15:35.222 --------------------------------------------------------------------------
. 2011-07-14 16:15:35.425 Connecting to x:990 ...
. 2011-07-14 16:15:35.503 Connected with x:990, negotiating SSL connection...
. 2011-07-14 16:15:36.251 SSL connection established. Waiting for welcome message...
< 2011-07-14 16:15:36.251 220-You have reached a secure FTP server.
< 2011-07-14 16:15:36.251 220 Authorized Use Only!!
> 2011-07-14 16:15:36.251 USER x
< 2011-07-14 16:15:36.345 331 Password required for x
> 2011-07-14 16:15:36.345 PASS **********
< 2011-07-14 16:15:36.392 230 Logged on
> 2011-07-14 16:15:36.392 SYST
< 2011-07-14 16:15:36.423 215 UNIX emulated by FileZilla
> 2011-07-14 16:15:36.439 FEAT
< 2011-07-14 16:15:36.470 211-Features:
< 2011-07-14 16:15:36.470 MDTM
< 2011-07-14 16:15:36.470 REST STREAM
< 2011-07-14 16:15:36.470 SIZE
< 2011-07-14 16:15:36.470 MLST type*;size*;modify*;
< 2011-07-14 16:15:36.485 MLSD
< 2011-07-14 16:15:36.485 AUTH SSL
< 2011-07-14 16:15:36.485 AUTH TLS
< 2011-07-14 16:15:36.485 UTF8
< 2011-07-14 16:15:36.485 CLNT
< 2011-07-14 16:15:36.485 MFMT
< 2011-07-14 16:15:36.485 211 End
> 2011-07-14 16:15:36.485 PBSZ 0
< 2011-07-14 16:15:36.501 200 PBSZ=0
> 2011-07-14 16:15:36.501 PROT P
< 2011-07-14 16:15:36.532 200 Protection level set to P
. 2011-07-14 16:15:36.532 Connected
. 2011-07-14 16:15:36.548 --------------------------------------------------------------------------
. 2011-07-14 16:15:36.548 Using FTP protocol.
. 2011-07-14 16:15:36.548 Doing startup conversation with host.
> 2011-07-14 16:15:36.548 PWD
< 2011-07-14 16:15:36.579 257 "/" is current directory.
. 2011-07-14 16:15:36.579 Changing directory to "/MisdirectedClaims".
> 2011-07-14 16:15:36.579 CWD /MisdirectedClaims
< 2011-07-14 16:15:36.610 250 CWD successful. "/MisdirectedClaims" is current directory.
. 2011-07-14 16:15:36.610 Getting current directory name.
> 2011-07-14 16:15:36.610 PWD
< 2011-07-14 16:15:36.673 257 "/MisdirectedClaims" is current directory.
. 2011-07-14 16:15:36.673 Retrieving directory listing...
> 2011-07-14 16:15:36.688 TYPE A
< 2011-07-14 16:15:36.719 200 Type set to A
> 2011-07-14 16:15:36.719 PASV
< 2011-07-14 16:15:36.766 227 Entering Passive Mode (168,215,78,89,195,105)
. 2011-07-14 16:15:36.766 GetPeerName failed
. 2011-07-14 16:15:36.766 Could not retrieve directory listing
. 2011-07-14 16:15:36.766 Retrieving directory listing...
> 2011-07-14 16:15:36.766 TYPE A
< 2011-07-14 16:15:36.797 200 Type set to A
> 2011-07-14 16:15:36.813 PASV
< 2011-07-14 16:15:36.829 227 Entering Passive Mode (168,215,78,89,195,106)
. 2011-07-14 16:15:36.829 GetPeerName failed
. 2011-07-14 16:15:36.844 Could not retrieve directory listing
* 2011-07-14 16:15:36.844 (ECommand) Error listing directory '/MisdirectedClaims'.
* 2011-07-14 16:15:36.844 GetPeerName failed
* 2011-07-14 16:15:36.844 Could not retrieve directory listing
* 2011-07-14 16:15:36.844 Entering Passive Mode (168,215,78,89,195,106)
. 2011-07-14 16:15:40.807 Startup conversation with host finished.
> 2011-07-14 16:16:06.983 TYPE A
< 2011-07-14 16:16:06.983 200 Type set to A
> 2011-07-14 16:16:36.233 PWD
< 2011-07-14 16:16:36.233 257 "/MisdirectedClaims" is current directory.
. 2011-07-14 16:16:38.760 Disconnected from server


I made an adjustment and am able to see the directory structure now, but it still will not let me navigate or post files with WinSCP.

I get this error:
Could not retrieve directory listing
Transfer OK

. 2011-07-14 16:20:26.012 WinSCP Version 4.3.3 (Build 1340) (OS 6.1.7601 Service Pack 1)
. 2011-07-14 16:20:26.012 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2011-07-14 16:20:26.012 Login time: Thursday, July 14, 2011 4:20:26 PM
. 2011-07-14 16:20:26.027 --------------------------------------------------------------------------
. 2011-07-14 16:20:26.027 Session name: x (Modified stored session)
. 2011-07-14 16:20:26.027 Host name: x (Port: 990)
. 2011-07-14 16:20:26.027 User name: x (Password: Yes, Key file: No)
. 2011-07-14 16:20:26.027 Tunnel: No
. 2011-07-14 16:20:26.027 Transfer Protocol: FTP
. 2011-07-14 16:20:26.027 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2011-07-14 16:20:26.027 Proxy: SOCKS5
. 2011-07-14 16:20:26.027 HostName: ccproxy (Port: 1080); Username: x; Passwd: Yes
. 2011-07-14 16:20:26.043 FTP: FTPS: Implicit SSL/TLS; Passive: Yes [Force IP: No]
. 2011-07-14 16:20:26.043 Local directory: C:\Users\siuser\Documents, Remote directory: home, Update: No, Cache: Yes
. 2011-07-14 16:20:26.043 Cache directory changes: Yes, Permanent: Yes
. 2011-07-14 16:20:26.043 DST mode: 1
. 2011-07-14 16:20:26.043 --------------------------------------------------------------------------
. 2011-07-14 16:20:26.246 Connecting to x:990 ...
. 2011-07-14 16:20:26.308 Connected with x:990, negotiating SSL connection...
. 2011-07-14 16:20:26.994 SSL connection established. Waiting for welcome message...
< 2011-07-14 16:20:26.994 220-You have reached a secure FTP server.
< 2011-07-14 16:20:26.994 220 Authorized Use Only!!
> 2011-07-14 16:20:26.994 USER x
< 2011-07-14 16:20:27.041 331 Password required for x
> 2011-07-14 16:20:27.057 PASS **********
< 2011-07-14 16:20:27.072 230 Logged on
> 2011-07-14 16:20:27.072 SYST
< 2011-07-14 16:20:27.104 215 UNIX emulated by FileZilla
> 2011-07-14 16:20:27.104 FEAT
< 2011-07-14 16:20:27.135 211-Features:
< 2011-07-14 16:20:27.135 MDTM
< 2011-07-14 16:20:27.135 REST STREAM
< 2011-07-14 16:20:27.135 SIZE
< 2011-07-14 16:20:27.135 MLST type*;size*;modify*;
< 2011-07-14 16:20:27.150 MLSD
< 2011-07-14 16:20:27.150 AUTH SSL
< 2011-07-14 16:20:27.150 AUTH TLS
< 2011-07-14 16:20:27.150 UTF8
< 2011-07-14 16:20:27.150 CLNT
< 2011-07-14 16:20:27.150 MFMT
< 2011-07-14 16:20:27.150 211 End
> 2011-07-14 16:20:27.150 PBSZ 0
< 2011-07-14 16:20:27.182 200 PBSZ=0
> 2011-07-14 16:20:27.182 PROT P
< 2011-07-14 16:20:27.213 200 Protection level set to P
. 2011-07-14 16:20:27.213 Connected
. 2011-07-14 16:20:27.213 --------------------------------------------------------------------------
. 2011-07-14 16:20:27.213 Using FTP protocol.
. 2011-07-14 16:20:27.213 Doing startup conversation with host.
> 2011-07-14 16:20:27.213 PWD
< 2011-07-14 16:20:27.260 257 "/" is current directory.
. 2011-07-14 16:20:27.260 Getting current directory name.
. 2011-07-14 16:20:27.260 Retrieving directory listing...
> 2011-07-14 16:20:27.260 TYPE A
< 2011-07-14 16:20:27.306 200 Type set to A
> 2011-07-14 16:20:27.306 PASV
< 2011-07-14 16:20:27.353 227 Entering Passive Mode (168,215,78,89,195,109)
> 2011-07-14 16:20:27.353 LIST -a
< 2011-07-14 16:20:27.462 150 Connection accepted
< 2011-07-14 16:20:27.540 226 Transfer OK
. 2011-07-14 16:20:27.556 SSL connection established
. 2011-07-14 16:20:27.556 Directory listing successful
. 2011-07-14 16:20:27.556 Startup conversation with host finished.
. 2011-07-14 16:20:36.385 Cached directory change via "MisdirectedClaims" to "/MisdirectedClaims".
. 2011-07-14 16:20:36.385 Getting current directory name.
. 2011-07-14 16:20:36.385 Retrieving directory listing...
> 2011-07-14 16:20:36.385 CWD /MisdirectedClaims/
< 2011-07-14 16:20:36.432 250 CWD successful. "/MisdirectedClaims" is current directory.
> 2011-07-14 16:20:36.432 PWD
< 2011-07-14 16:20:36.495 257 "/MisdirectedClaims" is current directory.
> 2011-07-14 16:20:36.495 TYPE A
< 2011-07-14 16:20:36.557 200 Type set to A
> 2011-07-14 16:20:36.573 PASV
< 2011-07-14 16:20:36.651 227 Entering Passive Mode (168,215,78,89,195,110)
> 2011-07-14 16:20:36.651 LIST -a
< 2011-07-14 16:20:36.760 150 Connection accepted
. 2011-07-14 16:20:36.807 Could not retrieve directory listing
< 2011-07-14 16:20:36.822 226 Transfer OK
* 2011-07-14 16:20:36.822 (ECommand) Error listing directory '/MisdirectedClaims'.
* 2011-07-14 16:20:36.822 Could not retrieve directory listing
* 2011-07-14 16:20:36.822 Transfer OK
. 2011-07-14 16:20:41.190 Disconnected from server
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
May I have a test account on your server?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License