简体   繁体   中英

GCM for iOS Getting com.google.gcm error 501

Trying to Integrate GCM to iOS. Initially the app was working fine and suddenly it is not working. Getting the following error.

GCM registration is not ready with auth credentials. Could not connect to GCM: The operation couldn't be completed. (com.google.gcm error 501.)

Any Help would be greatful. Thanks.

Based on this documentation , The error in the 500-599 range (such as 500 or 503) indicate that there was an internal error in the GCM connection server while trying to process the request, or that the server is temporarily unavailable (for example, because of timeouts). Sender must retry later, honoring any Retry-After header included in the response. Application servers must implement exponential back-off.

Also try to refresh your registration token and see if it works.

Check this SO question 33918922 and 33375229 for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM