Project list is not loaded when on a slow internet connection
See original GitHub issueAn empty dialog is shown when using the app with slow internet connection.
To Reproduce Steps to reproduce the behavior:
- Set connection speed as GSM/GPRS in android emulator.
- Open app
- Project loading dialog appears
- After 10 seconds a blank dialog appears
Expected behavior Project should be loaded or correct message should be displayed while fetching the data (maybe Internet speed very low?)
Stacktrace:
2020-04-15 13:52:32.448 25062-25282/com.google.android.gnd D/ProjectRepository: Failed to load project list from remote
java.util.concurrent.TimeoutException: The source did not signal an event for 10 seconds and has been terminated.
at io.reactivex.internal.operators.single.SingleTimeout$TimeoutMainObserver.run(SingleTimeout.java:123)
at io.reactivex.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:38)
at io.reactivex.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:26)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: com.akaita.java.rxjava2debug.extensions.RxJavaAssemblyException
Caused by: com.akaita.java.rxjava2debug.extensions.RxJavaAssemblyException
2020-04-15 13:52:32.453 25062-25189/com.google.android.gnd I/Firestore: (21.4.1) [OnlineStateTracker]: Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Why does this "Slow network detected..." log appear in Chrome?
This means the network is slow, and Chrome is replacing a web font (loaded with a @font-face rule) with a local fallback. By...
Read more >13 Tips to Troubleshoot Your Internet Connection - PCMag
If you're using Wi-Fi, there are plenty of problems that can slow down your connection. Try connecting your computer directly to the router...
Read more >Best practices for using Office 365 on a slow network
Want to see how slow (or fast) your network connection is? Try the OOKLA Speed test or the Network Speed Test App.
Read more >10 Reasons for Slow Website Loading (With Solutions)
Understand these 10 core reasons for slow website loading and learn how to resolve these issues & your traffic, revenue, and credibility.
Read more >How to Fix the ERR_CONNECTION_TIMED_OUT Error - Kinsta
Google Chrome, Firefox, and Edge all recommend that you should check your network connection. While this might sound obvious, they all point to ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Removing this from the milestone as we have increased the timeout
Closing this for now. Please re-open if the problem reoccurs