Closed gnarea closed 11 months ago
RegistrationFailedException
is one of the exceptions we warn apps to handle. Meaning Letro should catch it when trying to register, and possibly retry automatically or tell the user to retry.
If this is happening often, then we have an issue with the gateway app that isn't starting the server quick enough (we wait 1 second), or it's failing to start it. Or we have an issue in the SDK, that it's not binding to the gateway app before attempting to connect to the server (but we can check the code clearly that it is).
Do you fell we should wait for more instances of the issue, or increment the waiting time?
Thanks for looking into this @sdsantos!
I created the issue here because I misread the stack trace and I also thought we handled that exception in Letro, but it looks like we introduced a regression and no longer handle it.
We're getting this in the Crashlytics for Letro:
I think this is interesting:
https://console.firebase.google.com/project/letro-android/crashlytics/app/android:tech.relaycorp.letro/issues/ac820cf3a5b2ddab51a4d8a54be99e07?time=last-seven-days&sessionEventKey=6555FBDF028B000139B82F831615775D_1880540908002673938