2017-05-17 13 views
0

기존 앱이 notifications을 보내려고하면 아래 오류가 갑자기 나타납니다. 아직 Firebase로 업그레이드되지 않았으며 진행 중입니다. Google이 GCM notifications을 보내는 기능을 종료 했습니까? GCM 알림이 PushSharp에서 작동하지 않습니다.

{ "클래스 이름": "PushSharp.Android.GcmMessageTransportException", "메시지": "내부 서비스 오류", "데이터"널 (null) "의 InnerException"널 (null) "HELPURL"널 (null) " StackTraceString ":" PushSharp.Android.GcmPushChannel.processResponseError (GcmAsyncParameters asyncParam) \ R \ n PushSharp.Android.GcmPushChannel.responseCallback (IAsyncResult를 결과)에 ","RemoteStackTraceString에서 "널"RemoteStackIndex "0 , "ExceptionMethod": "8 \ nprocessResponseError \ nPushSharp.Android, 버전 = 2.0.4.0, 문화 = 중립, PublicKeyToken = cf74b75eab2c0170 \ nPushSharp.Android. GcmPushChannel \ nVoid는 processResponseError은 (GcmAsyncParameters) ","HRESULT "- 2146233088는"소스 ":"PushSharp.Android ","WatsonBuckets "는 null}

OnNotificationFailed는 예외에 다음을 반환

PushSharp.Android.GcmMessageTransportException: Internal Service Error 
    at PushSharp.Android.GcmPushChannel.processResponseError(GcmAsyncParameters asyncParam) 
    at PushSharp.Android.GcmPushChannel.responseCallback(IAsyncResult result) 
+0

AFAIK에서 [여기] (https://developers.google.com/cloud-messaging/http-server-ref#error-codes)와 같이 내부 서비스 오류가 발생하면 요청 보내기를 다시 시도 할 수 있습니다. 더 자세한 정보와 샘플 사용법은 [GitHub post] (https://github.com/Redth/PushSharp)에서 확인하실 수 있습니다. Firebase로 업그레이드 할 계획이라면이 [thread] (https://github.com/Redth/PushSharp/issues/752)가 도움이 될 것입니다. – Teyam

답변

0

우리는 이것을 무시하고 Firebase에 대한 릴리즈를 완료하기로 결정했습니다. 이것은 간헐적 인 문제인 것 같습니다. 우리는 단지 PushSharp 대신에 firebase를위한 나머지 서비스를 사용하려고합니다.