[Ovmsdev] Urgent server issue: Apple push notification API deprecated

Mark Webb-Johnson mark at webb-johnson.net
Tue May 20 10:40:44 HKT 2025


Michael, and others,

I’ve implemented a change to use HTTP/v2 API, based on Net::APNS::Simple perl module:

https://github.com/openvehicles/Open-Vehicle-Server/issues/33

This is now running on api.openvehicles.com <http://api.openvehicles.com/> and seems to work ok, but feedback appreciated.

Regards, Mark.

> On 19 May 2025, at 8:20 PM, Mark Webb-Johnson via OvmsDev <ovmsdev at lists.openvehicles.com> wrote:
> 
> Michael,
> 
> Yes, seems I missed this. My other projects use either AWS SNS or EXPO so abstract this out.
> 
> It appears that a simple short-term solution is to switch to Net::APNS::Simple (which says it uses the Apple HTTP/2 interface). It is blocking, but we could wrap it in a fork_call just like the GCM implementation does.
> 
> It is late here now, but I can have a look at it tomorrow (unless anyone else can have a go at it earlier).
> 
> Regards, Mark.
> 
>> On May 19, 2025, at 7:13 PM, Michael Balzer via OvmsDev <ovmsdev at lists.openvehicles.com> wrote:
>> 
>> A user just reported he no longer gets any iOS notifications, seems to have begun ~2-3 days ago.
>> 
>> The log shows:
>> 2025-05-19 12:50:32.140969 +0200 info  main: - - - msg apns processing queue for gateway.push.apple.com
>> 2025-05-19 12:50:32.571275 +0200 error main: - - - connection to apns FAILED: EOF during handshake
>> 2025-05-19 12:50:32.571384 +0200 error main: - - - msg apns processing ABORT for gateway.push.apple.com: connection closed
>> 
>> I've found this forum entry:
>> https://developer.apple.com/forums/thread/784585?answerId=839840022#839840022
>> 
>> So it seems Apple has finally adopted the Google way of deprecating established services without need.
>> 
>> Mark, I assume this affects your server as well, if not now then in the near future. Probably the iOS App doesn't need an update, but I haven't checked that.
>> 
>> Is anyone able to help with updating the server to the new APNS API? I don't have any iOS devices, so testing is difficult for me.
>> 
>> Regards,
>> Michael
>> 
>> -- 
>> Michael Balzer * Am Rahmen 5 * D-58313 Herdecke
>> Fon 02330 9104094 * Handy 0176 20698926
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.openvehicles.com
>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20250520/acc9387f/attachment.htm>


More information about the OvmsDev mailing list