APNs still returns {"reason": "MissingProviderToken"} even if the PEM certificate is provided.

problem description

APNs push returns {"reason": "MissingProviderToken"}

even though the PEM certificate is provided.

the environmental background of the problems and what methods you have tried

after carefully confirming the official documents, you don"t have to use token when providing a certificate

related codes

/ / Please paste the code text below (do not replace the code with pictures)

curl -d "{"aps":{"alert":{"title":"\u8857\u7535","body":"\u8ba9\u4f60\u7684\u751f\u6d3b\u6c38\u4e0d\u65ad\u7535"},"badge":-1,"mutable-content":true,"content-available":true},"url":"reemake:\/\/page\/login","p":"reemake:\/\/page\/login","title":"\u8857\u7535","description":"\u8ba9\u4f60\u7684\u751f\u6d3b\u6c38\u4e0d\u65ad\u7535","attachment":""}" https://api.development.push.apple.com:443/3/device/21189b24b438a5c0e3f295928cbb9fc4 --http2 --key /home/www/apns/dev_com.jumei.jiedian.pem --key-type PEM

what result do you expect? What is the error message actually seen?

the http code for this request should be 200 instead of 403

Mar.29,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea945d-47d06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea945d-47d06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?