Expo responses on push with connection_closed and retry_later

#1

Often when we are sending many push notifications in sequence (about 100-150 notifications per second), we receiving the responses: “connection_closed”, “req_timedout”, “retry_later”. What can cause this errors? Does Expo have any limits for sending many notifications simultaneously?

1 Like
#2

Hey @oklimenko,

Are you sending the notifications in chunks? For large batches of notifications, we recommend sending them in arrays of 100 to limit the number of requests to the Expo servers. You can see an example of using chunks here: https://github.com/expo/exponent-server-sdk-node

Cheers,

Adam

1 Like
#3

Thank you, @adamjnav! Sending by chunks has helped to resolve the problem with connection:)

#4

Awesome. Glad it helped you!

closed #5

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.