Skip to content

Instantly share code, notes, and snippets.

@technion
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technion/daffb546d3454ae84ae3 to your computer and use it in GitHub Desktop.
Save technion/daffb546d3454ae84ae3 to your computer and use it in GitHub Desktop.
$ curl -i "http://localhost:8089/?testing"
HTTP/1.1 500 Internal Server Error
connection: keep-alive
server: Cowboy
date: Thu, 30 Jul 2015 09:57:55 GMT
content-length: 0
At the console:
Eshell V7.0 (abort with ^G)
(echo_get_example@127.0.0.1)1>
=ERROR REPORT==== 30-Jul-2015::09:57:55 ===
Ranch listener http had connection process started with cowboy_protocol:start_link/4 at <0.163.0> exit with reason:
{cowboy_handler,[{class,error},{reason,{badmatch,false}},{mfa,{toppage_handler,init,2}},{stacktrace,
[{cowboy_req,filter,2,[{file,"src/cowboy_req.erl"},{line,1227}]},{toppage_handler,init,2,
[{file,"src/toppage_handler.erl"},{line,10}]},{cowboy_handler,execute,2,[{file,"src/cowboy_handler.erl"},
{line,41}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,470}]}]},
{req,[{socket,#Port<0.536>},{transport,ranch_tcp},{connection,keepalive},{pid,<0.163.0>},{method,<<"GET">>},{version,'HTTP/1.1'},
{peer,{{127,0,0,1},53556}},{host,<<"localhost">>},{host_info,undefined},{port,8089},{path,<<"/">>},{path_info,undefined},
{qs,<<"testing">>},{bindings,[]},{headers,[{<<"host">>,<<"localhost:8089">>},{<<"user-agent">>,<<"curl/7.43.0">>},
{<<"accept">>,<<"*/*">>}]},{meta,[]},{body_state,waiting},{buffer,<<>>},{multipart,undefined},{resp_compress,false},
{resp_state,waiting},{resp_headers,[]},{resp_body,<<>>},{onresponse,undefined}]},{opts,[]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment