Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#11310 closed Bug report (worksforme)

Problem with DNS vs IP

Reported by: Łukasz Guzik Owned by:
Priority: high Component: FileZilla Client
Keywords: Cc:
Component version: 3.26.2 Operating system type: Windows
Operating system version: Windows 7 (build 7601, Service Pack 1), 64-bit edition

Description

When I trying to connect to the FTP through the SFTP protocol, and I'm suing the DNS name as hostname I'm getting following problem:

Status:	Connecting to ftp.eu.pega.com...
Response:	fzSftp started, protocol_version=8
Command:	open "amtrak@ftp.eu.pega.com" 22
Error:	Connection timed out after 20 seconds of inactivity
Error:	Could not connect to server
Status:	Waiting to retry...
Status:	Connecting to ftp.eu.pega.com...
Response:	fzSftp started, protocol_version=8
Command:	open "amtrak@ftp.eu.pega.com" 22
Error:	Connection timed out after 20 seconds of inactivity
Error:	Could not connect to server
Status:	Disconnected from server
Status:	Connecting to ftp.eu.pega.com...
Response:	fzSftp started, protocol_version=8
Command:	open "amtrak@ftp.eu.pega.com" 22
Error:	Connection timed out after 20 seconds of inactivity
Error:	Could not connect to server
Status:	Waiting to retry...
Trace:	CControlSocket::DoClose(66)
Trace:	CControlSocket::DoClose(66)
Error:	Connection attempt interrupted by user
Status:	Delaying connection for 1 second due to previously failed connection attempt...
Status:	Connecting to ftp.eu.pega.com...
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 0
Trace:	Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Response:	fzSftp started, protocol_version=8
Trace:	CSftpConnectOpData::ParseResponse() in state 0
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 3
Command:	open "amtrak@ftp.eu.pega.com" 22
Trace:	psftp: Implicit session load.
Trace:	Connecting to 10.20.74.70 port 22
Error:	Connection timed out after 20 seconds of inactivity
Trace:	CControlSocket::DoClose(2050)
Trace:	CSftpControlSocket::ResetOperation(2114)
Trace:	CControlSocket::ResetOperation(2114)
Error:	Could not connect to server
Trace:	CFileZillaEnginePrivate::ResetOperation(2114)
Status:	Waiting to retry...
Trace:	CControlSocket::DoClose(66)
Trace:	CControlSocket::DoClose(66)
Status:	Connecting to ftp.eu.pega.com...
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 0
Trace:	Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Response:	fzSftp started, protocol_version=8
Trace:	CSftpConnectOpData::ParseResponse() in state 0
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 3
Command:	open "amtrak@ftp.eu.pega.com" 22
Trace:	psftp: Implicit session load.
Trace:	Connecting to 10.20.74.70 port 22
Error:	Connection timed out after 20 seconds of inactivity
Trace:	CControlSocket::DoClose(2050)
Trace:	CSftpControlSocket::ResetOperation(2114)
Trace:	CControlSocket::ResetOperation(2114)
Error:	Could not connect to server
Trace:	CFileZillaEnginePrivate::ResetOperation(2114)

When I use IP address issue is not occurring, logs snipped below

Status:	Connecting to ftp.eu.pega.com...
Response:	fzSftp started, protocol_version=8
Command:	open "amtrak@ftp.eu.pega.com" 22
Error:	Connection timed out after 20 seconds of inactivity
Error:	Could not connect to server
Status:	Waiting to retry...
Status:	Connecting to ftp.eu.pega.com...
Response:	fzSftp started, protocol_version=8
Command:	open "amtrak@ftp.eu.pega.com" 22
Error:	Connection timed out after 20 seconds of inactivity
Error:	Could not connect to server
Status:	Disconnected from server
Status:	Connecting to ftp.eu.pega.com...
Response:	fzSftp started, protocol_version=8
Command:	open "amtrak@ftp.eu.pega.com" 22
Error:	Connection timed out after 20 seconds of inactivity
Error:	Could not connect to server
Status:	Waiting to retry...
Trace:	CControlSocket::DoClose(66)
Trace:	CControlSocket::DoClose(66)
Error:	Connection attempt interrupted by user
Status:	Delaying connection for 1 second due to previously failed connection attempt...
Status:	Connecting to ftp.eu.pega.com...
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 0
Trace:	Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Response:	fzSftp started, protocol_version=8
Trace:	CSftpConnectOpData::ParseResponse() in state 0
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 3
Command:	open "amtrak@ftp.eu.pega.com" 22
Trace:	psftp: Implicit session load.
Trace:	Connecting to 10.20.74.70 port 22
Error:	Connection timed out after 20 seconds of inactivity
Trace:	CControlSocket::DoClose(2050)
Trace:	CSftpControlSocket::ResetOperation(2114)
Trace:	CControlSocket::ResetOperation(2114)
Error:	Could not connect to server
Trace:	CFileZillaEnginePrivate::ResetOperation(2114)
Status:	Waiting to retry...
Trace:	CControlSocket::DoClose(66)
Trace:	CControlSocket::DoClose(66)
Status:	Connecting to ftp.eu.pega.com...
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 0
Trace:	Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Response:	fzSftp started, protocol_version=8
Trace:	CSftpConnectOpData::ParseResponse() in state 0
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 3
Command:	open "amtrak@ftp.eu.pega.com" 22
Trace:	psftp: Implicit session load.
Trace:	Connecting to 10.20.74.70 port 22
Error:	Connection timed out after 20 seconds of inactivity
Trace:	CControlSocket::DoClose(2050)
Trace:	CSftpControlSocket::ResetOperation(2114)
Trace:	CControlSocket::ResetOperation(2114)
Error:	Could not connect to server
Trace:	CFileZillaEnginePrivate::ResetOperation(2114)
Status:	Disconnected from server
Trace:	CControlSocket::DoClose(66)
Trace:	CControlSocket::DoClose(66)
Trace:	CControlSocket::DoClose(66)
Trace:	CFileZillaEnginePrivate::ResetOperation(0)
Status:	Connecting to 10.20.74.70...
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 0
Trace:	Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Response:	fzSftp started, protocol_version=8
Trace:	CSftpConnectOpData::ParseResponse() in state 0
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 3
Command:	open "amtrak@10.20.74.70" 22
Trace:	Connecting to 10.20.74.70 port 22
Trace:	We claim version: SSH-2.0-PuTTY_Local:_Jun_12_2017_19:47:41
Trace:	Server version: SSH-2.0-mod_sftp/0.9.9
Trace:	Using SSH protocol version 2
Trace:	Doing ECDH key exchange with curve nistp256 and hash SHA-256
Trace:	Server also has ssh-dss host key, but we don't know it
Trace:	Host key fingerprint is:
Trace:	ssh-rsa 2048 04:85:cb:60:1d:5f:6b:32:dc:8a:80:61:c1:ee:49:0d dNXoKe1iUca9koXsctajau7ORxljXtinUgVzyLhs7VY=
Trace:	Initialised AES-256 SDCTR client->server encryption
Trace:	Initialised HMAC-SHA-256 client->server MAC algorithm
Trace:	Initialised AES-256 SDCTR server->client encryption
Trace:	Initialised HMAC-SHA-256 server->client MAC algorithm
Command:	Pass: ********
Trace:	Sent password
Trace:	Access granted
Trace:	Opening session as main channel
Trace:	Opened main channel
Trace:	Started a shell/command
Status:	Connected to 10.20.74.70
Trace:	CSftpConnectOpData::ParseResponse() in state 3
Trace:	CSftpControlSocket::ResetOperation(0)
Trace:	CControlSocket::ResetOperation(0)
Trace:	CFileZillaEnginePrivate::ResetOperation(0)
Status:	Retrieving directory listing...
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpListOpData::Send() in state 0
Trace:	CSftpChangeDirOpData::Send() in state 0
Trace:	CSftpChangeDirOpData::Send() in state 1
Command:	pwd
Response:	Current directory is: "/"
Trace:	CSftpChangeDirOpData::ParseResponse() in state 1
Trace:	CSftpControlSocket::ResetOperation(0)
Trace:	CControlSocket::ResetOperation(0)
Trace:	CControlSocket::ParseSubcommandResult(0)
Trace:	CSftpListOpData::SubcommandResult() in state 1
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpListOpData::Send() in state 2
Trace:	CSftpListOpData::Send() in state 3
Command:	ls
Status:	Listing directory /
Trace:	CSftpListOpData::ParseResponse() in state 3
Trace:	CSftpControlSocket::ResetOperation(0)
Trace:	CControlSocket::ResetOperation(0)
Status:	Directory listing of "/" successful
Trace:	CFileZillaEnginePrivate::ResetOperation(0)

Attachments (2)

DNSconf.PNG (106.6 KB ) - added by Łukasz Guzik 7 years ago.
IPconf.PNG (115.0 KB ) - added by Łukasz Guzik 7 years ago.

Download all attachments as: .zip

Change History (5)

by Łukasz Guzik, 7 years ago

Attachment: DNSconf.PNG added

by Łukasz Guzik, 7 years ago

Attachment: IPconf.PNG added

comment:1 by Łukasz Guzik, 7 years ago

I would like to add that was working on the previouses FZ versions, as well as is working on the WinSCP.

comment:2 by Tim Kosse, 7 years ago

Resolution: worksforme
Status: newclosed

Trace: psftp: Implicit session load.

You have a saved session configured in PuTTY named "ftp.eu.pega.com".

This session has incompatible settings for the server you are trying to connect to.

Please fix tor remove the saved session from PuTTY.

comment:3 by Łukasz Guzik, 7 years ago

That was the issue.
Thanks for your help.

Note: See TracTickets for help on using tickets.