Cannot download from the community cookbooks site with Chrome or Firefox


#1

Ohai Chefs,

For the past week or so, I’ve been having trouble downloading cookbooks
from the community site with Chrome - clicking the Download button does
nothing. Inspecting the request, I see the following:

Request URL:
http://s3.amazonaws.com/community-files.opscode.com/cookbook_versions/tarballs/4399/original/ark20130824-75852-7xhra7.?1377376716
Request Method: GET
Status Code: 206 Partial Content

Request Headers
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Cookie:__utma=225501720.607812937.1366234404.1366234404.1366234404.1;
__utmz=225501720.1366234404.1.1.utmcsr=showclix.com|utmccn=(referral)|utmcmd=referral|utmcct=/receipt/76139F6U1801963;
__utmv=225501720.|1=Meeting%20ID=4152=1;
__gads=ID=beb8bce2a8d39614:T=1378152644:S=ALNI_Man54HKIiOB_2_2l0ET2JrOJAHcBA
Host:s3.amazonaws.com
If-Range:"7b5a03c7de36a45f87a91c05b0fe2e1d"
Range:bytes=4019-4019
Referer:http://community.opscode.com/cookbooks/ark
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36
Query String Parameters
1377376716:

Response Headers
Accept-Ranges:bytes
Content-Length:1
Content-Range:bytes 4019-4019/15525
Content-Type:application/octet-stream
Date:Thu, 26 Sep 2013 23:13:32 GMT
ETag:"7b5a03c7de36a45f87a91c05b0fe2e1d"
Last-Modified:Sat, 24 Aug 2013 20:38:48 GMT
Server:AmazonS3
x-amz-id-2:XW0C5L1s+8oV95h82GNuFvCHtwcrI4fRFPY0ICAKtAlFI3gpxFZ4XEGWakR1pfhe
x-amz-request-id:44C2FF0982C8DE9C

Firefox is also not handling this properly - it prompts me to download a
15.2KB file called “ark20130824-75852-7xhra7”. This seems to be sporadic,
as one c coworker sees the same behavior with Firefox, but not Chrome.
Another sees this issue just like I do. Did something change on the
community cookbooks S3 bucket? Has anyone else seen this behavior?


#2

Looks like this file is indeed the cookbook, but it’s still not handled
properly.

On Thu, Sep 26, 2013 at 4:31 PM, Christopher Armstrong <
chris@chrisarmstrong.me> wrote:

Ohai Chefs,

For the past week or so, I’ve been having trouble downloading cookbooks
from the community site with Chrome - clicking the Download button does
nothing. Inspecting the request, I see the following:

Request URL:
http://s3.amazonaws.com/community-files.opscode.com/cookbook_versions/tarballs/4399/original/ark20130824-75852-7xhra7.?1377376716
Request Method: GET
Status Code: 206 Partial Content

Request Headers
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Cookie:__utma=225501720.607812937.1366234404.1366234404.1366234404.1;
__utmz=225501720.1366234404.1.1.utmcsr=showclix.com|utmccn=(referral)|utmcmd=referral|utmcct=/receipt/76139F6U1801963;
__utmv=225501720.|1=Meeting%20ID=4152=1;
__gads=ID=beb8bce2a8d39614:T=1378152644:S=ALNI_Man54HKIiOB_2_2l0ET2JrOJAHcBA
Host:s3.amazonaws.com
If-Range:"7b5a03c7de36a45f87a91c05b0fe2e1d"
Range:bytes=4019-4019
Referer:http://community.opscode.com/cookbooks/ark
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36
Query String Parameters
1377376716:

Response Headers
Accept-Ranges:bytes
Content-Length:1
Content-Range:bytes 4019-4019/15525
Content-Type:application/octet-stream
Date:Thu, 26 Sep 2013 23:13:32 GMT
ETag:"7b5a03c7de36a45f87a91c05b0fe2e1d"
Last-Modified:Sat, 24 Aug 2013 20:38:48 GMT
Server:AmazonS3
x-amz-id-2:XW0C5L1s+8oV95h82GNuFvCHtwcrI4fRFPY0ICAKtAlFI3gpxFZ4XEGWakR1pfhe
x-amz-request-id:44C2FF0982C8DE9C

Firefox is also not handling this properly - it prompts me to download a
15.2KB file called “ark20130824-75852-7xhra7”. This seems to be sporadic,
as one c coworker sees the same behavior with Firefox, but not Chrome.
Another sees this issue just like I do. Did something change on the
community cookbooks S3 bucket? Has anyone else seen this behavior?