Skip to content
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

Constantly seeing offline screen #1810

Closed
stereobooster opened this issue Feb 16, 2019 · 9 comments
Closed

Constantly seeing offline screen #1810

stereobooster opened this issue Feb 16, 2019 · 9 comments
Labels
bug always open for contribution external contributors welcome contribution is welcome!

Comments

@stereobooster
Copy link

stereobooster commented Feb 16, 2019

Describe the bug

Opened direct link to dev.to article and saw offline screen. Cmd + R didn't help. I was online all the time. The only thing which is helped is to remove ServiceWorker completely and reload page.

To Reproduce
Steps to reproduce the behavior:

  1. Open any link to dev.to post

Expected behavior
No offline screen if browser is online

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Mac OS X
  • Browser Chrome
  • Version Version 71.0.3578.98 (Official Build) (64-bit)

Additional context
N/A

@jessleenyc
Copy link
Contributor

Thanks for flagging, we'll look into this.

@jessleenyc jessleenyc added the external contributors welcome contribution is welcome! label Mar 26, 2019
@d4l-w4r
Copy link

d4l-w4r commented Apr 15, 2019

I'm experiencing the same problem with slightly different symptoms.

Test system: Firefox 66.0.2 on Ubuntu 18.04.2 LTS
Using Chromium (build 73.0.3683.86) the below steps do not reproduce the problem.

To reproduce:

  1. Open an article on dev.to
  2. Follow a link or image that navigates away from dev.to
  3. Use browser back to return to article
    -> "It looks like you're offline" screen appears.

Simple reloading does nothing, however Ctrl + F5 resolves the issue.

@maestromac
Copy link
Member

I've added additional logging to Service Worker. If anybody ever come across an aggressive offline page, please share the logging from your browser console.

@maestromac maestromac removed their assignment Jun 13, 2019
@d4l-w4r
Copy link

d4l-w4r commented Jun 14, 2019

Hi! :)
I can still reproduce the behavior I described above with Firefox 67.0.1 on Ubuntu 18.04.2 LTS.

I went over to dev.to and opened the article How to Be Great? Just Be Good, Repeatably , clicked on the link in the first line, navigating to the authors blog.
Hit browser back to go back to the dev.to article and got the "You're offline" page.

I have attached the console output starting from the time I first visited dev.to: console.log

The relevant part of the log is probably this, right after I had hit browser back:

Navigated to https://dev.to/stephsmithio/how-to-be-great-just-be-good-repeatably-bk5
TypeError: NetworkError when attempting to fetch resource. serviceworker.js:1:3040

@maestromac
Copy link
Member

Thanks for quick report @danielw93 . Are you using privacy badger or uMatrix by any chance? Is this reproducible in incognito?

@d4l-w4r
Copy link

d4l-w4r commented Jun 17, 2019

@maestromac Good call!
It seems that Privacy Badger was indeed the problem. It showed dev.to as a potential tracker and had completely blocked the domain 🤦
After manually reenabling dev.to I can no longer reproduce the reported behavior.

@maestromac
Copy link
Member

Yeah, Service Worker is still a bit wonky and is false positive to extensions like Privacy Badger. Thanks for checking!

Are you still experiencing this issue @stereobooster ?

@stereobooster
Copy link
Author

stereobooster commented Jun 17, 2019

Hey @maestromac. No it was one time thing if we talk about offline screen issue.

@maestromac
Copy link
Member

Alrighty, I'm assuming this issue is resolved. Please let me know if otherwise!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug always open for contribution external contributors welcome contribution is welcome!
Projects
None yet
Development

No branches or pull requests

4 participants