ellie-app / ellie

The Elm Live Editor
https://ellie-app.com
BSD 3-Clause "New" or "Revised" License
734 stars 57 forks source link

Stuck on loading screen in Firefox #124

Open polyrtm opened 4 years ago

polyrtm commented 4 years ago

When I try to open a new project, Ellie flashes to the ide, then goes back to the logo animation, where it loops forever as far as I can tell. The console says TypeError: e is undefinededitor-7310323a5668221fbd1a.js:1:64448. It works fine on Chrome. It might be related to #55?

peteygao commented 4 years ago

This occurred to me initially as well, but it turns out it's due to the browser cache. Hard refresh the page (Ctrl + Shift + R by default on Firefox).

I'm not sure what causes this, though. It looks like the JS bundle is being fingerprinted, meaning a newer version should have a different hashed filename than the old one, rendering this a non-issue, but clearly that's not the case :thinking:.

Erudition commented 1 year ago

Same for me, but the console error is Firefox can’t establish a connection to the server at wss://ellie-app.com/api/sockets/websocket?token=SFMyNTY.g3QAAAACZAAEZGF0YW0AAAAkNGU0NDBkMjQtNjAyZS00NmEwLTg3ZTgtMTdiYWQ0Zjk5MGM0ZAAGc2lnbmVkbgYAeJpLsoUB.GG-O39b18QXO7wzxmMg92-_chNnFfcQiGJOprs3tzkg&vsn=2.0.0.

Update: fixed it by upgrading to the latest Firefox. Perhaps the WSS uses an SSL feature that was too new for my original version.