我收到 [C2DMReg] handleRequest
org.apache.http.auth.AuthenticationException
在尝试从谷歌服务器获取注册 ID 时。这是 logcat 跟踪:
02-24 19:10:26.951: WARN/DefaultRequestDirector(122): Authentication error: Unable to respond to any of these challenges: {}
02-24 19:10:26.969: DEBUG/C2DMRegistrar(122): [C2DMRegistrar.24] register: http error 401
02-24 19:10:26.969: ERROR/C2DMRegistrar(122): [C2DMReg] handleRequest caught org.apache.http.auth.AuthenticationException
但是我能够获取注册 ID。但是当我尝试将味精发送到设备时,我得到一个异常是
javax.net.ssl.SSLHandshakeException:无法验证 SSL 证书:https ://android.apis.google.com/c2dm/send
可能是什么原因?我为 C2DM 服务注册了我的电子邮件 ID 已经 24 小时。我收到了他们的邮件。但它仍然不起作用。