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

The server timed out trying to calculate your response. #15

Closed s-celles closed 7 years ago

s-celles commented 7 years ago

Hello,

I'm trying to run locally DiffEqOnline

DifferentialEquations.jl was installed correctly

julia> using DifferentialEquations
INFO: Precompiling module DiffEqBase.
INFO: Precompiling module ChunkedArrays.
INFO: Precompiling module IterativeSolvers.
WARNING: replacing module IterativeSolvers.
INFO: Precompiling module GenericSVD.
INFO: Recompiling stale cache file /Users/scls/.julia/lib/v0.5/Calculus.ji for module Calculus.
INFO: Recompiling stale cache file /Users/scls/.julia/lib/v0.5/ForwardDiff.ji for module ForwardDiff.
INFO: Precompiling module NLsolve.
INFO: Precompiling module VectorizedRoutines.
INFO: Precompiling module InplaceOps.
INFO: Precompiling module LossFunctions.
INFO: Precompiling module Sundials.
INFO: Precompiling module SymEngine.

NodeJS / Angular stack was also installed

$ ng serve
Your global Angular CLI version (1.0.0-beta.25.5) is greater than your local version (1.0.0-beta.19-3). The local Angular CLI version is used.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
** NG Live Development Server is running on http://localhost:4200. **
 12% building modules 19/22 modules 3 active ...nline/src/environments/environment.tswebpack: wait until bundle finished: /ode;settings=eyJkaWZmRXFUZXh0IjoiZHggPSBhKnggLSBiKngqeVxuZHkgPSAtYyp5ICsgZCp4KnkiLCJwYXJhbWV0ZXJzIjoiYT0xLjUsIGI9MSwgYz0zLCBkPTEiLCJ0aW1lU3BhbiI6WzAsMTBdLCJpbml0aWFsQ29uZGl0aW9ucyI6IjEuMCwgMS4wIiwic29sdmVyIjoiVHNpdDUiLCJ2YXJzIjoiWzp4LCA6eV0iLCJ0aXRsZSI6IlRoZSBMb3RrYS1Wb2x0ZXJyYSBFcXVhdGlvbnM6IE1vZGVsIG9mIFJhYmJpdHMgYW5kIFdvbHZlcyJ9
36450ms building modules
134ms sealing
0ms optimizing
1ms basic module optimization
925ms module optimization
1ms advanced module optimization
48ms basic chunk optimization
0ms chunk optimization
1ms advanced chunk optimization
0ms module and chunk tree optimization
409ms module reviving
39ms module order optimization
15ms module id optimization
11ms chunk reviving
33ms chunk order optimization
47ms chunk id optimization
439ms hashing
1ms module assets processing
1179ms chunk assets processing
28ms additional chunk assets processing
1ms recording
1ms additional asset processing
8052ms chunk asset optimization
4754ms asset optimization
121ms emitting
Hash: 4ce1d4fc6cc14a59cdde
Version: webpack 2.1.0-beta.25
Time: 52737ms
            Asset     Size  Chunks             Chunk Names
   main.bundle.js   3.8 MB    0, 3  [emitted]  main
 styles.bundle.js   738 kB    1, 3  [emitted]  styles
scripts.bundle.js  68.4 kB    2, 3  [emitted]  scripts
        inline.js  5.53 kB       3  [emitted]  inline
         main.map  4.07 MB    0, 3  [emitted]  main
       styles.map   893 kB    1, 3  [emitted]  styles
      scripts.map  78.9 kB    2, 3  [emitted]  scripts
       inline.map  5.59 kB       3  [emitted]  inline
       index.html  1.84 kB          [emitted]
Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks       Chunk Names
    index.html  4.17 kB       0
webpack: bundle is now VALID.

but when I go to http://localhost:4200/ode

I see

Waking up the back-end solver... × The server timed out trying to calculate your response. Try reloading, and if that doesn't work try DifferentialEquations.jl!

Any idea?

Kind regards

ChrisRackauckas commented 7 years ago

Did you start the backend server?

https://github.com/JuliaDiffEq/DiffEqOnlineServer

s-celles commented 7 years ago

Oh no! sorry! Maybe this should be add in README.md Thanks for this great work!

s-celles commented 7 years ago

Sorry I also see that it was written. My mistake

ChrisRackauckas commented 7 years ago

I silently added this to the README once I read this question. I see I got away with it 👍 .

s-celles commented 7 years ago

Thanks again

ChrisRackauckas commented 7 years ago

No problem.

ChrisRackauckas commented 7 years ago

Note that there my be something that requires either OrdinaryDiffEq.jl, StochasticDiffEq.jl, DiffEqBase.jl, or ParameterizedFunctions.jl master. There were some changes in the days before the release that may not have been tagged quite yet.

s-celles commented 7 years ago

I also noticed that an other package: DiffEqWebBase.jl was required to run.

julia ./api/mux_server.jl 7777

So I did

julia> Pkg.clone("https://github.com/JuliaDiffEq/DiffEqWebBase.jl")
ChrisRackauckas commented 7 years ago

Yes that too. It's unregistered and will probably stay that way. I should update the README