FTP timeout problems

Bug #888365 reported by Alex
66
This bug affects 14 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Hi, I have a problem that has annoyed me for several years now. Nautilus has big problems with FTP connections.

Although it was changed in version 11.10 of Ubuntu it still do not work as expected.

What happens?
If I try to access a FTP folder from the bookmarks when the FTP connection is dead I get a box saying the host has closed the connection. I click OK, and try to press the bookmark again, several times, and nothing happens. So I try to unmount the FTP folder by clicking on the "eject" icon in the bookmarks and then nautilus closes since it was a ftp folder that was open. Then I can open nautilus again and connect.

I also have problems editing files from an FTP folder using gedit, but they are not so serious, and is improved from 11.04. If the FTP connection is dead, you will get a warning, this must be removed before you can press Ctrl + S again to save the file.

What I expect to happen?
When I try to open or save something in an FTP folder when the connection is dead, I want it to reconnect automatically.

Since I'm using at least 40 hours a week to edit files in an FTP or SFTP folder, this is a big problem for me. I really, really appreciate if someone can fix it. :)

Nautilus: 1:3.2.1-0ubuntu2
Ubuntu: 11.10

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nautilus 1:3.2.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Thu Nov 10 01:31:43 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
 LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en
 PATH=(custom, no user)
 LANG=nb_NO.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alex (alex-1992) wrote :
Changed in nautilus (Ubuntu):
importance: Undecided → Low
affects: nautilus (Ubuntu) → gvfs (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gvfs (Ubuntu):
status: New → Confirmed
Revision history for this message
Máté Majlinger (majlinger-mate) wrote :

Hi,

 I started to use Ubuntu a few months ago and switched to Bluefish editor for programming purposes. Since I am constantly developing to a remote server through an ftp connection, I come across this problem with the gvfs every half hour, if not more often.

While saving program codes through the editor I receive an error message quite often stating the following:

"DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."

I have checked the issue on other forums, and it seems the ftp connection simply dies after a period and reconnection is not done properly on the first attempt of upload. Actually, the file is deleted, then touched, but will not getting populated, and the program would not respond for about 20 seconds.

Once I received the error, and click Ok, the second time of saving the data is being uploaded all right. And this gets repeated again again. Hard to define what is the time out period.

So providing more advanced settings when making a server connection would be useful - especially timeout value and if the connection should be kept alive.

And I have no idea why reconnection would fail for the first time.

Also I can see that many people have signed up to be notified about the changes of this bug but only 3 of us have marked to be affected by it. Can you please push it a bit more and maybe mark it as being affected if you are?

And of course, thank you and respect for the support, keeping such a close relationship with users and the all the work you have done so far.

Regards,

Máté

Revision history for this message
Felix Möller (felix-derklecks) wrote :

To the others: does this for you just happen with FTP connections, or does it happen with SFTP connections too?

I can use my NAS via SFTP for hours, but my FTP connection will break after idling for just some minutes ...

Revision history for this message
Alex (alex-1992) wrote :

I only have problems with FTP now. SFTP works. :)

Revision history for this message
Anders Aagaard (aagaande) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.