<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Michael, and others,<div><br></div><div>I’ve implemented a change to use HTTP/v2 API, based on Net::APNS::Simple perl module:</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><a href="https://github.com/openvehicles/Open-Vehicle-Server/issues/33">https://github.com/openvehicles/Open-Vehicle-Server/issues/33</a></div><div></div></blockquote><div><div><br></div><div>This is now running on <a href="http://api.openvehicles.com">api.openvehicles.com</a> and seems to work ok, but feedback appreciated.</div><div><br></div><div>Regards, Mark.</div><div><br><blockquote type="cite"><div>On 19 May 2025, at 8:20 PM, Mark Webb-Johnson via OvmsDev <ovmsdev@lists.openvehicles.com> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Michael,<div><br></div><div>Yes, seems I missed this. My other projects use either AWS SNS or EXPO so abstract this out.</div><div><br></div><div>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.</div><div><br></div><div>It is late here now, but I can have a look at it tomorrow (unless anyone else can have a go at it earlier).</div><div><br></div><div>Regards, Mark.</div><div><div><br><blockquote type="cite"><div>On May 19, 2025, at 7:13 PM, Michael Balzer via OvmsDev <ovmsdev@lists.openvehicles.com> wrote:</div><br class="Apple-interchange-newline"><div>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>
A user just reported he no longer gets any iOS notifications, seems
to have begun ~2-3 days ago.<br>
<br>
The log shows:<br>
<pre>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</pre>
<br>
I've found this forum entry:<br>
<a class="moz-txt-link-freetext" href="https://developer.apple.com/forums/thread/784585?answerId=839840022#839840022">https://developer.apple.com/forums/thread/784585?answerId=839840022#839840022</a><br>
<br>
So it seems Apple has finally adopted the Google way of deprecating
established services without need.<br>
<br>
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.<br>
<br>
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.<br>
<br>
Regards,<br>
Michael<br>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Am Rahmen 5 * D-58313 Herdecke
Fon 02330 9104094 * Handy 0176 20698926</pre>
</div>
_______________________________________________<br>OvmsDev mailing list<br>OvmsDev@lists.openvehicles.com<br>http://lists.openvehicles.com/mailman/listinfo/ovmsdev<br></div></blockquote></div><br></div></div>_______________________________________________<br>OvmsDev mailing list<br>OvmsDev@lists.openvehicles.com<br>http://lists.openvehicles.com/mailman/listinfo/ovmsdev<br></div></blockquote></div><br></div></body></html>