S3 Signed URLs pointing to a PDF fail to download
Reported by
swa...@semprehealth.com,
Jun 28 2017
|
|||||||||||
Issue descriptionExample URL: https://s3-us-west-1.amazonaws.com/discountcards.semprehealth.com/swaraj/477638a15db1ea282c140666fcd1039069303bd111fc29c3926a1417d527e2dc.pdf?Expires=1530250697&Signature=f7MIe0ScSS%2F9H6o1wqk6KPIJz8s%3D&AWSAccessKeyId=AKIAI5D7TQLMLQENARJA Steps to reproduce the problem: 1. On an iPhone, open Google Chrome 2. Go to https://s3-us-west-1.amazonaws.com/discountcards.semprehealth.com/swaraj/477638a15db1ea282c140666fcd1039069303bd111fc29c3926a1417d527e2dc.pdf?Expires=1530250697&Signature=f7MIe0ScSS%2F9H6o1wqk6KPIJz8s%3D&AWSAccessKeyId=AKIAI5D7TQLMLQENARJA 3. Red file icon appears, with text that says 'Download failed.' When you click, 'RETRY DOWNLOAD' in bottom right, same error occurs again What is the expected behavior? iOS Chrome opens PDF correctly What went wrong? For some reason, when iOS chrome tries to access a file linked via a signed S3 URL (https://boto3.readthedocs.io/en/latest/reference/services/s3.html#S3.Client.generate_presigned_url), chrome fails to download the file I have confirmed the link works on: iOS Safari, iOS Firefox, Mac OSX Chrome, Mac OSX Safari, Mac OSX Firefox Did this work before? N/A Chrome version: 59.0.3071.102 Channel: stable OS Version: iOS10.3.2 Flash Version:
,
Jun 29 2017
I don't actually know. I *believe* not (I think iOS moved off of our stack a while back for even non-webview related things) but I'm not absolutely sure. droger@: Do you know the answer to Eric's question?
,
Jun 30 2017
+dtrainor also, for #1.
,
Jun 30 2017
I think this is a known issue for iOS. We are using the Chrome netstack, but without the right cookies. See related (internal) doc: https://docs.google.com/document/d/1zH2RK0nQ-2-BItWnDdDduakX60DUcX6swyjc7IkAHo4/ And related bug 709680 .
,
Jun 30 2017
CC eugenebut
,
Jun 30 2017
This is something that we should be able to fix in iOS 11. M62 is probably the earliest release which will use iOS 11 SDK, so adding it as a tentative target milestone.
,
Jan 18 2018
,
Feb 16 2018
,
Feb 17 2018
This should be fixed by using WK cookie store.
,
May 4 2018
,
May 30 2018
,
Aug 10
|
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by eroman@chromium.org
, Jun 29 2017Components: UI>Browser>Downloads