Comments (5)
@rorbech this issue just disappeared by itself and I don't see it happening for the last 5-6 weeks. The ticket can be closed.
from realm-java.
This exception comes from OkHttp and indicates that the network connection was somehow not correct:
It complains about this in the HTTP2 protocol: https://httpwg.org/specs/rfc7540.html#SETTINGS
This is unfortunately out of our control and is probably a consequence of people being on a particular network, perhaps behind a firewall or proxy. The best you can do is retry the operation and if it keeps failing, report it to the user or do some other fallback.
from realm-java.
@cmelchior thank you for you input.
Btw, I found something that might be helpful.
This issue started to happen when I updated realm plugin from 10.11.1 to 10.16.1 together with gradle from 7.4.2 to 8.1.2.
Before that the app was working for years and I had no issues like this before, so I assume there is a bug which was introduced at some point after 10.11.1.
I have 10k MAU and around 100 users face this issue now.
AFAIK I can't just downgrade realm version since you have some internal database format or something which could be changed over the version change and it's not recommended to downgrade since it can lead to the issues for the users, right?
from realm-java.
Hi @cmelchior we have around 100 users that try to start the app that crashes shortly after launch. Even though it's 1% of users they try to launch several more times and then go to the Store to leave a 1* review which negatively impacts the app rating.
That's a pity to hear that you are not in control here. Could you elaborate more on "retry the operation"? I am not an Android guy but it sounds like a complex task to catch an exception in a thread that we do not control to prevent a crash. Then, we will need to somehow understand which one of the ongoing operations caused the crash which again could be a complex task to achieve.
I hope we will be able to resolve this situation with your help. As @SergeyTrukhachev mentioned we did not have this issue on a previous version and the iOS version works pretty much reliably. If that's impossible on the newest Android Realm version is there a rollback solution to downgrade to the old version we were using?
from realm-java.
Hi @SergeyTrukhachev. We haven't touched the okhttp implementation between these versions. Could you try to elaborate on how your resolved dependencies have changed when you upgraded across Realm, AGP, Gradle, etc. This could help understand if the version of okhttp or other libraries have changed transitively.
Also, are there any patterns in Android versions, etc. in your crashlytics reports?
from realm-java.
Related Issues (20)
- Fix JavaDoc not being uploaded correctly
- Wrong result when using x == NONE {y} HOT 4
- Not Receiving Object Updates HOT 2
- Internal crash on OsJavaNetworkTransport.cpp HOT 5
- Reduce SO source file size HOT 1
- * What went wrong: Execution failed for task ':ERemittance:kaptDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction > java.lang.reflect.InvocationTargetException (no error message) HOT 2
- Update to Core 13.26.0 or later HOT 2
- Devise public API to trigger client reset for a Realm file
- baseUrl Change
- May I ask which example would be better for Android Java project reference? HOT 2
- Model cannot be cast to ModelRealmProxyInterface while using realm jars built from source in Android Project HOT 6
- [realm-core-12.3.0] Assertion failed: false HOT 3
- io.realm.exceptions.RealmFileException HOT 5
- Realm Transformer Output Missing During Android Instrumented Test HOT 3
- Realm.Init configuration take too long delay when move intent from 1st page into next page HOT 3
- Realm not opening when offline HOT 7
- Custom machines ignore some cpu architectures HOT 2
- RealmList is null in Java17 HOT 2
- SDKs should not consume stitch_ prefixed fields HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realm-java.