matthijs2704/vapor-apns

I'm seeing a "Failure when receiving data from the peer" error when using token based auth

waterskier2007 opened this issue · 6 comments

I'm seeing this error after following the docs line-for-line. I am not sure what is causing the error though. Has anyone else seen this?

This means that the curl is installed but it's HTTP2 extention isn't. Try using the installer included in version 1.2

@matthijs2704 installer in what version 1.2? version 1.2 of brew? the instructions specify installing curl through brew and that's what i followed

No in version 1.2 of VaporAPNS (it now includes an installer)

Where can this installer be found? thanks for the help by the way

Replace minor: 1 with minor: 2, then run your project in Terminal (vapor build --run). If the version is incorrect it'll show steps to update curl

ah, thanks!