(my_erlang_app@ubuntu)2> (my_erlang_app@ubuntu)2> (my_erlang_app@ubuntu)2> (my_erlang_app@ubuntu)2> (my_erlang_app@ubuntu)2> (my_erlang_app@ubuntu)2> =ERROR REPORT==== 6-Nov-2012::17:21:44 === ** Handler sockjs_cowboy_handler terminating in websocket_info/3 for the reason exit:{noproc, {gen_server,call, [<0.220.0>,{reply,<0.219.0>,true},infinity]}} ** Message was go ** Options were {service,[],#Fun,state, "https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js", false,true,5000,25000,131072, #Fun} ** Handler state was {websocket,<0.220.0>} ** Request was [{socket,{sslsocket,new_ssl,<0.217.0>}}, {transport,cowboy_ssl_transport}, {connection,keepalive}, {pid,<0.219.0>}, {method,'GET'}, {version,{1,1}}, {peer,{{127,0,0,1},55151}}, {host,[<<"localhost">>]}, {host_info,undefined}, {raw_host,<<"localhost">>}, {port,8081}, {path,[<<"394">>,<<"ca9e8a5da9ceab0a">>,<<"websocket">>]}, {path_info,undefined}, {raw_path,<<"/394/ca9e8a5da9ceab0a/websocket">>}, {qs_vals,undefined}, {raw_qs,<<>>}, {bindings,[]}, {headers,[{<<"Sec-Websocket-Key2">>, <<"3m9$88 !K<:9e)z096 86">>}, {<<"Sec-Websocket-Key1">>, <<"1 2+ 1 01x73 O7 0DX|(8 p">>}, {<<"Origin">>,<<"http://localhost">>}, {'Host',<<"localhost:8081">>}, {'Connection',<<"Upgrade">>}, {'Upgrade',<<"WebSocket">>}, {'Content-Length',<<"8">>}]}, {p_headers,[{'Upgrade',[<<"websocket">>]}, {'Connection',[<<"upgrade">>]}, {'Content-Length',8}]}, {cookies,undefined}, {meta,[{websocket_version,0}]}, {body_state,done}, {buffer,<<>>}, {resp_state,done}, {resp_headers,[]}, {resp_body,<<>>}, {onresponse,undefined}, {urldecode,{#Fun,crash}}] ** Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]}, {sockjs_ws_handler,reply,2, [{file,"src/sockjs_ws_handler.erl"},{line,35}]}, {sockjs_cowboy_handler,websocket_info,3, [{file,"src/sockjs_cowboy_handler.erl"},{line,56}]}, {cowboy_http_websocket,handler_call,7, [{file,"src/cowboy_http_websocket.erl"},{line,456}]}, {cowboy_http_protocol,upgrade_protocol,3, [{file,"src/cowboy_http_protocol.erl"},{line,291}]}] =ERROR REPORT==== 6-Nov-2012::17:21:44 === ** Handler sockjs_cowboy_handler terminating in websocket_info/3 for the reason exit:{noproc, {gen_server,call, [<0.583.0>,{reply,<0.582.0>,true},infinity]}} ** Message was go ** Options were {service,[],#Fun,state, "https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js", false,true,5000,25000,131072, #Fun} ** Handler state was {websocket,<0.583.0>} ** Request was [{socket,{sslsocket,new_ssl,<0.579.0>}}, {transport,cowboy_ssl_transport}, {connection,keepalive}, {pid,<0.582.0>}, {method,'GET'}, {version,{1,1}}, {peer,{{127,0,0,1},55184}}, {host,[<<"localhost">>]}, {host_info,undefined}, {raw_host,<<"localhost">>}, {port,8081}, {path,[<<"726">>,<<"4ae95f506bfa6f6c">>,<<"websocket">>]}, {path_info,undefined}, {raw_path,<<"/726/4ae95f506bfa6f6c/websocket">>}, {qs_vals,undefined}, {raw_qs,<<>>}, {bindings,[]}, {headers,[{<<"Sec-Websocket-Key2">>, <<"26 @ 6 567 13 0 0 \\">>}, {<<"Sec-Websocket-Key1">>, <<"69 66Q>am 3V3&IB8 <1|3">>}, {<<"Origin">>,<<"http://localhost">>}, {'Host',<<"localhost:8081">>}, {'Connection',<<"Upgrade">>}, {'Upgrade',<<"WebSocket">>}, {'Content-Length',<<"8">>}]}, {p_headers,[{'Upgrade',[<<"websocket">>]}, {'Connection',[<<"upgrade">>]}, {'Content-Length',8}]}, {cookies,undefined}, {meta,[{websocket_version,0}]}, {body_state,done}, {buffer,<<>>}, {resp_state,done}, {resp_headers,[]}, {resp_body,<<>>}, {onresponse,undefined}, {urldecode,{#Fun,crash}}] ** Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]}, {sockjs_ws_handler,reply,2, [{file,"src/sockjs_ws_handler.erl"},{line,35}]}, {sockjs_cowboy_handler,websocket_info,3, [{file,"src/sockjs_cowboy_handler.erl"},{line,56}]}, {cowboy_http_websocket,handler_call,7, [{file,"src/cowboy_http_websocket.erl"},{line,456}]}, {cowboy_http_protocol,upgrade_protocol,3, [{file,"src/cowboy_http_protocol.erl"},{line,291}]}] =ERROR REPORT==== 6-Nov-2012::17:21:44 === ** Handler sockjs_cowboy_handler terminating in websocket_info/3 for the reason exit:{noproc, {gen_server,call, [<0.341.0>,{reply,<0.340.0>,true},infinity]}} ** Message was go ** Options were {service,[],#Fun,state, "https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js", false,true,5000,25000,131072, #Fun} ** Handler state was {websocket,<0.341.0>} ** Request was [{socket,{sslsocket,new_ssl,<0.339.0>}}, {transport,cowboy_ssl_transport}, {connection,keepalive}, {pid,<0.340.0>}, {method,'GET'}, {version,{1,1}}, {peer,{{127,0,0,1},55162}}, {host,[<<"localhost">>]}, {host_info,undefined}, {raw_host,<<"localhost">>}, {port,8081}, {path,[<<"672">>,<<"dd424be130d98069">>,<<"websocket">>]}, {path_info,undefined}, {raw_path,<<"/672/dd424be130d98069/websocket">>}, {qs_vals,undefined}, {raw_qs,<<>>}, {bindings,[]}, {headers,[{<<"Sec-Websocket-Key2">>, <<"wm 54 62f 4 91g2">>}, {<<"Sec-Websocket-Key1">>, <<"p 2 6^05 m 82 14 Z 2ONS0">>}, {<<"Origin">>,<<"http://localhost">>}, {'Host',<<"localhost:8081">>}, {'Connection',<<"Upgrade">>}, {'Upgrade',<<"WebSocket">>}, {'Content-Length',<<"8">>}]}, {p_headers,[{'Upgrade',[<<"websocket">>]}, {'Connection',[<<"upgrade">>]}, {'Content-Length',8}]}, {cookies,undefined}, {meta,[{websocket_version,0}]}, {body_state,done}, {buffer,<<>>}, {resp_state,done}, {resp_headers,[]}, {resp_body,<<>>}, {onresponse,undefined}, {urldecode,{#Fun,crash}}] ** Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]}, {sockjs_ws_handler,reply,2, [{file,"src/sockjs_ws_handler.erl"},{line,35}]}, {sockjs_cowboy_handler,websocket_info,3, [{file,"src/sockjs_cowboy_handler.erl"},{line,56}]}, {cowboy_http_websocket,handler_call,7, [{file,"src/cowboy_http_websocket.erl"},{line,456}]}, {cowboy_http_protocol,upgrade_protocol,3, [{file,"src/cowboy_http_protocol.erl"},{line,291}]}] =ERROR REPORT==== 6-Nov-2012::17:21:44 === ** Handler sockjs_cowboy_handler terminating in websocket_info/3 for the reason exit:{noproc, {gen_server,call, [<0.946.0>,{reply,<0.945.0>,true},infinity]}} ** Message was go ** Options were {service,[],#Fun,state, "https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js", false,true,5000,25000,131072, #Fun} ** Handler state was {websocket,<0.946.0>} ** Request was [{socket,{sslsocket,new_ssl,<0.939.0>}}, {transport,cowboy_ssl_transport}, {connection,keepalive}, {pid,<0.945.0>}, {method,'GET'}, {version,{1,1}}, {peer,{{127,0,0,1},55217}}, {host,[<<"localhost">>]}, {host_info,undefined}, {raw_host,<<"localhost">>}, {port,8081}, {path,[<<"924">>,<<"8eb632255686bd70">>,<<"websocket">>]}, {path_info,undefined}, {raw_path,<<"/924/8eb632255686bd70/websocket">>}, {qs_vals,undefined}, {raw_qs,<<>>}, {bindings,[]}, {headers,[{<<"Sec-Websocket-Key2">>,<<"35o393 Z280=06_">>}, {<<"Sec-Websocket-Key1">>, <<"I3655 3**5D<94f5*qJ3o(s">>}, {<<"Origin">>,<<"http://localhost">>}, {'Host',<<"localhost:8081">>}, {'Connection',<<"Upgrade">>}, {'Upgrade',<<"WebSocket">>}, {'Content-Length',<<"8">>}]}, {p_headers,[{'Upgrade',[<<"websocket">>]}, {'Connection',[<<"upgrade">>]}, {'Content-Length',8}]}, {cookies,undefined}, {meta,[{websocket_version,0}]}, {body_state,done}, {buffer,<<>>}, {resp_state,done}, {resp_headers,[]}, {resp_body,<<>>}, {onresponse,undefined}, {urldecode,{#Fun,crash}}] ** Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]}, {sockjs_ws_handler,reply,2, [{file,"src/sockjs_ws_handler.erl"},{line,35}]}, {sockjs_cowboy_handler,websocket_info,3, [{file,"src/sockjs_cowboy_handler.erl"},{line,56}]}, {cowboy_http_websocket,handler_call,7, [{file,"src/cowboy_http_websocket.erl"},{line,456}]}, {cowboy_http_protocol,upgrade_protocol,3, [{file,"src/cowboy_http_protocol.erl"},{line,291}]}] =ERROR REPORT==== 6-Nov-2012::17:21:44 === ** Handler sockjs_cowboy_handler terminating in websocket_info/3 for the reason exit:{noproc, {gen_server,call, [<0.462.0>,{reply,<0.461.0>,true},infinity]}} ** Message was go ** Options were {service,[],#Fun,state, "https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js", false,true,5000,25000,131072, #Fun} ** Handler state was {websocket,<0.462.0>} ** Request was [{socket,{sslsocket,new_ssl,<0.460.0>}}, {transport,cowboy_ssl_transport}, {connection,keepalive}, {pid,<0.461.0>}, {method,'GET'}, {version,{1,1}}, {peer,{{127,0,0,1},55173}}, {host,[<<"localhost">>]}, {host_info,undefined}, {raw_host,<<"localhost">>}, {port,8081}, {path,[<<"852">>,<<"c888cc57df80fd7e">>,<<"websocket">>]}, {path_info,undefined}, {raw_path,<<"/852/c888cc57df80fd7e/websocket">>}, {qs_vals,undefined}, {raw_qs,<<>>}, {bindings,[]}, {headers,[{<<"Sec-Websocket-Key2">>,<<"1 341239 ^8 32">>}, {<<"Sec-Websocket-Key1">>, <<"S l42[^b#:4,08Q3187'1">>}, {<<"Origin">>,<<"http://localhost">>}, {'Host',<<"localhost:8081">>}, {'Connection',<<"Upgrade">>}, {'Upgrade',<<"WebSocket">>}, {'Content-Length',<<"8">>}]}, {p_headers,[{'Upgrade',[<<"websocket">>]}, {'Connection',[<<"upgrade">>]}, {'Content-Length',8}]}, {cookies,undefined}, {meta,[{websocket_version,0}]}, {body_state,done}, {buffer,<<>>}, {resp_state,done}, {resp_headers,[]}, {resp_body,<<>>}, {onresponse,undefined}, {urldecode,{#Fun,crash}}] ** Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]}, {sockjs_ws_handler,reply,2, [{file,"src/sockjs_ws_handler.erl"},{line,35}]}, {sockjs_cowboy_handler,websocket_info,3, [{file,"src/sockjs_cowboy_handler.erl"},{line,56}]}, {cowboy_http_websocket,handler_call,7, [{file,"src/cowboy_http_websocket.erl"},{line,456}]}, {cowboy_http_protocol,upgrade_protocol,3, [{file,"src/cowboy_http_protocol.erl"},{line,291}]}] =ERROR REPORT==== 6-Nov-2012::17:21:44 === ** Handler sockjs_cowboy_handler terminating in websocket_info/3 for the reason exit:{noproc, {gen_server,call, [<0.1067.0>,{reply,<0.1066.0>,true},infinity]}} ** Message was go ** Options were {service,[],#Fun,state, "https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js", false,true,5000,25000,131072, #Fun} ** Handler state was {websocket,<0.1067.0>} ** Request was [{socket,{sslsocket,new_ssl,<0.1065.0>}}, {transport,cowboy_ssl_transport}, {connection,keepalive}, {pid,<0.1066.0>}, {method,'GET'}, {version,{1,1}}, {peer,{{127,0,0,1},55228}}, {host,[<<"localhost">>]}, {host_info,undefined}, {raw_host,<<"localhost">>}, {port,8081}, {path,[<<"513">>,<<"7be8fe26235e904c">>,<<"websocket">>]}, {path_info,undefined}, {raw_path,<<"/513/7be8fe26235e904c/websocket">>}, {qs_vals,undefined}, {raw_qs,<<>>}, {bindings,[]}, {headers,[{<<"Sec-Websocket-Key2">>, <<"2353uv% Wjj6m341X3v @^ 9">>}, {<<"Sec-Websocket-Key1">>, <<"1 7X <13 P359{c 81d!6">>}, {<<"Origin">>,<<"http://localhost">>}, {'Host',<<"localhost:8081">>}, {'Connection',<<"Upgrade">>}, {'Upgrade',<<"WebSocket">>}, {'Content-Length',<<"8">>}]}, {p_headers,[{'Upgrade',[<<"websocket">>]}, {'Connection',[<<"upgrade">>]}, {'Content-Length',8}]}, {cookies,undefined}, {meta,[{websocket_version,0}]}, {body_state,done}, {buffer,<<>>}, {resp_state,done}, {resp_headers,[]}, {resp_body,<<>>}, {onresponse,undefined}, {urldecode,{#Fun,crash}}] ** Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]}, {sockjs_ws_handler,reply,2, [{file,"src/sockjs_ws_handler.erl"},{line,35}]}, {sockjs_cowboy_handler,websocket_info,3, [{file,"src/sockjs_cowboy_handler.erl"},{line,56}]}, {cowboy_http_websocket,handler_call,7, [{file,"src/cowboy_http_websocket.erl"},{line,456}]}, {cowboy_http_protocol,upgrade_protocol,3, [{file,"src/cowboy_http_protocol.erl"},{line,291}]}] =ERROR REPORT==== 6-Nov-2012::17:21:44 === ** Handler sockjs_cowboy_handler terminating in websocket_info/3 for the reason exit:{noproc, {gen_server,call, [<0.704.0>,{reply,<0.703.0>,true},infinity]}} ** Message was go ** Options were {service,[],#Fun,state, "https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js", false,true,5000,25000,131072, #Fun} ** Handler state was {websocket,<0.704.0>} ** Request was [{socket,{sslsocket,new_ssl,<0.702.0>}}, {transport,cowboy_ssl_transport}, {connection,keepalive}, {pid,<0.703.0>}, {method,'GET'}, {version,{1,1}}, {peer,{{127,0,0,1},55195}}, {host,[<<"localhost">>]}, {host_info,undefined}, {raw_host,<<"localhost">>}, {port,8081}, {path,[<<"952">>,<<"c6f93ce7436b5b8b">>,<<"websocket">>]}, {path_info,undefined}, {raw_path,<<"/952/c6f93ce7436b5b8b/websocket">>}, {qs_vals,undefined}, {raw_qs,<<>>}, {bindings,[]}, {headers,[{<<"Sec-Websocket-Key2">>, <<"3%i87O J 8 M7H>87 9 6 8">>}, {<<"Sec-Websocket-Key1">>, <<"I32r1( 9=1R1g94u38S">>}, {<<"Origin">>,<<"http://localhost">>}, {'Host',<<"localhost:8081">>}, {'Connection',<<"Upgrade">>}, {'Upgrade',<<"WebSocket">>}, {'Content-Length',<<"8">>}]}, {p_headers,[{'Upgrade',[<<"websocket">>]}, {'Connection',[<<"upgrade">>]}, {'Content-Length',8}]}, {cookies,undefined}, {meta,[{websocket_version,0}]}, {body_state,done}, {buffer,<<>>}, {resp_state,done}, {resp_headers,[]}, {resp_body,<<>>}, {onresponse,undefined}, {urldecode,{#Fun,crash}}] ** Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]}, {sockjs_ws_handler,reply,2, [{file,"src/sockjs_ws_handler.erl"},{line,35}]}, {sockjs_cowboy_handler,websocket_info,3, [{file,"src/sockjs_cowboy_handler.erl"},{line,56}]}, {cowboy_http_websocket,handler_call,7, [{file,"src/cowboy_http_websocket.erl"},{line,456}]}, {cowboy_http_protocol,upgrade_protocol,3, [{file,"src/cowboy_http_protocol.erl"},{line,291}]}] =ERROR REPORT==== 6-Nov-2012::17:21:44 === ** Handler sockjs_cowboy_handler terminating in websocket_info/3 for the reason exit:{noproc, {gen_server,call, [<0.825.0>,{reply,<0.824.0>,true},infinity]}} ** Message was go ** Options were {service,[],#Fun,state, "https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js", false,true,5000,25000,131072, #Fun} ** Handler state was {websocket,<0.825.0>} ** Request was [{socket,{sslsocket,new_ssl,<0.823.0>}}, {transport,cowboy_ssl_transport}, {connection,keepalive}, {pid,<0.824.0>}, {method,'GET'}, {version,{1,1}}, {peer,{{127,0,0,1},55206}}, {host,[<<"localhost">>]}, {host_info,undefined}, {raw_host,<<"localhost">>}, {port,8081}, {path,[<<"980">>,<<"ede6b7190c70e657">>,<<"websocket">>]}, {path_info,undefined}, {raw_path,<<"/980/ede6b7190c70e657/websocket">>}, {qs_vals,undefined}, {raw_qs,<<>>}, {bindings,[]}, {headers,[{<<"Sec-Websocket-Key2">>, <<"3U33d p|7 3 9 9 Z=1 76">>}, {<<"Sec-Websocket-Key1">>,<<"5 p04 6 05 3 74">>}, {<<"Origin">>,<<"http://localhost">>}, {'Host',<<"localhost:8081">>}, {'Connection',<<"Upgrade">>}, {'Upgrade',<<"WebSocket">>}, {'Content-Length',<<"8">>}]}, {p_headers,[{'Upgrade',[<<"websocket">>]}, {'Connection',[<<"upgrade">>]}, {'Content-Length',8}]}, {cookies,undefined}, {meta,[{websocket_version,0}]}, {body_state,done}, {buffer,<<>>}, {resp_state,done}, {resp_headers,[]}, {resp_body,<<>>}, {onresponse,undefined}, {urldecode,{#Fun,crash}}] ** Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]}, {sockjs_ws_handler,reply,2, [{file,"src/sockjs_ws_handler.erl"},{line,35}]}, {sockjs_cowboy_handler,websocket_info,3, [{file,"src/sockjs_cowboy_handler.erl"},{line,56}]}, {cowboy_http_websocket,handler_call,7, [{file,"src/cowboy_http_websocket.erl"},{line,456}]}, {cowboy_http_protocol,upgrade_protocol,3, [{file,"src/cowboy_http_protocol.erl"},{line,291}]}] =ERROR REPORT==== 6-Nov-2012::17:21:44 === ** Handler sockjs_cowboy_handler terminating in websocket_info/3 for the reason exit:{noproc, {gen_server,call, [<0.1188.0>,{reply,<0.1187.0>,true},infinity]}} ** Message was go ** Options were {service,[],#Fun,state, "https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js", false,true,5000,25000,131072, #Fun} ** Handler state was {websocket,<0.1188.0>} ** Request was [{socket,{sslsocket,new_ssl,<0.1185.0>}}, {transport,cowboy_ssl_transport}, {connection,keepalive}, {pid,<0.1187.0>}, {method,'GET'}, {version,{1,1}}, {peer,{{127,0,0,1},55239}}, {host,[<<"localhost">>]}, {host_info,undefined}, {raw_host,<<"localhost">>}, {port,8081}, {path,[<<"601">>,<<"953b04149299b49e">>,<<"websocket">>]}, {path_info,undefined}, {raw_path,<<"/601/953b04149299b49e/websocket">>}, {qs_vals,undefined}, {raw_qs,<<>>}, {bindings,[]}, {headers,[{<<"Sec-Websocket-Key2">>, <<"%1 a6 4 .Qs 7Ij10 xq 10 4|s3Y">>}, {<<"Sec-Websocket-Key1">>, <<"1 2252 4 4 O^ 9 O.0 &>0">>}, {<<"Origin">>,<<"http://localhost">>}, {'Host',<<"localhost:8081">>}, {'Connection',<<"Upgrade">>}, {'Upgrade',<<"WebSocket">>}, {'Content-Length',<<"8">>}]}, {p_headers,[{'Upgrade',[<<"websocket">>]}, {'Connection',[<<"upgrade">>]}, {'Content-Length',8}]}, {cookies,undefined}, {meta,[{websocket_version,0}]}, {body_state,done}, {buffer,<<>>}, {resp_state,done}, {resp_headers,[]}, {resp_body,<<>>}, {onresponse,undefined}, {urldecode,{#Fun,crash}}] ** Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]}, {sockjs_ws_handler,reply,2, [{file,"src/sockjs_ws_handler.erl"},{line,35}]}, {sockjs_cowboy_handler,websocket_info,3, [{file,"src/sockjs_cowboy_handler.erl"},{line,56}]}, {cowboy_http_websocket,handler_call,7, [{file,"src/cowboy_http_websocket.erl"},{line,456}]}, {cowboy_http_protocol,upgrade_protocol,3, [{file,"src/cowboy_http_protocol.erl"},{line,291}]}] =ERROR REPORT==== 6-Nov-2012::17:21:44 === ** Handler sockjs_cowboy_handler terminating in websocket_info/3 for the reason exit:{noproc, {gen_server,call, [<0.1309.0>,{reply,<0.1308.0>,true},infinity]}} ** Message was go ** Options were {service,[],#Fun,state, "https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js", false,true,5000,25000,131072, #Fun} ** Handler state was {websocket,<0.1309.0>} ** Request was [{socket,{sslsocket,new_ssl,<0.1302.0>}}, {transport,cowboy_ssl_transport}, {connection,keepalive}, {pid,<0.1308.0>}, {method,'GET'}, {version,{1,1}}, {peer,{{127,0,0,1},55250}}, {host,[<<"localhost">>]}, {host_info,undefined}, {raw_host,<<"localhost">>}, {port,8081}, {path,[<<"330">>,<<"102ba039fa85e422">>,<<"websocket">>]}, {path_info,undefined}, {raw_path,<<"/330/102ba039fa85e422/websocket">>}, {qs_vals,undefined}, {raw_qs,<<>>}, {bindings,[]}, {headers,[{<<"Sec-Websocket-Key2">>,<<"10129k130 50">>}, {<<"Sec-Websocket-Key1">>, <<"O2 41 54]06 1s1 ^ pr0">>}, {<<"Origin">>,<<"http://localhost">>}, {'Host',<<"localhost:8081">>}, {'Connection',<<"Upgrade">>}, {'Upgrade',<<"WebSocket">>}, {'Content-Length',<<"8">>}]}, {p_headers,[{'Upgrade',[<<"websocket">>]}, {'Connection',[<<"upgrade">>]}, {'Content-Length',8}]}, {cookies,undefined}, {meta,[{websocket_version,0}]}, {body_state,done}, {buffer,<<>>}, {resp_state,done}, {resp_headers,[]}, {resp_body,<<>>}, {onresponse,undefined}, {urldecode,{#Fun,crash}}] ** Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]}, {sockjs_ws_handler,reply,2, [{file,"src/sockjs_ws_handler.erl"},{line,35}]}, {sockjs_cowboy_handler,websocket_info,3, [{file,"src/sockjs_cowboy_handler.erl"},{line,56}]}, {cowboy_http_websocket,handler_call,7, [{file,"src/cowboy_http_websocket.erl"},{line,456}]}, {cowboy_http_protocol,upgrade_protocol,3, [{file,"src/cowboy_http_protocol.erl"},{line,291}]}] {ok, C} = pgsql:connect("localhost", "classpager_erlang", "", [{database, "classpager_development"}]), (my_erlang_app@ubuntu)2> pgsql:equery(C, "INSERT INTO messages (body, classroom_id, teacher_id, student_id, parent_id, message_type, created_at, updated_at) VALUES ($1, $2, $3, $4, $5, $6, $7, $8);", [<<"Hello World">>, 1, 1, 1, 1, 0, calendar:universal_time(), calendar:universal_time()]). =ERROR REPORT==== 6-Nov-2012::17:21:56 === ** State machine <0.1428.0> terminating ** Last message in was {'EXIT',<0.48.0>, {{badmatch,{ok,<0.1428.0>}}, [{erl_eval,expr,3,[]}]}} ** When State == ready ** Data == {state,undefined,<0.1429.0>,5000, [{<<"application_name">>,<<>>}, {<<"client_encoding">>,<<"UTF8">>}, {<<"DateStyle">>,<<"ISO, MDY">>}, {<<"integer_datetimes">>,<<"on">>}, {<<"IntervalStyle">>,<<"postgres">>}, {<<"is_superuser">>,<<"off">>}, {<<"server_encoding">>,<<"UTF8">>}, {<<"server_version">>,<<"9.1.5">>}, {<<"session_authorization">>,<<"classpager_erlang">>}, {<<"standard_conforming_strings">>,<<"on">>}, {<<"TimeZone">>,<<"localtime">>}], undefined, {<0.48.0>,#Ref<0.0.1.125116>}, undefined, {18552,725321837}, undefined,73} ** Reason for termination = ** {{badmatch,{ok,<0.1428.0>}},[{erl_eval,expr,3,[]}]} ** exception error: no match of right hand side value {ok,<0.1428.0>} (my_erlang_app@ubuntu)3> (my_erlang_app@ubuntu)3> =ERROR REPORT==== 6-Nov-2012::17:21:56 === ** Generic server <0.1429.0> terminating ** Last message in was {'EXIT',<0.1428.0>, {{badmatch,{ok,<0.1428.0>}}, [{erl_eval,expr,3,[]}]}} ** When Server state == {state,<0.1428.0>,gen_tcp,#Port<0.2391>,<<>>} ** Reason for termination == ** {{badmatch,{ok,<0.1428.0>}},[{erl_eval,expr,3,[]}]} =ERROR REPORT==== 6-Nov-2012::17:21:56 === ** State machine <0.214.0> terminating ** Last message in was {'EXIT',<0.48.0>, {{badmatch,{ok,<0.1428.0>}}, [{erl_eval,expr,3,[]}]}} ** When State == ready ** Data == {state,undefined,<0.215.0>,5000, [{<<"application_name">>,<<>>}, {<<"client_encoding">>,<<"UTF8">>}, {<<"DateStyle">>,<<"ISO, MDY">>}, {<<"integer_datetimes">>,<<"on">>}, {<<"IntervalStyle">>,<<"postgres">>}, {<<"is_superuser">>,<<"off">>}, {<<"server_encoding">>,<<"UTF8">>}, {<<"server_version">>,<<"9.1.5">>}, {<<"session_authorization">>,<<"classpager_erlang">>}, {<<"standard_conforming_strings">>,<<"on">>}, {<<"TimeZone">>,<<"localtime">>}], undefined,undefined,undefined, {18502,360868584}, {statement,[],[], [text,int4,int4,int4,int4,int4,timestamp, timestamp]}, 73} ** Reason for termination = ** {{badmatch,{ok,<0.1428.0>}},[{erl_eval,expr,3,[]}]} =ERROR REPORT==== 6-Nov-2012::17:21:56 === ** Generic server <0.215.0> terminating ** Last message in was {'EXIT',<0.214.0>, {{badmatch,{ok,<0.1428.0>}}, [{erl_eval,expr,3,[]}]}} ** When Server state == {state,<0.214.0>,gen_tcp,#Port<0.1834>,<<>>} ** Reason for termination == ** {{badmatch,{ok,<0.1428.0>}},[{erl_eval,expr,3,[]}]}