SciML / DiffEqOnline

It's Angular2 business in the front, and a Julia party in the back! It's scientific machine learning (SciML) for the web
http://app.juliadiffeq.org
Other
27 stars 6 forks source link

Front end down #9

Closed amellnik closed 7 years ago

amellnik commented 7 years ago

It looks like the domain is serving up an older version of index.html than the one that is on the ftp site at the moment -- any idea what might be causing this? Is there some sort of caching set up?

amellnik commented 7 years ago

When I go to the domain I get a file which contains

<script type="text/javascript" src="main.84db472f89bc93390874.bundle.js"></script>

but the one on the ftp contains

<script type="text/javascript" src="main.5f8b436ca3baa7f42a6f.bundle.js"></script>

which references the correct files.

amellnik commented 7 years ago

The error we see right now Uncaught SyntaxError: Unexpected token < is because it tries to load main.84db472f89bc93390874.bundle.js which doesn't exist, and our .htaccess rule does its thing and returns index.html, which gives this error since it's not js. (Details here).

ChrisRackauckas commented 7 years ago

Yeah, this is this comment:

https://github.com/JuliaDiffEq/DiffEqOnline/issues/8#issuecomment-272714351

It seems to go down for a bit and then fix itself over time. No idea why the delay is so long though.

amellnik commented 7 years ago

Hmm yeah maybe look into the documentation or help section for your host -- I wonder if there's a way to reset the cache.

ChrisRackauckas commented 7 years ago

Yeah, it's back up now. From the chat logs it looks like it puts it down for about 30 minutes.

ChrisRackauckas commented 7 years ago

Found out how to reset the cache to make this faster.