cloudfront with s3 origin won't download in chrome

0

I've set up a cloudfront distribution that points to a private s3 bucket to serve up files. Accessing the files through our distribution, ie: https://somedistrubution.cloudfront.net/somefilename works fine.

This link will eventually go in an email that we wrap in a tracking domain so we can see who has clicked it, opened it, etc. So our provider would make the url something like https://click.ourdomain.com/someobfuscatedpath. Pasting this into the address bar in chrome also works fine.

However, when sent in our html email template, clicking the link opens up in a new tab in chrome, then closes immediately without downloading. This works fine in firefox.

I've tried setting up a custom cname for cloudfront on the same domain as our tracking domain, which didn't solve the issue.

Any ideas?

posta 2 anni fa339 visualizzazioni
1 Risposta
0

However, when sent in our html email template, clicking the link opens up in a new tab in chrome, then closes immediately without downloading -

Is this on Mac? Have you tried minimizing the browser window and checking if the file download box goes to the background. I noticed this on Chrome a couple of days ago in a different context, so just asking. In my case I noticed similar behavior to yours but then did see the file download box getting hidden in the background. Probably some recent change in behavior in Chrome that's irritating.

profile pictureAWS
ESPERTO
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande