After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 551540 - Podcast download failure when server closes connection in response to a HEAD request
Podcast download failure when server closes connection in response to a HEAD ...
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Podcast
0.11.x
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-09 16:57 UTC by ajs
Modified: 2009-01-06 00:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ajs 2008-09-09 16:57:54 UTC
Please describe the problem:
When trying to download the podcasts at http://www.acton.org/main/rss.php?l=121, I get download failures.



Steps to reproduce:
1. Subscribe to http://www.acton.org/main/rss.php?l=121
2. Download one of the feeds


Actual results:
Download failure

Expected results:


Does this happen every time?
Yes

Other information:

(Bastien Nocera from http://mail.gnome.org/archives/rhythmbox-devel/2008-September/msg00012.html)

$ gvfs-info http://bonhoeffer.acton.org/acton_media/mp3/2008-07-29_Richards.mp3
Error getting info: HTTP Error: Connection terminated unexpectedly

Using the libsoup debug program:
$ ./get -h http://bonhoeffer.acton.org/acton_media/mp3/2008-07-29_Richards.mp3
HEAD /acton_media/mp3/2008-07-29_Richards.mp3 HTTP/1.1

HTTP/1.1 7 Connection terminated unexpectedly
Comment 1 Jonathan Matthew 2008-09-10 10:17:30 UTC
2008-09-10  Jonathan Matthew  <jonathan@d14n.org>

        * podcast/rb-podcast-manager.c: (download_file_info_cb):
        If we get a generic 'failed' error here, continue with the download
        anyway.  Things like 'file not found' and 'permission denied' will
        still be reported correctly.  If the file info query fails, use the
        basename from the original URI for the downloaded file.

        (download_progress):
        Make the debug output a bit less obnoxious.

        (podcast_download_thread):
        If we didn't get it from the file info query, try to get the download
        size from the stream.  This doesn't actually work yet.

        Fixes #551540.
Comment 2 egil 2009-01-06 00:15:47 UTC
I have somewhat similar problems here. Version 0.11.6

This site used to work, but not any longer :(

Sample URL:

http://nl.nrk.no/podkast/aps/5446/nrk_ut_i_verden_2009-0105-1251_28454.mp3

Log:

(01:14:16) [0x900e470] [rb_podcast_manager_next_file] rb-podcast-manager.c:595: looking for something to download
(01:14:16) [0x900e470] [rb_podcast_manager_next_file] rb-podcast-manager.c:621: processing http://podkast.nrk.no/fil/ut_i_verden/nrk_ut_i_verden_2009-0105-0115_28456.mp3?stat=1&pks=28456
(01:14:16) [0x900e470] [rb_podcast_manager_next_file] rb-podcast-manager.c:633: hiding query string stat=1&pks=28456 from gnome-vfs
(01:14:17) [0x900e470] [rb_audioscrobbler_do_handshake] rb-audioscrobbler.c:883: Performing handshake with Audioscrobbler server: http://post.audioscrobbler.com/?hs=true&p=1.1&c=rbx&v=0.11.6&u=egilk
(01:14:17) [0x900e470] [rb_podcast_manager_download_file_info_cb] rb-podcast-manager.c:691: got file info results for http://podkast.nrk.no/fil/ut_i_verden/nrk_ut_i_verden_2009-0105-0115_28456.mp3?stat=1&pks=28456
(01:14:17) [0x900e470] [rb_podcast_manager_download_file_info_cb] rb-podcast-manager.c:709: get_file_info request failed
(01:14:17) [0x900e470] [rb_podcast_manager_next_file] rb-podcast-manager.c:595: looking for something to download
(01:14:17) [0x900e470] [rb_podcast_manager_next_file] rb-podcast-manager.c:609: download queue is empty
(01:14:17) [0x900e470] [rb_audioscrobbler_do_handshake_cb] rb-audioscrobbler.c:907: Handshake response
(01:14:17) [0x900e470] [rb_audioscrobbler_parse_response] rb-audioscrobbler.c:679: Parsing response, status=200
(01:14:17) [0x900e470] [rb_audioscrobbler_parse_response] rb-audioscrobbler.c:708: RESPONSE: UPTODATE
(01:14:17) [0x900e470] [rb_audioscrobbler_parse_response] rb-audioscrobbler.c:710: UPTODATE
(01:14:17) [0x900e470] [rb_audioscrobbler_parse_response] rb-audioscrobbler.c:715: MD5 challenge: "b1707d96a0d74a8e84139ceacd701e9e"
(01:14:17) [0x900e470] [rb_audioscrobbler_parse_response] rb-audioscrobbler.c:720: Submit URL: "http://post2.audioscrobbler.com:80/protocol_1.1"
(01:14:17) [0x900e470] [rb_audioscrobbler_parse_response] rb-audioscrobbler.c:708: RESPONSE: INTERVAL 1
Comment 3 Jonathan Matthew 2009-01-06 00:37:09 UTC
The version you are using does not include the fix mentioned above.