PDA

View Full Version : FlashFXP + SSL + Windows 7 = 530-Valid hostname is expected.


amadib
08-31-2010, 11:05 PM
Hello,

I've been stuck on this error for a while and I'm sure it's something trivial. I set up an FTP on my local box and I'm trying to validate that I can connect to it using FlashFXP. I am running Windows 7 and IIS7. I have also set up my FTP site to accept an SSL certificate.

When I connect I receive the following messages:

[00:02:55] [R] Connecting to 10.0.1.2 -> IP=10.0.1.2 PORT=21
[00:02:55] [R] Connected to 10.0.1.2
[00:02:55] [R] 220 Microsoft FTP Service
[00:02:55] [R] AUTH SSL
[00:02:55] [R] 234 AUTH command ok. Expecting TLS Negotiation.
[00:02:55] [R] Connected. Negotiating SSL session..
[00:02:55] [R] SSL negotiation successful...
[00:02:55] [R] SSL encrypted session using cipher AES128-SHA (128 bits)
[00:02:55] [R] PBSZ 0
[00:02:55] [R] 200 PBSZ command successful.
[00:02:55] [R] USER XXXXXXX
[00:02:55] [R] 530-Valid hostname is expected.
[00:02:55] [R] Win32 error: No such host is known.
[00:02:55] [R] Error details: Hostname didn't match any configured ftp site.
[00:02:55] [R] 530 End
[00:02:55] [R] Connection failed
[00:02:55] [R] Delaying for 120 seconds before reconnect attempt #1
[00:02:57] [R] Retry attempt Aborted

I'm not sure if it has anything to do with Virtual Hosts but the error indicates that I'm unable to connect. I have my host file reflecting all static IPs so I'm not sure what the error means. Any help would be appreciated. Thanks

bigstar
08-31-2010, 11:21 PM
Try this

Username format FTPSiteHostname|Username
For example: ftp.somedomain.com|someuser

amadib
09-01-2010, 11:48 AM
I had tried this with exhaustive combinations, all unsuccessful. I have included screenshots to show you my settings.

ftp.maddhater-7.com|guesthater
maddhater-7|guesthater
10.0.1.2|guesthater

[R] Unable to resolve host: ftp.maddhater-7.com|guesthater
[R] Delaying for 120 seconds before reconnect attempt #1
[R] Retry attempt Aborted
[R] Unable to resolve host: 10.0.1.2|guesthater
[R] Delaying for 120 seconds before reconnect attempt #1
[R] Retry attempt Aborted
[R] Unable to resolve host: maddhater-7|guesthater
[R] Delaying for 120 seconds before reconnect attempt #1


QuickConnect.jpg is my basic connection settings for FlashFXP
SSL is my SSL settings for FlashFXP
bindings.jpg is my IIS binding settings

amadib
09-01-2010, 01:21 PM
After adding the hostname to the user field (see new screenshots) I still have the same error.

[13:10:39] [R] Connecting to maddhater-7 -> DNS=maddhater-7 IP=10.0.1.2 PORT=21
[13:10:39] [R] Connected to maddhater-7
[13:10:39] [R] 220 Microsoft FTP Service
[13:10:39] [R] AUTH SSL
[13:10:39] [R] 234 AUTH command ok. Expecting TLS Negotiation.
[13:10:39] [R] Connected. Negotiating SSL session..
[13:10:39] [R] SSL negotiation successful...
[13:10:39] [R] SSL encrypted session using cipher AES128-SHA (128 bits)
[13:10:39] [R] PBSZ 0
[13:10:39] [R] 200 PBSZ command successful.
[13:10:39] [R] USER maddhater-7|guesthater
[13:10:39] [R] 530-Valid hostname is expected.
[13:10:39] [R] Win32 error: No such host is known.
[13:10:39] [R] Error details: Hostname didn't match any configured ftp site.
[13:10:39] [R] 530 End
[13:10:39] [R] Connection failed
[13:10:39] [R] Delaying for 120 seconds before reconnect attempt #1
[13:10:40] [R] Retry attempt Aborted
[13:10:44] [R] Connecting to 10.0.1.2 -> IP=10.0.1.2 PORT=21
[13:10:44] [R] Connected to 10.0.1.2
[13:10:44] [R] 220 Microsoft FTP Service
[13:10:44] [R] AUTH SSL
[13:10:44] [R] 234 AUTH command ok. Expecting TLS Negotiation.
[13:10:44] [R] Connected. Negotiating SSL session..
[13:10:44] [R] SSL negotiation successful...
[13:10:44] [R] SSL encrypted session using cipher AES128-SHA (128 bits)
[13:10:44] [R] PBSZ 0
[13:10:44] [R] 200 PBSZ command successful.
[13:10:44] [R] USER ftp.maddhater.com|guesthater
[13:10:44] [R] 530-Valid hostname is expected.
[13:10:44] [R] Win32 error: No such host is known.
[13:10:44] [R] Error details: Hostname didn't match any configured ftp site.
[13:10:44] [R] 530 End
[13:10:44] [R] Connection failed
[13:10:44] [R] Delaying for 120 seconds before reconnect attempt #1
[13:10:46] [R] Retry attempt Aborted