I'm seeing a "Failure when receiving data from the peer" error when using token based auth
waterskier2007 opened this issue · 6 comments
waterskier2007 commented
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?
matthijs2704 commented
This means that the curl is installed but it's HTTP2 extention isn't. Try using the installer included in version 1.2
waterskier2007 commented
@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
matthijs2704 commented
No in version 1.2 of VaporAPNS (it now includes an installer)
waterskier2007 commented
Where can this installer be found? thanks for the help by the way
matthijs2704 commented
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
waterskier2007 commented
ah, thanks!