alexalok / dotAPNS

dotAPNS is a library used to send push notifications to Apple devices using Apple Push Notification service via HTTP/2 API.
Apache License 2.0
114 stars 34 forks source link

TooManyProviderTokenUpdates or InvalidProviderToken or Unregistered #128

Closed Rukid closed 4 months ago

Rukid commented 6 months ago

I periodically started receiving errors like InvalidProviderToken, etc. All connections are unique to (BundleId, CertContent, KeyId, TeamId) and lives for the life of the entire application. The application also runs on multiple pods. Any ideas on what these errors are related to? Connection creation: image

alexalok commented 6 months ago

Is it possible to try the ASP.NET Core integration just to rule out any potential issues in your caching solution? It seems really strange especially considering that the integration itself uses concurrent dictionaries under the hood for caching as well.

You also say that your application runs on multiple pods. Do they share the same IP? If so, I'm afraid a distributed JWT sharing is required, which is not something supported by the library atm.

stale[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.