question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Project list is not loaded when on a slow internet connection

See original GitHub issue

An empty dialog is shown when using the app with slow internet connection.

To Reproduce Steps to reproduce the behavior:

  1. Set connection speed as GSM/GPRS in android emulator.
  2. Open app
  3. Project loading dialog appears
  4. 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:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
shobhitagarwal1612commented, Nov 12, 2020

Removing this from the milestone as we have increased the timeout

0reactions
shobhitagarwal1612commented, Jul 17, 2021

Closing this for now. Please re-open if the problem reoccurs

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found