sugar-framework/templates

latest plug is possibly killing render

Closed this issue · 0 comments

00:58:53.147 [error] Ranch listener 'Elixir.Router.HTTP' had connection process started with
cowboy_protocol:start_link/4 at <0.281.0> exit with reason: {[{reason,undef},{mfa,
{'Elixir.Plug.Adapters.Cowboy.Handler',init,3}},{stacktrace,[{'Elixir.Calliope.Render',render,
[<<"index.html">>,[]],[]},{'Elixir.Simple.Controllers.Hello',index,2,[{file,"lib/simple/controllers/hello.ex"},
{line,4}]},{'Elixir.Router',call,2,[{file,"lib/simple/router.ex"},{line,1}]},
{'Elixir.Plug.Adapters.Cowboy.Handler',init,3,[{file,"lib/plug/adapters/cowboy/handler.ex"},{line,9}]},
{cowboy_handler,handler_init,4,[{file,"src/cowboy_handler.erl"},{line,69}]},{cowboy_protocol,execute,4,
[{file,"src/cowboy_protocol.erl"},{line,529}]}]},{req,[{socket,#Port<0.6123>},{transport,ranch_tcp},
{connection,keepalive},{pid,<0.281.0>},{method,<<"GET">>},{version,'HTTP/1.1'},{peer,
{{127,0,0,1},54553}},{host,<<"localhost">>},{host_info,undefined},{port,4000},{path,<<"/">>},
{path_info,undefined},{qs,<<>>},{qs_vals,undefined},{bindings,[]},{headers,[{<<"user-agent">>,
<<"curl/7.30.0">>},{<<"host">>,<<"localhost:4000">>},{<<"accept">>,<<"*/*">>}]},{p_headers,[]},
{cookies,undefined},{meta,[]},{body_state,waiting},{multipart,undefined},{buffer,<<>>},
{resp_compress,false},{resp_state,waiting},{resp_headers,[]},{resp_body,<<>>},
{onresponse,undefined}]},{opts,{'Elixir.Router',[]}}],[{cowboy_protocol,execute,4,
[{file,"src/cowboy_protocol.erl"},{line,529}]}]}