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
Stuck on Offline page upon start #36
Comments
Thanks for the error report @samfcmc . Can you try uninstalling and reinstalling the app? Let me know if the error still persist. |
Describe the bug To Reproduce Expected behavior Smartphone (please complete the following information):
Additional context First attempt at resolving Second attempt at resolving Third attempt at resolving |
I reinstalled the app. I was able to login and see the feed. Later on, when I try to open the app again, the offline screen returns. I can only see the feed the first time I use it after installing the app. |
I'm experiencing this issue too now. I'm going out of the limb to say that this is most likely caused by Service Worker. |
This issue is reproducible by following these steps:
You will see the error screen. A workaround to get over it:
Willing to take a look on this and check viable fix if no one will claim the ticket. Seems to be critical. |
Thanks for those infos @samfcmc . I've verified that this is indeed caused by Service Worker; It is being too aggressive with offline page. I will be deploying a tweak via the web app. |
@joshuadeguzman I don't need to turn off WiFi or data. After I closed it, it becomes unusable. I am closing it by touching the "Overview" on the bottom side of my phone and force the app to close. Then, I have to delete the app data to be able to use it again. |
Same here. OnePlus 3t. |
Exact same behaviour as @samfcmc, had to clear data to regain functionality. Appears the fix didn't work? |
The fix to this has to be achieved in the web team. For android the things we can achieve require to know the explicit URL or check on every launch for a reload of the webview. Doing the reload of the webview will lead to more issues than the fix from the webworker |
I'm aware. I saw Mac land a Service Worker update in master (forem/forem@0af2a0a) which was why I said what I did. |
Yep the fix will have to be done on the web app. I'm channeling the conversation to here for the time being since I see higher occurrence through the mobile app. At the moment, I can't seem to reproduce the error at all on my OnePlus 6T Android 9.0.14. Perhaps using both WebViewClient and WebChromeClient is causing some conflict with SW? Whatever it is, it is causing fetch to fail immediately despite having a connection. The most drastic solution that might need to happen is to turn off Service Worker for mobile. |
Judging by the bug's sudden appearance and how it's also affecting Facebook's browser & DuckDuckGo browser, I believe this is a chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=977784 Additional refs: |
It seems like the fix was rolled out yesterday by the Chromium team and it will take a few days for everybody to receive it. If you are still hitting the offline page upon start, clearing the cache once or twice should resolve the it as per Chromium team's suggestion. I am keeping an eye on it if to see if there's any further action we need to take. |
Clearing cache seems to have resolved the problem on my end. Will be on the lookout for Chrome updates on my devices. |
I cleaned the cache and reinstalled the app. It opened fine. I did not log in and the 2nd time around it was offline again. |
Haven't hit this again in the past week |
Are you still experiencing this issue @neex-io ? |
And right on cue, stuck on offline page again 🤐 Edit: Force stop fixed it for some reason... |
Haven't faced the issue in a while… is still a thing? |
Can confirm the issue hasn't showed up since my last comment. |
Thank you for the update. This issue is resolved |
This is happening today too on desktop brave |
Describe the bug
Two days ago, I tried to open the app and it just shows me the offline screen (see screenshot).
I have been using the app for more than a month without any issues. But since two days ago I always get this error. I can't do anything, like logout or something.
If I open Google Chrome and type "dev.to" I can use the web app without any problems. Only the apps returns me this error.
To Reproduce
I am sorry, I hate to tell you this but I really don't know how to reproduce. I was just using it and one day I tried and it started to show me the error screen. From that day, it always does that and I can't do anything.
I am a software developer and I hate when people report a bug and tell me they don't know how to reproduce... But it is the case here. 😞
Expected behavior
Show the dev.to feed
Screenshots
Smartphone (please complete the following information):
Additional context
I don't know what happened. Let me know what I can do to get more data to help you.
The text was updated successfully, but these errors were encountered: