Opened 16 years ago

Closed 15 years ago

Last modified 10 years ago

#3618 closed Bug report (fixed)

early timeout

Reported by: jcalvert18 Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc: jcalvert18, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

when trying to upload a file, times out before directory can be listed, then server files disappear. a log file is attached documenting this behavior.

Attachments (1)

fzlog2.txt (3.8 KB ) - added by jcalvert18 16 years ago.
log file showing timeout on ls

Download all attachments as: .zip

Change History (5)

by jcalvert18, 16 years ago

Attachment: fzlog2.txt added

log file showing timeout on ls

comment:1 by Tim Kosse, 16 years ago

Increase the timeout value in the settings dialog.

comment:2 by Jim Michaels, 15 years ago

Status: closedreopened

the default timeout value is too small (20 seconds). please change the default to at least 60 or 120, preferably 120. I had much less problems with servers with it set to 120. could you do that? thanks in advance.

I am noticing quite a number of bug reports about timeouts, so this is not an isolated incident. doing something like this should fix the problem for a lot of people and make filezilla client a better product.

comment:3 by Tim Kosse, 15 years ago

Resolution: fixed
Status: reopenedclosed

For most users a timeout of 120 seconds would be way too high.

The whole reason why the timeout is configurable is because no possible timeout value would fit for all users.

comment:4 by Jim Michaels, 15 years ago

I am still saying that 20 seconds is too short. set is to 120. you will get a lot less bug reports.
I understand that it is configurable - I myself had to set it to 400 because of low bandwidth. but read on, something odd is happening with msg 150.

default file transfer timeout is too short. default is 20 seconds. should be 60 seconds. otherwise, when transferring an html or png file, gets stuck in a loop. pauses for 10 seconds at "150 accepted data connection",
what do you think is happening? this especially happens when 2 filezillas are running and signal strength/bandwidth is low on WiMAX(clear.com). I have 1 uploading files. the other is completely starved. this does not always happen. when I was on comcast I could run 2 separate filezilla uploads.
I am currently on a 768k/384kbps connection.
I have also noticed that while filezilla is running, all other tcp/ip apps get starved. it does not have a "nice" factor (or is it called QOS?).

but the thing that bugs me most (is this a bug?) is that filezilla sits and oftentimes times out on "Response: 150 Accepted data connection".
it just sits there and does nothing.

If there is only supposed to be one filezilla running, check for NULL from the win32 call CreateMutex(0,0,"myMutex-Filezilla3-client-program"): if it is NULL, run your program. if it is not NULL, Exit the program immediately. and put this at the top of your program. it is used in installers.
for an NSIS installer, the code is
Function .onInit

#prevent multiple instances of the installer running
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "myMutexOOo3.1.0sn") i .r1 ?e'
Pop $R0

StrCmp $R0 0 +3
MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running."
Abort

...
FunctionEnd

here is the log from filezilla:
[server specifics obfuscated]

Status: Resolving address of nowhere.com
Status: Connecting to 0.0.0.0:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 2 of 50 allowed.
Response: 220-Local time is now 17:22. Server port: 21.
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER BLAH
Response: 331 User BLAH OK. Password required
Command: PASS
Response: 230-User BLAH has group access to: BLAH
Response: 230 OK. Current restricted directory is /
Status: Connected
Status: Starting upload of C:\www\jimm\cool-products\bluetooth.html
Command: CWD /public_html/cool-products
Response: 250 OK. Current directory is /public_html/cool-products
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,101,130)
Command: STOR bluetooth.html
Response: 150 Accepted data connection
Status: Disconnected from server
Error: Connection timed out
Status: Resolving address of nowhere.com
Status: Connecting to 0.0.0.0:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 1 of 50 allowed.
Response: 220-Local time is now 17:22. Server port: 21.
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER BLAH
Response: 331 User BLAH OK. Password required
Command: PASS
Response: 230-User BLAH has group access to: BLAH
Response: 230 OK. Current restricted directory is /
Status: Connected
Status: Starting upload of C:\www\jimm\cool-products\bluetooth.html
Command: CWD /public_html/cool-products
Response: 250 OK. Current directory is /public_html/cool-products
Status: Retrieving directory listing...
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,93,84)
Command: MLSD
Response: 150 Accepted data connection
Response: 226-ASCII
Response: 226-Options: -a -l
Response: 226 40 matches total
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,103,201)
Command: STOR bluetooth.html
Response: 150 Accepted data connection
Error: Connection timed out
Status: Resolving address of nowhere.com
Status: Connecting to 0.0.0.0:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 1 of 50 allowed.
Response: 220-Local time is now 17:22. Server port: 21.
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER BLAH
Response: 331 User BLAH OK. Password required
Command: PASS
Response: 230-User BLAH has group access to: BLAH
Response: 230 OK. Current restricted directory is /
Status: Connected
Status: Starting upload of C:\www\jimm\cool-products\bluetooth.html
Command: CWD /public_html/cool-products
Response: 250 OK. Current directory is /public_html/cool-products
Status: Retrieving directory listing...
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,89,14)
Command: MLSD
Response: 150 Accepted data connection
Response: 226-ASCII
Response: 226-Options: -a -l
Response: 226 40 matches total
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,128,155)
Command: STOR bluetooth.html
Response: 150 Accepted data connection
Error: Connection timed out
Status: Resolving address of nowhere.com
Status: Connecting to 0.0.0.0:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 2 of 50 allowed.
Response: 220-Local time is now 17:23. Server port: 21.
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER BLAH
Response: 331 User BLAH OK. Password required
Command: PASS
Response: 230-User BLAH has group access to: BLAH
Response: 230 OK. Current restricted directory is /
Status: Connected
Status: Starting upload of C:\www\jimm\cool-products\bluetooth.html
Command: CWD /public_html/cool-products
Response: 250 OK. Current directory is /public_html/cool-products
Status: Retrieving directory listing...
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,130,138)
Command: MLSD
Response: 150 Accepted data connection
Response: 226-ASCII
Response: 226-Options: -a -l
Response: 226 40 matches total
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,153,195)
Command: STOR bluetooth.html
Response: 150 Accepted data connection
Error: Connection timed out
Status: Resolving address of nowhere.com
Status: Connecting to 0.0.0.0:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 1 of 50 allowed.
Response: 220-Local time is now 17:23. Server port: 21.
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER BLAH
Response: 331 User BLAH OK. Password required
Command: PASS
Response: 230-User BLAH has group access to: BLAH
Response: 230 OK. Current restricted directory is /
Status: Connected
Status: Starting upload of C:\www\jimm\cool-products\bluetooth.html
Command: CWD /public_html/cool-products
Response: 250 OK. Current directory is /public_html/cool-products
Status: Retrieving directory listing...
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,207,70)
Command: MLSD
Response: 150 Accepted data connection
Response: 226-ASCII
Response: 226-Options: -a -l
Response: 226 40 matches total
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,102,248)
Command: STOR bluetooth.html
Response: 150 Accepted data connection
Error: Connection timed out
Status: Resolving address of nowhere.com
Status: Connecting to 0.0.0.0:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 1 of 50 allowed.
Response: 220-Local time is now 17:24. Server port: 21.
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER BLAH
Response: 331 User BLAH OK. Password required
Command: PASS
Response: 230-User BLAH has group access to: BLAH
Response: 230 OK. Current restricted directory is /
Status: Connected
Status: Starting upload of C:\www\jimm\cool-products\bluetooth.html
Command: CWD /public_html/cool-products
Response: 250 OK. Current directory is /public_html/cool-products
Status: Retrieving directory listing...
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,29,131)
Command: MLSD
Response: 150 Accepted data connection
Response: 226-ASCII
Response: 226-Options: -a -l
Response: 226 40 matches total
Command: PASV
Response: 227 Entering Passive Mode (0,0,0,0,7,125)
Command: STOR bluetooth.html
Response: 150 Accepted data connection
Error: Transfer aborted by user
Response: 226-File successfully transferred
Response: 226 28.235 seconds (measured here), 2.68 Kbytes per second

Note: See TracTickets for help on using tickets.