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

Meteor documentation reloads into infinity #3248

Closed
mitar opened this Issue Dec 7, 2014 · 8 comments

Comments

Projects
None yet
5 participants
@mitar
Collaborator

mitar commented Dec 7, 2014

It happened to me few times already. I come to Meteor documentation and it just starts reloading. Using Firefox 33.1.

In the console I have: SyntaxError: syntax error for JavaScript file.

It seems there is some caching issue. It seems HTML content is from previous version of docs site so it tries to load the old JavaScript file. For example, currently it is trying to load /9d9680d5aadc5699446f0e6295cd40e15aad638b.js. If I look at it I see that it is a Meteor HTML file with has in fact /1f5daafd65826351fd694cade3425cd694099569.js for its JavaScript file. So it seems that docs site was upgraded in meantime, but my Firefox browser did not reread the HTML content. And then safety belt is reloading the page.

Is there a way to say to document.location.reload to clear the cache before? Because it does not seem to be doing that.

command-shift-r seems to fix the issue because a new page is loaded.

jfly added a commit to cubing/ccm that referenced this issue Dec 18, 2014

@glasser

This comment has been minimized.

Member

glasser commented Jan 12, 2015

Not sure what's going on here. Are you still seeing this? I don't see it on Mac FF 34.0.5. Guessing this is an appcache issue.

@mitar

This comment has been minimized.

Collaborator

mitar commented Jan 12, 2015

Yes. It was an appcache issue. It happens just when you upgrade to new version, sometimes. So it is hard to debug. I will report if/when it happens again.

@mpranjic

This comment has been minimized.

mpranjic commented Jan 18, 2015

Happened to me as well (reported on google group, got ignored), forcing cache reload fixes it.

@mpranjic

This comment has been minimized.

mpranjic commented Jan 23, 2015

Update: It happened again for me, but now it doesn't reload, it actually never loads.
It only happens in one browser (firefox stable).
Nothing ever loads into <body>, it just spins forever.
The only thing in console is this:

"W20150123-15:45:59.646(1) (1a2b7453edaeed10ce00e77f31ae53be016a856f.js:52) Warning: Blaze.render without a parent element is deprecated. You must specify where to insert the rendered content."

I have no idea how to make it work. I just use another browser.

@mitar

This comment has been minimized.

Collaborator

mitar commented Jan 23, 2015

I made it work by flushing the appcache, see here. Bu the issue is that then we missed the opportunity to debug. :-)

@glasser

This comment has been minimized.

Member

glasser commented Jan 24, 2015

So it might just be that Firefox appcache is buggy. Before 0.9.0 we disabled appcache on FF by default, because it would give you a confusing popup if you ran it. In 0.9.0 we changed that because the popup was gone, but I guess it's just buggy? At the very least, maybe we should disable appcache on docs.meteor.com.

@glasser glasser closed this in 02f799e Jan 24, 2015

glasser added a commit that referenced this issue Jan 24, 2015

@glasser

This comment has been minimized.

Member

glasser commented Jan 24, 2015

appcache should now be disabled on docs.meteor.com for firefox. Let me know if you still see problems!

@scmart

This comment has been minimized.

scmart commented May 21, 2015

I still get this issue from time to time on firefox. Keep getting a "The connection to ws://docs.meteor.com/.... was interrupted while the page was loading"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment