SV650.org - SV650 & Gladius 650 Forum

SV650.org - SV650 & Gladius 650 Forum (http://forums.sv650.org/index.php)
-   Idle Banter (http://forums.sv650.org/forumdisplay.php?f=116)
-   -   FTP client hangs while connecting socket (http://forums.sv650.org/showthread.php?t=163037)

the_lone_wolf 21-02-11 09:19 PM

FTP client hangs while connecting socket
 
I know there's some IT guys on here, having something of a mare trying to use FTP to connect to my hosting account

It occasionally works, I can access the root directory and sometimes even navigate to the first or second sub directory level, but within a few movements it hangs for a minute or two and throws the following error in the log:
Code:

227 Entering Passive Mode ([IP],198,45) 
LIST -al 
Connect socket #988 to [IP], port [Random port between 50000 and 51000]...
Server failed to connect data port
Error loading directory...

[...] <-- My additions...

Ports 20, 21, 22 and 50,000 to 51,000 are allowed in/out in my router settings and the router logs suggest it isn't stopping transmission


Any ideas? I'm close to pulling teeth here not being able to get my site moving forward...

Edit to add, Both Filezilla and CoreFTP behave the same way...

beabert 21-02-11 09:34 PM

Re: FTP client hangs while connecting socket
 
You tried using internet explorer? using page, open ftp in windows explorer.

the_lone_wolf 21-02-11 09:41 PM

Re: FTP client hangs while connecting socket
 
Quote:

Originally Posted by beabert (Post 2487569)
You tried using internet explorer? using page, open ftp in windows explorer.

I hadn't, but it fails

"The operation timed out"

squirrel_hunter 21-02-11 09:47 PM

Re: FTP client hangs while connecting socket
 
Have you tried turning it off and then on?

Terah 21-02-11 09:53 PM

Re: FTP client hangs while connecting socket
 
Can you up the debug settings in FileZilla (Edit --> Settings --> Debug) and post a log?

beabert 21-02-11 09:54 PM

Re: FTP client hangs while connecting socket
 
Have you tried from a different network and/or PC? Its often the quickest way to see if its your problem or theres that way.

the_lone_wolf 21-02-11 10:02 PM

Re: FTP client hangs while connecting socket
 
Quote:

Originally Posted by Terah (Post 2487588)
Can you up the debug settings in FileZilla (Edit --> Settings --> Debug) and post a log?

Code:

Status:        Resolving address of [MY URL]
Status:        Connecting to [My IP]:21...
Status:        Connection established, waiting for welcome message...
Trace:        CFtpControlSocket::OnReceive()
Response:        220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:        220-You are user number 44 of 500 allowed.
Response:        220-Local time is now 22:56. Server port: 21.
Response:        220-This is a private system - No anonymous login
Response:        220 You will be disconnected after 3 minutes of inactivity.
Trace:        CFtpControlSocket::SendNextCommand()
Command:        USER [REDACTED]
Trace:        CFtpControlSocket::OnReceive()
Response:        331 User [REDACTED] OK. Password required
Trace:        CFtpControlSocket::SendNextCommand()
Command:        PASS **************
Trace:        CFtpControlSocket::OnReceive()
Response:        230-User [REDACTED] has group access to:  inetuser
Response:        230 OK. Current restricted directory is /
Trace:        CFtpControlSocket::SendNextCommand()
Command:        SYST
Trace:        CFtpControlSocket::OnReceive()
Response:        215 UNIX Type: L8
Trace:        CFtpControlSocket::SendNextCommand()
Command:        FEAT
Trace:        CFtpControlSocket::OnReceive()
Response:        211-Extensions supported:
Response:        EPRT
Response:        IDLE
Response:        MDTM
Response:        SIZE
Response:        REST STREAM
Response:        MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response:        MLSD
Response:        TVFS
Response:        ESTP
Response:        PASV
Response:        EPSV
Response:        SPSV
Response:        ESTA
Response:        AUTH TLS
Response:        PBSZ
Response:        PROT
Response:        211 End.
Status:        Connected
Trace:        CFtpControlSocket::ResetOperation(0)
Trace:        CControlSocket::ResetOperation(0)
Trace:        CFileZillaEnginePrivate::ResetOperation(0)
Status:        Retrieving directory listing...
Trace:        CFtpControlSocket::SendNextCommand()
Trace:        CFtpControlSocket::ChangeDirSend()
Command:        PWD
Trace:        CFtpControlSocket::OnReceive()
Response:        257 "/" is your current location
Trace:        CFtpControlSocket::ResetOperation(0)
Trace:        CControlSocket::ResetOperation(0)
Trace:        CFtpControlSocket::ParseSubcommandResult(0)
Trace:        CFtpControlSocket::ListSubcommandResult()
Trace:          state = 1
Trace:        CFtpControlSocket::SendNextCommand()
Trace:        CFtpControlSocket::TransferSend()
Trace:          state = 1
Command:        TYPE I
Trace:        CFtpControlSocket::OnReceive()
Response:        200 TYPE is now 8-bit binary
Trace:        CFtpControlSocket::TransferParseResponse()
Trace:          code = 2
Trace:          state = 1
Trace:        CFtpControlSocket::SendNextCommand()
Trace:        CFtpControlSocket::TransferSend()
Trace:          state = 2
Command:        PASV
Trace:        CFtpControlSocket::OnReceive()
Response:        227 Entering Passive Mode ([XXX],[XXX],[XXX],[XXX],196,71)
Trace:        CFtpControlSocket::TransferParseResponse()
Trace:          code = 2
Trace:          state = 2
Trace:        CFtpControlSocket::SendNextCommand()
Trace:        CFtpControlSocket::TransferSend()
Trace:          state = 4
Command:        MLSD
Trace:        CTransferSocket::OnConnect
Trace:        CTransferSocket::OnReceive(), m_transferMode=0
Trace:        CTransferSocket::OnClose(0)
Trace:        CTransferSocket::TransferEnd(1)
Trace:        CFtpControlSocket::TransferEnd()
Error:        Connection timed out
Trace:        CControlSocket::DoClose(2050)
Trace:        CFtpControlSocket::ResetOperation(2114)
Trace:        CControlSocket::ResetOperation(2114)
Trace:        CFtpControlSocket::ResetOperation(2114)
Trace:        CControlSocket::ResetOperation(2114)
Error:        Failed to retrieve directory listing
Trace:        CFileZillaEnginePrivate::ResetOperation(2114)

Same as before, that's a fresh start of Filezilla followed immediately by asking it to connect through the site manager

Anything in [...] is my removal of personal info

Can't use another network as all the neighbours have secured theirs, but it behaves in exactly the same manner on my Desktop and Notebook

Terah 21-02-11 10:22 PM

Re: FTP client hangs while connecting socket
 
OK - least likely but you can easily rule out server issues by checking your settings at http://ftptest.net

Client machine - still not too likely as you're getting the same on different machines, but: are you running firewall software on client machines? what is it? and have you tried disabling?

Router - what model router is it? and have you been able to ftp to any other site

the_lone_wolf 21-02-11 10:28 PM

Re: FTP client hangs while connecting socket
 
FTP test reports everything is OK

No firewall on either machine (I use windows firewall when on public networks, disabled at home as the router has one)

Router is Netgear DG834G - Don't have another FTP site to try

My suspicions land at the router, but short of opening all the ports I can seem to find mentioned I' not sure what else it could be

Might be ISP level I suppose but I'd have thought FTP was fairly common??

hongman 21-02-11 10:43 PM

Re: FTP client hangs while connecting socket
 
PM me tomorrow afternoon if it still isn't sorted I'll set you up an FTP account to try (will be driving most morning).

Has it always done this or only recently?

You missed one user redaction btw ;)


All times are GMT. The time now is 12:25 PM.

Powered by vBulletin® - Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.