Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =ERROR REPORT==== 27-Apr-2013::03:34:47 ===
- ** Cowboy handler cowboy_static terminating in rest_init/2
- for the reason error:{badmatch,false}
- ** Options were [<<"index.html">>]
- ** Request was [{socket,#Port<0.1615>},
- {transport,ranch_tcp},
- {connection,keepalive},
- {pid,<0.162.0>},
- {method,<<"GET">>},
- {version,{1,1}},
- {peer,{{127,0,0,1},34801}},
- {host,<<"localhost">>},
- {host_info,undefined},
- {port,8080},
- {path,<<"/">>},
- {path_info,undefined},
- {qs,<<>>},
- {qs_vals,undefined},
- {fragment,<<>>},
- {bindings,[]},
- {headers,[{<<"host">>,<<"localhost:8080">>},
- {<<"user-agent">>,
- <<"Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0">>},
- {<<"accept">>,
- <<"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8">>},
- {<<"accept-language">>,<<"en-US,en;q=0.5">>},
- {<<"accept-encoding">>,<<"gzip, deflate">>},
- {<<"connection">>,<<"keep-alive">>}]},
- {p_headers,[{<<"connection">>,[<<"keep-alive">>]}]},
- {cookies,undefined},
- {meta,[]},
- {body_state,waiting},
- {multipart,undefined},
- {buffer,<<>>},
- {resp_compress,false},
- {resp_state,waiting},
- {resp_headers,[]},
- {resp_body,<<>>},
- {onresponse,undefined}]
- ** Stacktrace: [{cowboy_static,rest_init,2,
- [{file,"src/cowboy_static.erl"},{line,215}]},
- {cowboy_rest,upgrade,4,
- [{file,"src/cowboy_rest.erl"},{line,73}]},
- {cowboy_protocol,execute,4,
- [{file,"src/cowboy_protocol.erl"},
- {line,514}]}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement