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

Thread: Feed - download doesn't start but streaming is working

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    1

    Exclamation Feed - download doesn't start but streaming is working

    Hello,

    I'm Alessandro from Italy, the host of the gaming podcast Gaming Effect.

    Some podcast listeners told me that the feed of my podcast has some issues with BeyondPod.
    The last episode works if streamed but the download never starts.

    This is the feed's URL: http://www.gamingeffect.it/feed/podcast
    Can we investigate what's wrong?

    Thanks for your help.
    Best regards,

  2. #2
    BeyondPod Team
    Join Date
    Mar 2012
    Location
    UK, http://blog.juwlz.co.uk/
    Posts
    4,169
    I'm not sure why, but for me the log shows the following:

    Failed Episodes
    Episodio 33
    Reason to fail: Exception - java.lang.OutOfMemoryError -> OutOfMemoryError

    and

    Feed Download Details

    Failed - Episodio 33
    Feed Url: http://www.gamingeffect.it/feed/podcast
    Episode Url: http://www.gamingeffect.it/podpress_...pisodio_33.mp3
    Downloaded: 0, starting at position: 0 took: 0 mSec. at 0.00 KB/Sec
    Content Size: 0. Cache Size: Not Set
    Content Date: Unknown. Cache Date: Not Set
    Feed has Image: Yes, image downloaded: Yes
    Content Compression: Not Compressed
    Reason to fail: Exception - java.lang.OutOfMemoryError -> OutOfMemoryError
    Failed - Episodio 33
    Feed Url: http://www.gamingeffect.it/feed/podcast
    Episode Url: http://www.gamingeffect.it/podpress_...pisodio_33.mp3
    Downloaded: 0, starting at position: 0 took: 0 mSec. at 0.00 KB/Sec
    Content Size: 0. Cache Size: Not Set
    Content Date: Unknown. Cache Date: Not Set
    Feed has Image: Yes, image downloaded: Yes
    Content Compression: Not Compressed
    Reason to fail: Exception - java.lang.OutOfMemoryError -> OutOfMemoryError
    Failed - Episodio 33
    Feed Url: http://www.gamingeffect.it/feed/podcast
    Episode Url: http://www.gamingeffect.it/podpress_...pisodio_33.mp3
    Downloaded: 0, starting at position: 0 took: 0 mSec. at 0.00 KB/Sec
    Content Size: 0. Cache Size: Not Set
    Content Date: Unknown. Cache Date: Not Set
    Feed has Image: Yes, image downloaded: Yes
    Content Compression: Not Compressed
    Reason to fail: Exception - java.lang.OutOfMemoryError -> OutOfMemoryError

    The fact that it shows the same error three times may be a clue? Or maybe it's just that BeyondPod is retrying that many times.

    Julie
    Last edited by juwlz; 10-13-2013 at 12:19 PM.

  3. #3
    BeyondPod Team
    Join Date
    Mar 2012
    Location
    UK, http://blog.juwlz.co.uk/
    Posts
    4,169
    I can't download ANY episode, not just the latest one.

    Has anything about the feed changed?

  4. #4
    BeyondPod Team
    Join Date
    Mar 2012
    Location
    UK, http://blog.juwlz.co.uk/
    Posts
    4,169
    As I suspected, the fact that it fails 3 times is because BeyondPod retries twice.

    We did start investigating issues with this feed about 4 months ago, but made no progress. It seems that there must be something unique to this feed that causes the issue, but we couldn't work out what it was.

    Julie

  5. #5
    BeyondPod Team
    Join Date
    Feb 2012
    Posts
    1,033
    Alessandro,

    I did a bit of investigation on this. Seems like there is something incorrectly formatted in the return headers when your server returns the episode. From what I can tell, some formatting issue in the header portion of the response causes the whole content body (the MP3 file itself) to look like it is a part of the header, which internally causes memory overflow in the code that handles it. We use the standard Apache HTTP library for Android that is somewhat "picky" and does not tolerate well responses that are not per RFC "standard".

    I can dig a bit further and see what header exactly causes the issue, but I was wondering if you can see on your side if there is maybe something obvious related to the code that generates the response headers.

    Stefan

  6. #6
    Junior Member
    Join Date
    Mar 2014
    Posts
    7
    Hi.

    Since a few weeks I have the same kind of issue with the following feed :
    http://podcast.proxi-jeux.fr/feed/
    I cannot download (OutOfMemoryError), but streaming works as expected.

    I've been using this feed since a few years without issue, and it's only recently that I have this problem.

    For example, the latest episode has the following URL:
    http://podcast.proxi-jeux.fr/podpres...proxi-Jeux.m4a
    which is a redirect to:
    http://podcast.proxi-jeux.fr/wp-cont...proxi-Jeux.m4a
    which HTTP-header (reported by curl) is:
    HTTP/1.1 200 OK
    Set-Cookie: clusterBAK=R1564868203; path=/; expires=Sun, 16-Mar-2014 09:46:01 GMT
    Date: Sun, 16 Mar 2014 08:45:40 GMT
    Content-Type: text/plain
    Content-Length: 145803618
    Connection: keep-alive
    Set-Cookie: clusterD=R3174303633; path=/; Max-Age=900
    Server: Apache
    Last-Modified: Sat, 15 Mar 2014 19:39:19 GMT
    Accept-Ranges: bytes
    I don't know how to investigate further.

    In case the feed is the culprit, could you please explain why, so I can report back to the site administrators?

    Thank you in advance.

  7. #7
    BeyondPod Team
    Join Date
    Feb 2012
    Posts
    1,033
    arnauldvm,

    This may have been some temporary issue as I was able to download the latest 2 episodes (Mar 15 and Mar 16). Does it work for you?
    (Alternatively it is possible that you were somehow connected through a proxy that may have messed up with the headers)

    Stefan

  8. #8
    Junior Member
    Join Date
    Mar 2014
    Posts
    7
    Quote Originally Posted by StefanK View Post
    This may have been some temporary issue as I was able to download the latest 2 episodes (Mar 15 and Mar 16). Does it work for you?
    (Alternatively it is possible that you were somehow connected through a proxy that may have messed up with the headers)
    Thanx for checking.
    I tested again and it appears it works over my mobile connection, but not with my home connection through WiFi.
    Very strange, my WiFi box (Numericable "LaBox", Belgian version) is not supposed to at as a proxy for my phone.
    I'll see how I can check this (?).
    Or is there another possible reason for my WiFi box to screw up the HTTP request?

    (What is strange is that I don't have the issue with other feeds.)
    Last edited by arnauldvm; 03-17-2014 at 05:13 PM.

  9. #9
    Junior Member
    Join Date
    Mar 2014
    Posts
    7

    Lightbulb

    I somehow managed to capture a pcap of the conversation between Beyondpod and the server.

    This is what comes out of it:
    Code:
    GET /podpress_trac/feed/5304/0/Debrief%20de%20Cannes_Final.mp3 HTTP/1.1
    Accept: */*
    Accept-Encoding: gzip
    Host: podcast.proxi-jeux.fr
    Connection: Keep-Alive
    User-Agent: Mozilla/5.0 (Linux; U; en-us; BeyondPod)
    
    HTTP/1.1 302 Found
    Set-Cookie: clusterBAK=R1564866025; path=/; expires=Mon, 17-Mar-2014 23:55:01 GMT
    Date: Mon, 17 Mar 2014 22:42:35 GMT
    Content-Type: text/html
    Content-Length: 0
    Connection: keep-alive
    Set-Cookie: clusterD=R3174303633; path=/; Max-Age=900
    Server: Apache
    X-Powered-By: PHP/5.4.24
    Set-Cookie: PHPSESSID=d718bfc16bd153902a21641589c44a91; path=/
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    X-PodPress-Location: http://podcast.proxi-jeux.fr/wp-cont...nnes_Final.mp3
    Location: http://podcast.proxi-jeux.fr/wp-cont...nnes_Final.mp3
    Vary: Accept-Encoding
    Content-Encoding: gzip
    
    ..........................GET /wp-content/uploads/2014/03/Debrief%20de%20Cannes_Final.mp3 HTTP/1.1
    Accept: */*
    Accept-Encoding: gzip
    Host: podcast.proxi-jeux.fr
    Connection: Keep-Alive
    User-Agent: Mozilla/5.0 (Linux; U; en-us; BeyondPod)
    
    HTTP/1.1 200 OK
    Set-Cookie: clusterBAK=R1564866025; path=/; expires=Mon, 17-Mar-2014 23:55:01 GMT
    Date: Mon, 17 Mar 2014 22:42:35 GMT
    Content-Type: audio/mpeg
    Content-Length: 61088833
    Connection: keep-alive
    Set-Cookie: clusterD=R3174303633; path=/; Max-Age=900
    Server: Apache
    Last-Modified: Sun, 16 Mar 2014 22:20:58 GMT
    Accept-Ranges: bytes
    Cache-Control: max-age=172800
    Expires: Wed, 19 Mar 2014 22:42:35 GMT
    
    ID3......vTSS....GarageBand 6.0.5COM..h.engiTunNORM. 00000057 00000057 00000DAE 00000DAE 001B8A34 001B8A34 00007E92 00007E92 0017E6E0 0017E6E0.COM....engiTunSMPB. 00000000 00000210 000008F0 000000000A090000 00000000 03A40732 00000000 00000000 00000000 00000000 00000000 00000000.TDA....1203TIM....0905TYE....2014TT2....Debrief de Cannes_FinalTAL....Proxi-Jeux TCM....Proxi-Jeux TP1....Proxi-Jeux TBP....0...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................@...f....1.X..@=&\...8..k....@..q.2.s..........m.7=RA..D..&L...G..{{.D..........a....w...?..xgC...........z..<.....?.a.4.".s..'...
    (...)
    Last edited by arnauldvm; 03-18-2014 at 05:47 PM.

  10. #10
    BeyondPod Team
    Join Date
    Feb 2012
    Posts
    1,033
    The proxy issue was just a "theoretical" guess, it may not be the issue at all. Have you tried downloading it over Mobile connection as an experiment?

    The capture fragment above seems normal and the headers look good. One thing you can try to download again and look at the Android log in BeyondPod (Menu > More > Settings > Menu (press menu key again) > View Logs > View Android Log. It may have a stack trace showing where this OutOfMemory error occurs. It is strange that I have no trouble downloading the episodes (which would have made it easy to see what causes the issue). What kind of device/Android version are you using?

Posting Permissions

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