expo-community / expo-server-sdk-ruby

A Ruby library for sending push notifications with Expo's notification service
MIT License
95 stars 53 forks source link

Fix UnknownError message #36

Closed aki77 closed 2 years ago

aki77 commented 3 years ago

I'm having trouble finding more information on UnknownError.

33

foolem commented 3 years ago

We need this one. +1

kamalpandey commented 3 years ago

+1

wilco commented 3 years ago

+1

026binit commented 3 years ago

+1

vandemberg commented 3 years ago

+2

sanak commented 3 years ago

+1

akichim21 commented 3 years ago

+1

FabioMussi commented 3 years ago

+1

mountriv99 commented 3 years ago

+1

kevgrig commented 2 years ago

@pablonahuelgomez Hi Pablo, can you please merge this? I have been running with this PR on a fork in production for months and it works and provides important exception details. It helped me find out that the Expo server was responding with an HTTP 504 and to add exponential backoff.

kevgrig commented 2 years ago

@pablonahuelgomez Also, this is not just for debugging; the exception contents are needed to check for HTTP 429 and HTTP 5XX status to perform exponential retry as recommended by Expo development.

kevgrig commented 2 years ago

@pablonahuelgomez Thanks for the merge! Can you please also publish a new version of the gem?

Until then, the Gemfile workaround is:

gem 'exponent-server-sdk', git: "https://github.com/expo-community/expo-server-sdk-ruby.git", branch: "master"
alistairholt commented 2 years ago

Who is actually maintaining this gem? @pablonahuelgomez why was there no release on Rubygems after the merge?

If this gem is being abandoned for the community to maintain please make someone else a maintainer so we can address the issues with this project.

oriolblanc commented 1 month ago

Any update on this?