php-pkpass icon indicating copy to clipboard operation
php-pkpass copied to clipboard

Safari cannot download this file when downloading pass

Open martyndix opened this issue 3 years ago • 2 comments

Expected Behavior

Pass is downloaded when navigating to URL.

Actual Behavior

Pass is not generated and error message is shown "Safari cannot download this file". I have been using pkpass repository for years with no problems, just now it has started to display this message. Only change seems to be iOS 16 release.

Steps to Reproduce the Problem

  1. Navigate to URL to generate pass.
  2. Message is displayed

martyndix avatar Sep 18 '22 12:09 martyndix

I have tried to update the AppleWWDRCA.pem certificate but I do not think it is out of date. Not sure what else to try. Any assistance would be greatly appreciated. Thank you in advance.

UPDATE: It is working from Safari on a Mac, just not in iOS. Maybe it is an OS issue? Anyone else had the same?

martyndix avatar Sep 18 '22 12:09 martyndix

I can't reproduce this, works fine for me on iPhone and Mac. Are you using the final iOS 16 version and not a beta version?

There is information in the README on how to debug using the Console application, this should show you what error is occurring exactly on the device.

tschoffelen avatar Sep 19 '22 13:09 tschoffelen

I think this might have been related to the outdated WWDR cert as mentioned in #119 - this is fixed now.

tschoffelen avatar Oct 25 '22 08:10 tschoffelen