Back to Top

DC 400 Error downloading episode from S3 link

5 posts / 0 new
Last post
robreinhold
Offline
Last seen: 4 years 1 month ago
Joined: 04/01/2016 - 13:02
DC 400 Error downloading episode from S3 link

A podcast I listen to has recently moved their episodes into AWS (Amazon Web Services) S3. I authenticate to the RSS feed with a username password, and DoggCatcher is still able to do that. I get a list of episodes with the name and show notes, so looks like DC is able to get and parse the RSS XML.

Here's a snippet showing the episode URL:
<title>Episode 18G - Scott Thompson</title>
<link>http://pardcast.com</link>
<description>Polishing shoes with Scott Thompson.</description>
<category>Comedy</category>
<pubDate>Sun, 27 Mar 2016 20:00:00 -0700</pubDate>
<guid>season18E1997video</guid>
<itunes:duration/>
<itunes:author>Jimmy Pardo</itunes:author>
<itunes:explicit>Yes</itunes:explicit>
<author>fanclub@jimmypardo.com (Jimmy Pardo)</author>
<media:content url="http://nnfseason18.s3.amazonaws.com/NNF18G_4117H347H.mp3?AWSAccessKeyId=... fileSize="0" type="audio/mpeg"/>

Edit: the forum software doesn't seem to like how long this link is. In multiple parts for re-creation (final 3 lines are request params, use ? and & to splice together):
http://nnfseason18.s3.amazonaws.com/NNF18G_4117H347H.mp3
AWSAccessKeyId=AKIAI7W4MUEFVZKHIMTQ
Expires=1459543218
Signature=M71QJCo%2BUyfeVj9W8UmJtScc3FU%3D

If you paste this URL into a browser, the episode immediately starts playing (the browser downloads the mpeg).
http://nnfseason18.s3.amazonaws.com/NNF18G_4117H347H.mp3?AWSAccessKeyId=...

In the Chrome debugger, I can see that it gets a "200 OK" followed by a "206 PARTIAL CONTENT". Is DC not able to download multi-part content?

WayneC
Offline
Last seen: 3 days 7 hours ago
Joined: 02/23/2011 - 22:28
S3 Servers

There is an issue affecting DC with premium/paid feeds hosted on Amazon S3 servers (Savage & Manager tools) "See posts http://www.doggcatcher.com/node/1087 & http://www.doggcatcher.com/node/3982"
This issue is on Eric's to do list 0001435: Feed option to suppress use of credentials for downloading media files. This is for feeds that require authentication but media files do not. - http://mantis.doggcatcher.com/view.php?id=1435 - listed under DoggCatcher - 1.2.not.scheduled (Scheduled For Release 2016-11-01) http://mantis.doggcatcher.com/roadmap_page.php

eric
Offline
Last seen: 1 month 3 weeks ago
Joined: 11/06/2008 - 22:02
The beta that I'm going to

The beta that I'm going to release later tonight changes how authentication is handled when downloading episodes and it may resolve this...not sure but it's possible.

It would be great if you could join the beta and give it a try. There are details to join the beta here - www.doggcatcher.com/beta

Thanks.

robreinhold
Offline
Last seen: 4 years 1 month ago
Joined: 04/01/2016 - 13:02
Joined

Joined the beta program, got an immediate update in the Play store. The About page in DoggCatcher says:
Version: 1.2.5254
Release channel: Paid

Both feeds that source episodes from AWS S3 downloaded episodes fine.

Can you confirm that I got the beta you were expecting? Looks good on my end.

eric
Offline
Last seen: 1 month 3 weeks ago
Joined: 11/06/2008 - 22:02
Yup, that's the right one.

Yup, that's the right one.

If I don't run into any problems with the beta group with this release, it'll probably hit the market in a week or two.

Thanks for reporting back.