【发布时间】:2016-12-03 06:44:45
【问题描述】:
我正在遵循https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-xamarin-android-get-started-push 的指南(以及似乎抄袭的原始 Xamarin 指南),但我在注册我的客户时遇到了问题。
在设置推送通知服务之前,我已成功登录用户。
GcmClient.CheckDevice(...) 和 GcmClient.CheckManifest(...) 都成功了,我的 PushHandlerService 正在被调用。
我的 PushHandlerService 中的 Push.RegisterAsync(...) 抛出 MobileServiceInvalidOperationException,因为它从服务接收到 HTTP 500 内部服务器错误。
查看 FREB 日志,似乎“错误”实际上应该是成功的,有趣的是与 EasyAuthModule 有某种关系:
NOTIFY_MODULE_COMPLETION ModuleName="EasyAuthModule_64bit", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="true", CompletionBytes="297", ErrorCode="操作成功完成。 (0x0)" 05:51:01.092
Module_set_response_error_status 警告 ModuleName="EasyAuthModule_64bit", Notification="AUTHENTICATE_REQUEST", HttpStatus="500", HttpReason="Internal Server Error", HttpSubStatus="79", ErrorCode="未指定错误 (0x80004005)", ConfigExceptionInfo="" 05:51:01.092
NOTIFY_MODULE_COMPLETION ModuleName="EasyAuthModule_64bit", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="true", CompletionBytes="0", ErrorCode="操作成功完成。 (0x0)" 05:51:01.092
【问题讨论】:
标签: azure xamarin.android google-cloud-messaging azure-mobile-services