gvfs should auto reconnect when disconnected

Bug #905497 reported by markba on 2011-12-16
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gnome-vfs (Ubuntu)

Bug Description

When a connection is made to a remote server through, for example ftp, in many cases the host disconnects when there is no activity during a timeout. This is not a particular problem is Nautilus, because then a reconnect will take place.

However, when a file is opened on the remote server (for example a text file opened by gedit) and when a disconnect has taken place, saving the file results in an error. gvfs should detect this situation and automatically reconnect.

Woraround for this situation: navigate with Nautilus to the remote connection, press F5 for refresh and the connection is re-established.

markba (mark-baaijens) wrote :

Sometimes even the refresh-action does not re-activate the connection. Then you have to actively do a dis-connect en re-connect.

Launchpad Janitor (janitor) wrote :

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

Changed in gnome-vfs (Ubuntu):
status: New → Confirmed
Victor Yap (victor-yap) wrote :

For users who use gvfs exclusively in a desktop environment:

This kind of issue is apparently somewhat addressed by a program called Gigolo (http://www.uvena.de/gigolo/index.html)

It makes it easier for me to do the reconnecting. More specifically, it doesn't care if the mount was left dangling; it's smart enough to sort that out simply by being asked to connect.

As for those who might be using gvfs to support CLI operations... maybe Gigolo's source code can reveal some potentially useful insights that can be carried into gvfs... http://git.xfce.org/apps/gigolo

See also : https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/223636

Still persist in Trusty, prevents Nautilus from start.

thx for gigolo tip! I can now disconnect and launch nautilus

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers