-
Notifications
You must be signed in to change notification settings - Fork 119
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
io.reactivex.rxjava3.exceptions.UndeliverableException in DataStore #2898
Comments
Hi @tobias-feldmann, thanks for opening this issue. The error logs indicate thie code being executed. public void onFailure(@NonNull Call call, @NonNull IOException exception) {
onFailure.accept(new ApiException(
"OkHttp client request failed.", exception, "See attached exception for more details."
));
} Is this issue causing a crash in your application? That will indicate that DataStore which uses the MultiAuthAppSyncGraphQLOperation may not be handling failures correctly and re-throwing. Network failures are expected to happen and the app should not crash while providing eventual consistency. |
Hi @lawmicha |
@tobias-feldmann, can you provide more of the stacktrace in the exception? Based on some research on the top-level In the issue that you linked, a couple people posted similar exceptions that also showed the underlying exception being something different (e.g. this cause was due to the device not having internet connectivity). Do you have any logs that provide a little more detail regarding what the underlying issue may be for your log in scenario? It may very well be what @lawmicha linked to above but wanted to confirm. |
Sorry @vincetran, But I don't think it's a connection problem here. Because we reinstalled the app together with the users and it still didn't work. |
Today we also had the following error in the Google Play Console. But I'm not sure if it has anything to do with the other one.
|
Thanks for providing more details. Our team will try to reproduce the issue in a local environment and get back to you. |
Before opening, please confirm:
Language and Async Model
Java
Amplify Categories
DataStore
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
We see this error on many devices via the Google Play logs.
But I can't reproduce it on our test devices.
Occurs with various Android SDKs and devices:
Android 9 (SDK 28)
Android 10 (SDK 29)
Android 11 (SDK 30)
Android 12 (SDK 31)
Android 13 (SDK 33)
Android 14 (SDK 34)
Android 15 Beta (SDK 35)
Same issue as in the ticket: #2654
Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: