<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Thanks, Mark, blazingly fast :-)<br>
<br>
Running the new version on my server now as well, and got the
"solved" confirmation by the user.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 20.05.25 um 04:40 schrieb Mark
Webb-Johnson via OvmsDev:<br>
</div>
<blockquote type="cite"
cite="mid:F20C5E1F-8BF7-4528-8BEC-E536504B77C9@webb-johnson.net">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Michael, and others,
<div><br>
</div>
<div>I’ve implemented a change to use HTTP/v2 API, based on
<a class="moz-txt-link-freetext" href="Net::APNS::Simple">Net::APNS::Simple</a> 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"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/openvehicles/Open-Vehicle-Server/issues/33</a></div>
</blockquote>
<div>
<div><br>
</div>
<div>This is now running on <a
href="http://api.openvehicles.com" moz-do-not-send="true">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 <a class="moz-txt-link-rfc2396E" href="mailto:ovmsdev@lists.openvehicles.com"><ovmsdev@lists.openvehicles.com></a> 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 <a class="moz-txt-link-freetext" href="Net::APNS::Simple">Net::APNS::Simple</a> (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
<a class="moz-txt-link-rfc2396E" href="mailto:ovmsdev@lists.openvehicles.com"><ovmsdev@lists.openvehicles.com></a> 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"
moz-do-not-send="true">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>
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a><br>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a><br>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre wrap="" class="moz-quote-pre">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Am Rahmen 5 * D-58313 Herdecke
Fon 02330 9104094 * Handy 0176 20698926</pre>
</body>
</html>