podcast: download fails with Requested Range Not Satisfiable ( HTTP 416 )
version: latest git
I encountered this issue today. Not sure what triggered it, as I wasn't working on anything related to podcast. But below are the steps to reproduce.
1. Steps to reproduce
- download 1 podcast episode
- close rhythmbox
- edit
rhythmdb.xml
file and change downloaded podcast-post state from100
to102
( waiting ) - start rhythmbox
- podcast episode download should fail with below error
2. Wireshark data
GET /livestitches/dXJuJTNBYmJjJTNBcG9kY2FzdCUzQXAwOHIyNTJu/963683f053c96462c46d90169ffda227.mp3?ci=n6NRt2yyu4VE-O_DNeEDI2DcBZ3oJSmWSiC6G9Dedv7zLq5kqMoHYg%3D%3D&pf=rss&range=bytes%3D3089727-&sv=sphinx%401.34.2&uid=ec396617e964419eaa854dd86efe1714&Expires=1612780539&Signature=Ks-8sR5sixRIWrycpT8grBaWtN1q3J4ZycY37m5w95h~EzLmNHrD6VHm3xoXMEO06WgIPhsyqtjnwRCTxI1XJXgmF2OCc9jHqyyIl8NKWqWAgDQGFdMcPttgsGZBwLRJczkHtxqSK60iL7uPmM8dkORza6D4u9a-lRKOksm09QjGB3ejUrMv3knYhWhX4gQkv2LMOr14GyWzYiGBFtg3Hgd7QOOu9mBPeXRGobc8vwJPoPvhH~k61j2Xbj38CHBMdlvoR3Nfvj6Jvb35EW~V~DBJ09lbm5f9nT47cuhosF5mVj4a48j5JalkeEekurhqpl8n4cbx2HZbj1A5IgIGAQ__&Key-Pair-Id=APKAJXAFARUOTJQ3BLOQ HTTP/1.1
Host: stitcher.acast.com
Range: bytes=3089727-
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
User-Agent: rhythmbox/3.4.4
HTTP/1.1 416 Requested Range Not Satisfiable
Content-Type: text/html
Content-Length: 49
Connection: keep-alive
Server: CloudFront
Date: Fri, 11 Sep 2020 10:20:39 GMT
Expires: Fri, 11 Sep 2020 10:20:39 GMT
X-Cache: Error from cloudfront
Via: 1.1 bf5c45d38bcbc855bc2d697c4a8787b3.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: MRS52-C1
X-Amz-Cf-Id: GkxV7XglGGS4r43KwDOqfbfgUgFLl1eFGkvqj2uOpQKONWGt0y7shw==
<html><body>Sorry, invalid request</body></html>
Appears to be a corner case issue, where downloaded
== file_size
.