Hi i am sending IOS push notifications using apns and curl in php and getting this error message.
I also define \'CURL_HTTP_VERSION_2_0\' but still getting this erro
Kindly enable your http2 in curl package of your php.
Also see the phpinfo() if you have already enabled the http2 support for curl or not.
After that just set your CURLOPT_HTTP_VERSION curl option with 3
CURLOPT_HTTP_VERSION