-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exponent::Push::UnknownError: Unknown error format: #<Typhoeus::Response... #39
Comments
Just adding a note here that this problem is intermittent; generally, notifications work. I've updated my Gemfile as follows to bring in the extra diagnostics from PR #36 and when the problem is reproduced I'll add details to this issue.
|
@kevgrig The same message error with me, but the notification is not delivered |
@vandemberg I haven't seen it since but we're not pushing many notifications through. I updated my server code with the additional logging so as soon as it occurs again, I'll post the details here. |
@kevgrig For me, the issue was the version. I had tokens one got tied with the older expo version and the other one with the new expo version. So, in my case, the unknown error seems to be like this I had to clear the device ids and re-registered them to make it work. |
I've reproduced with additional debug and the error is an HTTP 504. So it seems to be a backend issue:
|
Looks like a known issue and the frequency seems to have increased recently based on the dates of recent comments, so I guess I'll check for the 504 and put in retries: expo/expo#6486 |
Response from expo development:
|
what have you done to fix this error? updated the version of the exponent-server-sdk gem or others. |
You must add a retry. Expo development wrote, "we recommend retrying on failure: https://docs.expo.dev/push-notifications/sending-notifications/#retry-on-failure" |
I know this is similar to issues #33, #37, and #38; however, it has slightly different symptoms (different top expo SDK stack frames, only sending a single message, etc.). The following shows my application debug log sending a single message to a single device (details removed for privacy), and expo-server-sdk-ruby throws
Exponent::Push::UnknownError: Unknown error format: #<Typhoeus::Response:0x00007f0bf98a6248>
fromexponent-server-sdk.rb } process_response
The text was updated successfully, but these errors were encountered: