Skip to content

Instantly share code, notes, and snippets.

@IdahoEv
Created August 4, 2014 15:35
Show Gist options
  • Select an option

  • Save IdahoEv/ff47a95b901640519099 to your computer and use it in GitHub Desktop.

Select an option

Save IdahoEv/ff47a95b901640519099 to your computer and use it in GitHub Desktop.
Elixir crash report with backtrace
Interactive Elixir (0.14.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> init. Starting timer
=ERROR REPORT==== 4-Aug-2014::08:34:38 ===
Error in process <0.244.0> with exit value: {[{reason,badarith},{mfa,{'Elixir.WebsocketHandler',websocket_info,3}},{stacktrace,[{'Elixir.WebsocketHandler',websocket_info,3,[{file,"lib/websocket_handler.ex"},{line,39}]},{cowboy_websocket,handler_call,7,[{file,"sr...
=ERROR REPORT==== 4-Aug-2014::08:34:38 ===
Ranch listener http had connection process started with cowboy_protocol:start_link/4 at <0.244.0> exit with reason: {[{reason,badarith},{mfa,{'Elixir.WebsocketHandler',websocket_info,3}},{stacktrace,[{'Elixir.WebsocketHandler',websocket_info,3,[{file,"lib/websocket_handler.ex"},{line,39}]},{cowboy_websocket,handler_call,7,[{file,"src/cowboy_websocket.erl"},{line,589}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]},{msg,{timeout,#Ref<0.0.0.1351>,[]}},{req,[{socket,#Port<0.5614>},{transport,ranch_tcp},{connection,keepalive},{pid,<0.244.0>},{method,<<"GET">>},{version,'HTTP/1.1'},{peer,{{127,0,0,1},62158}},{host,<<"localhost">>},{host_info,undefined},{port,8080},{path,<<"/websocket">>},{path_info,undefined},{qs,<<>>},{qs_vals,undefined},{bindings,[]},{headers,[{<<"upgrade">>,<<"websocket">>},{<<"connection">>,<<"Upgrade">>},{<<"host">>,<<"localhost:8080">>},{<<"origin">>,<<"http://localhost:8080">>},{<<"pragma">>,<<"no-cache">>},{<<"cache-control">>,<<"no-cache">>},{<<"sec-websocket-key">>,<<"NnvqnlbewFhGb1asc4/KIg==">>},{<<"sec-websocket-version">>,<<"13">>},{<<"sec-websocket-extensions">>,<<"permessage-deflate; client_max_window_bits, x-webkit-deflate-frame">>},{<<"user-agent">>,<<"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36">>}]},{p_headers,[{<<"sec-websocket-extensions">>,[{<<"permessage-deflate">>,[<<"client_max_window_bits">>]},{<<"x-webkit-deflate-frame">>,[]}]},{<<"upgrade">>,[<<"websocket">>]},{<<"connection">>,[<<"upgrade">>]}]},{cookies,undefined},{meta,[{websocket_version,13},{websocket_compress,false}]},{body_state,waiting},{buffer,<<>>},{multipart,undefined},{resp_compress,false},{resp_state,done},{resp_headers,[]},{resp_body,<<>>},{onresponse,undefined}]},{state,undefined_state}],[{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment