← Back to team overview

desktop-packages team mailing list archive

[Bug 410288] Re: Nautilus does not handle FTP timeouts well

 

Sebastien, bug #1416891 is about updating 12.04 LTS. to 1.20.3.
I sure would like to test it, but where can we get the fix?

The problem I see occurs when the server times out and closes the connection, looking like this on our side (netstat)
tcp       53      0 192.168.0.20:44879      xx.xxx.xxx.xxx:ftp      CLOSE_WAIT 
the 53 bytes to be read from the Recv-Q contain:
421 Timeout - try typing a little faster next time
gvfs-ftpd  should close that connection (or read the bytes) but it tries to use it instead.
The operation gets an error and, depending on which it is, may or may not close the connection and clear the error.
The   ls ~/.gvfs/FTP*   command  gets the connections in this state (input flushed and output blocked)
tcp        0      7 192.168.0.20:44879      62.210.182.224:ftp      CLOSE_WAIT 
This is not enough: the ls ~/.gvfs/FTP* command must be issued twice and the connection closes on second time.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/410288

Title:
  Nautilus does not handle FTP timeouts well

Status in gvfs:
  Fix Released
Status in Nautilus:
  Invalid
Status in gvfs package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: gvfs

  I connected to a FTP server via gvfs in Nautilus. After some time the
  FTP connection is closed automatically, as I observed with wireshark
  (421 No transfer timeout (300 seconds): closing control connection).

  After that, everytime I open a folder on the FTP server I get only an
  "unexpected end of stream" error. To access the FTP server again I
  have to disconnect and then connect again. Nautilus does not seem to
  know that the connection closed.

  A better behaviour IMHO would be to try and reconnect to the FTP
  server.

  ProblemType: Bug
  Architecture: i386
  Date: Fri Aug  7 15:16:05 2009
  DistroRelease: Ubuntu 9.10
  ExecutablePath: /usr/bin/nautilus
  LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Alpha i386 (20090722.2)
  Package: nautilus 1:2.27.4-0ubuntu4
  ProcEnviron:
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
  SourcePackage: nautilus
  Uname: Linux 2.6.31-5-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/410288/+subscriptions


Follow ups