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

Timeout in dashboard #226

Closed
odow opened this issue May 28, 2019 · 1 comment Β· Fixed by #278
Closed

Timeout in dashboard #226

odow opened this issue May 28, 2019 · 1 comment Β· Fixed by #278
Labels

Comments

@odow
Copy link
Owner

odow commented May 28, 2019

Solving with train(model; dashboard=true) results in the error.

47    3.961126e+08   2.615670e+08   6.613848e+01
β”Œ Warning: Connection Timeout: πŸ”—    0β†‘πŸ”’    0β†“πŸ”’  66s 127.0.0.1:8001:8001 ≣16 96 bytes waiting
β”” @ HTTP.Servers ~/.julia/packages/HTTP/GN0Te/src/Servers.jl:307
       48    5.379860e+08   2.644605e+08   6.758490e+01
β”Œ Error: error handling request
β”‚   exception =
β”‚    IOError: stream is closed or unusable
β”‚    Stacktrace:
β”‚     [1] check_open at ./stream.jl:323 [inlined]
β”‚     [2] uv_write_async(::Sockets.TCPSocket, ::Ptr{UInt8}, ::UInt64) at ./stream.jl:871
β”‚     [3] uv_write(::Sockets.TCPSocket, ::Ptr{UInt8}, ::UInt64) at ./stream.jl:845
β”‚     [4] unsafe_write(::Sockets.TCPSocket, ::Ptr{UInt8}, ::UInt64) at ./stream.jl:901
β”‚     [5] unsafe_write at /Users/oscar/.julia/packages/HTTP/GN0Te/src/ConnectionPool.jl:132 [inlined]
β”‚     [6] unsafe_write at ./io.jl:509 [inlined]
β”‚     [7] macro expansion at ./gcutils.jl:87 [inlined]
β”‚     [8] write at ./io.jl:532 [inlined]
β”‚     [9] #closewrite#9(::Nothing, ::Function, ::HTTP.WebSockets.WebSocket{HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /Users/oscar/.julia/packages/HTTP/GN0Te/src/WebSockets.jl:172
β”‚     [10] #closewrite at ./none:0 [inlined]
β”‚     [11] #close#10(::Nothing, ::Function, ::HTTP.WebSockets.WebSocket{HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /Users/oscar/.julia/packages/HTTP/GN0Te/src/WebSockets.jl:219
β”‚     [12] close at /Users/oscar/.julia/packages/HTTP/GN0Te/src/WebSockets.jl:218 [inlined]
β”‚     [13] #upgrade#8(::Bool, ::Function, ::getfield(SDDP, Symbol("##98#100")){Channel{SDDP.Log},Channel{Bool}}, ::HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /Users/oscar/.julia/packages/HTTP/GN0Te/src/WebSockets.jl:146
β”‚     [14] #upgrade at ./none:0 [inlined]
β”‚     [15] #6 at /Users/oscar/.julia/packages/HTTP/GN0Te/src/WebSockets.jl:121 [inlined]
β”‚     [16] macro expansion at /Users/oscar/.julia/packages/HTTP/GN0Te/src/Servers.jl:352 [inlined]
β”‚     [17] (::getfield(HTTP.Servers, Symbol("##13#14")){getfield(HTTP.WebSockets, Symbol("##6#7")){Bool,getfield(SDDP, Symbol("##98#100")){Channel{SDDP.Log},Channel{Bool}}},HTTP.ConnectionPool.Transaction{Sockets.TCPSocket},HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}})() at ./task.jl:259
β”” @ HTTP.Servers ~/.julia/packages/HTTP/GN0Te/src/Servers.jl:356

Fixed by JuliaWeb/HTTP.jl#393

Just needs a new tag of HTTP.jl. Alternatively, run

] add HTTP#master
@odow odow added the upstream label May 28, 2019
@odow odow added bug and removed upstream labels Jul 12, 2019
@odow
Copy link
Owner Author

odow commented Jul 12, 2019

Needs a minimum HTTP tag of 0.8.1 in Project.toml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant