drallgood / jpasskit

jPasskit is an Java™ implementation of the Apple™ PassKit Web Service.
Apache License 2.0
275 stars 109 forks source link

Update Pass info then cause error #97

Closed cshijiel closed 7 years ago

cshijiel commented 7 years ago

Get pass task (pass type pass.com.qiyi, serial number 0013529801379053, if-modified-since (null); with web service url xxx) encountered error: Received invalid pass data.

How to fix it?

cshijiel commented 7 years ago

The Java zip is not same as Linux zip command, maybe it`s the reason.

drallgood commented 7 years ago

@cshijiel I don't think so. Have you tried manually downloading and verifying it using the signpass tool?

cshijiel commented 7 years ago

@drallgood I use safari to get this file and add to apple wallet successfully, but when I try to update this passbook,then error.

Response Header: HTTP/1.1 200 OK Server: Resin/4.0.44 Last-Modified: Mon, 18 Sep 2017 13:07:08 GMT Content-Disposition: form-data; name="attachment"; filename="pass.pkpass" Content-Type: application/vnd.apple.pkpass Date: Mon, 18 Sep 2017 13:07:08 GMT

What`s the probably reason? Thanks!

drallgood commented 7 years ago

I don't know. Please check the device logs and make sure the provided file is valid

drallgood commented 7 years ago

No response