Android C2DM 服务器发送错误
我使用 PHP 代码编写第三个服务器,我可以获得 deviceRegistrationId 和 authToken,但现在我收到“未经授权的错误 401”,这是我使用的 PHP 代码。 C2DM实现PHP代码
I used PHP code to write the 3rd servers ,I can get the deviceRegistrationId and authToken, but now I receive "Unauthorized Error 401",here is the PHP code which I used. C2DM implementation PHP code
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
未经授权错误 401 表示用于验证发件人的 ClientLogin AUTH_TOKEN 无效。请确保您将正确的 ClientLogin 发送到 google 服务器。
Unauthorized Error 401 indicates that the ClientLogin AUTH_TOKEN used to validate the sender is invalid. Please make sure you are sending the correct ClientLogin to the google server.
任何客户端都会经历以下循环:
'http://')。此查找(IP 名称到 IP 地址的转换)由域名服务器 (DNS) 提供。
Any client goes through the following cycle:
'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs).