Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: gvfs or dbus FTP timeout errors

  1. #1
    Join Date
    Jun 2006
    Beans
    Hidden!

    Exclamation gvfs or dbus FTP timeout errors

    Hello,

    I am trying to use Intrepid/Gnome + Gedit for web development. I installed all the gedit plugins and got everything to fit like a glove.

    I have all of my company's sites bookmarked. I connect and start editing sites and everything is beautiful EXCEPT...

    After sitting on an ftp for so long (however long the ftp connection timeout is) everything fails. I try to save something and it tells me it cant save and generally has trouble reconnecting to save. Freezes, and goes grey with this as a result:

    ----------
    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.
    ----------

    Basically what I am looking for is two things: Is there something I can do to fix this on my system? or is there something that I might change on my FTP servers to help (sometimes we don't host our clients sites so the best answer would be fixing something on my system)?

    Thanks and let me know what logs/information you might need. I am hoping I am not the only web developer that has run into this problem.

    Thanks again.

    Ohh I forgot, I am also getting this error in Nautilus after letting an open FTP window sit for too long.
    Last edited by flexgrip; December 14th, 2008 at 01:44 AM. Reason: Forgot something

  2. #2
    Join Date
    Nov 2007
    Beans
    3

    Re: gvfs or dbus FTP timeout errors

    Basically I'm having same problems. I'm using for development 8.04.2 + Gnome + Komodo EDIT and FTP acess hangs randomly. Gonna give a try with KDE and see does it makes any differences.

  3. #3
    Join Date
    Apr 2009
    Beans
    12
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: gvfs or dbus FTP timeout errors

    Hi,

    I have the same problem, if I open a remote file from a mounted ftp connection and keep this open for a while, the whole session hangs.

    The problem is that some ISP provide different "connections"?

    I have currently 2 providers:

    Never had this problem with my ADSL provider but now with my new cable broadband provider.

    Because this problem is also related to your ISP's connection this "timeout" bug is never solved in years (see similar post from 3 years ago)

    So where is the option for timeout and/or re-connect in nautilus?

    BTW I don't think this problem is related to gedit, if I open a connection with gftp or konquerer and edit the file with gedit the problem doesn't exists.

  4. #4
    Join Date
    Apr 2009
    Beans
    12
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: gvfs or dbus FTP timeout errors

    It seems that this will help:

    # sudo gconf-editor

    inside the editor:

    desktop -> gnome -> session

    I raised the "idle" time to 60 minutes

  5. #5
    Join Date
    Oct 2005
    Location
    Adelaide, South Australia
    Beans
    746
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: gvfs or dbus FTP timeout errors

    Quote Originally Posted by finalwebsites View Post
    It seems that this will help:

    # sudo gconf-editor

    inside the editor:

    desktop -> gnome -> session

    I raised the "idle" time to 60 minutes
    Ubuntu Intrepid 8.10 , key you mention isn't present in that location for me.
    Fear is the mindkiller....
    The little death that obliterates...

  6. #6
    Join Date
    Apr 2009
    Beans
    12
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: gvfs or dbus FTP timeout errors

    I thought that this was the solution for my problem, but it still exists.

    Seems to be something with my connection? Don't have the problem on other Internet connections.

  7. #7
    Join Date
    Nov 2009
    Beans
    1

    Re: gvfs or dbus FTP timeout errors

    I had a similar problem, it is all about the timeout on the distant end.

    I am currently using an SFTP site to provide network attached storage in a cross platform environment. ssh is easier for me.

    I used places to map the drive initially, but after that I use the command line and the startup applications to remount the share when I log in.

    The problem is that after some idle time it would disconnect and I would get errors when working with remote files. Maybe some type of keepalive mechanism should be implemented in gvfs.

    Until then... If you can schedule a job, you can set up your own dirty keepalive/reconnect. If you can't schedule, do a loop with a sleep...

    I use the at command and do an if -d on one of the directories on the share. I guess you could use touch as well and just touch the file every x minutes. The remount was just the first thing I thought about.


    Here is the script:

    Code:
    #!/bin/bash
    loc={part of the name of the share to mount}
    if [ ! -d "/home/{username}/.gvfs/{location name}/{directory to check}" ]
      then
        grep $loc ~/.gtk-bookmarks | cut -d ' ' -f 1 | xargs gvfs-mount
    fi
    
    echo "/home/{username}/checkmount.sh" | at now + 10 minutes
    It works for me. I haven't had any problems but you may lose connectivity for a couple minutes if the timing isn't right.

    Sturnus

  8. #8
    Join Date
    Jan 2009
    Location
    Braunschweig, Germany
    Beans
    18
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: gvfs or dbus FTP timeout errors

    Yes it's really annoying. Because I need some more flexibility I just wrote a python script (which is attached) to keep all my connections up and running.

    It keeps all once mounted ftp servers connected until you restart your session or the script. It's a bit quick'n'dirty but I don't have the need for a graphical user interface to prevent servers from being remounted or something like this atm.

    You have to configure the script to fit your local language since gvfs mounts the servers on folders with located names. In german they're called "FTP als foo auf bar.de" for example so the configuration has to look like "FTP als {USER} auf {HOST}". And you can set a timeout. In my case 5 minutes (300 seconds) seems to work fine.

    I added it to the sessions autostart programs so I don't have to deal with ftp connections anymore. But remember: every ftp server mounted once will be kept alive. If you shut your computer down every night or don't deal with hundrets of servers it shouldn't become a problem anyway.

    Greetings, Markus.
    Attached Files Attached Files
    Lucily got rid of the (cr)Apple MacBook and finally got a real computer: Thinkpad t61p GUI for ffmpeg

  9. #9
    Join Date
    Jun 2005
    Location
    Germany, Thüringen
    Beans
    71

    Re: gvfs or dbus FTP timeout errors

    Hey boomshop,
    your script works like a charm.
    Many thanks.
    My ftp-session is still open after lunch.

    Thanks
    [urlmichaelstein-itb.de[/url] - TYPO3 development

  10. #10
    Join Date
    Apr 2011
    Beans
    1

    Re: gvfs or dbus FTP timeout errors

    Quote Originally Posted by finalwebsites View Post
    It seems that this will help:

    # sudo gconf-editor

    inside the editor:

    desktop -> gnome -> session

    I raised the "idle" time to 60 minutes
    Immediate Fix. I had a bookmarked an FTP folder for my WebServer. And when ever i tried to connect to it it would give me a DBus Error. After i made this change it fixed the issue and i can connect to the FTP with out problems.

    Thanks!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •