GNOME Bugzilla – Bug 600830
Hangs querying YouTube URL
Last modified: 2009-12-18 09:18:55 UTC
1. Launch Totem 2. Enable the YouTube plugin in Edit -> Plugins... 3. Launch a search in the YouTube plugin 4. On one of the search results, right-click and copy the URL 5. Try gvfs-info on the URL For example: $ time gvfs-info "http://www.youtube.com/get_video?video_id=oMLCrzy9TEs&t=vjVQa1PpcFOQ9Jb7MskIXSWfQNf5FPBbGYoBVBnfetY%3D&fmt=18" Error getting info: 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. real 1m0.084s user 0m0.006s sys 0m0.005s It will timeout after a minute. <tbzatek> hadess: curl only reports HTTP/1.1 303 See Other, perhaps gvfs-httpd expects further data <tbzatek> and it hangs <tbzatek> Content-Length: 0
Note that I have the "network speed" setting to the maximum in totem ("Intranet/LAN") which means it adds the &fmt=18 argument to ask for a higher-resolution video. The problem is probably that the video doesn't exist in this format (in my case I do a search for "something good 08"). Removing the &fmt=18 makes gvfs-info work as expected.
fixed in libsoup; gvfs may need to copy the fix into gvfsbackenddav.c to make it work with dav (as opposed to plain http)
The SOUP_STATUS_SEE_OTHER and SOUP_STATUS_FOUND bits are commented out in dav.
*** Bug 595928 has been marked as a duplicate of this bug. ***