SV650.org - SV650 & Gladius 650 Forum



Idle Banter For non SV and non bike related chat (and the odd bit of humour - but if any post isn't suitable it'll get deleted real quick).
There's also a "U" rating so please respect this. Newbies can also say "hello" here too.

Reply
 
Thread Tools
Old 21-02-11, 09:19 PM   #1
the_lone_wolf
Captain Awesome
Mega Poster
 
the_lone_wolf's Avatar
 
Join Date: Jan 2007
Location: Hamble
Posts: 4,266
Default 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...
__________________
Official "Dumbass of the Year" 2011
(•_•)
( •_•)>⌐■-■
(⌐■_■)
Deal with it...

Last edited by the_lone_wolf; 21-02-11 at 09:21 PM.
the_lone_wolf is offline   Reply With Quote
Old 21-02-11, 09:34 PM   #2
beabert
Guest
 
Posts: n/a
Default Re: FTP client hangs while connecting socket

You tried using internet explorer? using page, open ftp in windows explorer.
  Reply With Quote
Old 21-02-11, 09:41 PM   #3
the_lone_wolf
Captain Awesome
Mega Poster
 
the_lone_wolf's Avatar
 
Join Date: Jan 2007
Location: Hamble
Posts: 4,266
Default Re: FTP client hangs while connecting socket

Quote:
Originally Posted by beabert View Post
You tried using internet explorer? using page, open ftp in windows explorer.
I hadn't, but it fails

"The operation timed out"
__________________
Official "Dumbass of the Year" 2011
(•_•)
( •_•)>⌐■-■
(⌐■_■)
Deal with it...
the_lone_wolf is offline   Reply With Quote
Old 21-02-11, 09:47 PM   #4
squirrel_hunter
Member
Mega Poster
 
squirrel_hunter's Avatar
 
Join Date: Apr 2005
Location: Sunny Swindon
Posts: 3,579
Default Re: FTP client hangs while connecting socket

Have you tried turning it off and then on?
__________________
"A little enthusiastic?"

May I add here, GG is awesome and I think I am in love with Stretchie...he rocks my world!

SH2 | 2MA | GROM | YSR
squirrel_hunter is offline   Reply With Quote
Old 21-02-11, 09:53 PM   #5
Terah
Guest
 
Posts: n/a
Default Re: FTP client hangs while connecting socket

Can you up the debug settings in FileZilla (Edit --> Settings --> Debug) and post a log?
  Reply With Quote
Old 21-02-11, 09:54 PM   #6
beabert
Guest
 
Posts: n/a
Default 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.
  Reply With Quote
Old 21-02-11, 10:02 PM   #7
the_lone_wolf
Captain Awesome
Mega Poster
 
the_lone_wolf's Avatar
 
Join Date: Jan 2007
Location: Hamble
Posts: 4,266
Default Re: FTP client hangs while connecting socket

Quote:
Originally Posted by Terah View Post
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
__________________
Official "Dumbass of the Year" 2011
(•_•)
( •_•)>⌐■-■
(⌐■_■)
Deal with it...

Last edited by the_lone_wolf; 21-02-11 at 11:00 PM.
the_lone_wolf is offline   Reply With Quote
Old 21-02-11, 10:22 PM   #8
Terah
Guest
 
Posts: n/a
Default 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
  Reply With Quote
Old 21-02-11, 10:28 PM   #9
the_lone_wolf
Captain Awesome
Mega Poster
 
the_lone_wolf's Avatar
 
Join Date: Jan 2007
Location: Hamble
Posts: 4,266
Default 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??
__________________
Official "Dumbass of the Year" 2011
(•_•)
( •_•)>⌐■-■
(⌐■_■)
Deal with it...
the_lone_wolf is offline   Reply With Quote
Old 21-02-11, 10:43 PM   #10
hongman
Guest
 
Posts: n/a
Default 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
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F'ed over by a client. Moojuicepez Idle Banter 21 09-02-10 01:03 AM
Problem client Ed Idle Banter 35 16-11-09 09:19 PM
Client gone bust Ed Idle Banter 22 10-06-08 09:23 AM
Geek opinion wanted, please: Thunderbird (mail client) Filipe M. Idle Banter 6 08-08-06 05:56 PM
New client - tips on client care required Ed Idle Banter 3 14-02-06 04:15 PM


All times are GMT. The time now is 01:01 AM.


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