Skip to content

Gateway meta FSM is not handling connection errors #51

@shizzard

Description

@shizzard
[2019-06-26T10:24:03.975097+00:00][error][gen_statem:error_info/5:1895@<0.1087.0>] state_enter=false state="{on_gather_meta_fin,{state,\"discordapp.com\",443,\"/api\",\"/gateway/bot\",<<\"Marvin (http://shizzard.github.io/marvin, v0.7.5+build.5.ref63539dc)\">>,<<\"Bot *****\">>,<0.1088.0>,#Ref<0.304199055.1553465347.203764>,-576454666721323493,12000,1,1,<<\"wss://gateway.discord.gg\">>}}" reason="{error,function_clause,[{marvin_gateway_meta,handle_event,[info,{gun_error,<0.1088.0>,#Ref<0.304199055.1553465347.203764>,{stream_error,protocol_error,'Stream reset by server.'}},on_gather_meta_fin,{state,\"discordapp.com\",443,\"/api\",\"/gateway/bot\",<<\"Marvin (http://shizzard.github.io/marvin, v0.7.5+build.5.ref63539dc)\">>,<<\"Bot *****\">>,<0.1088.0>,#Ref<0.304199055.1553465347.203764>,-576454666721323493,12000,1,1,<<\"wss://gateway.discord.gg\">>}],[{file,\"/Users/shizz/code/marvin/_build/default/lib/marvin/src/marvin_gateway_meta.erl\"},{line,76}]},{gen_statem,call_state_function,5,[{file,\"gen_statem.erl\"},{line,1662}]},{gen_statem,loop_event_state_function,6,[{file,\"gen_statem.erl\"},{line,1023}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,249}]}]}" queue="[{info,{gun_error,<0.1088.0>,#Ref<0.304199055.1553465347.203764>,{stream_error,protocol_error,'Stream reset by server.'}}}]" postponed= name=marvin_gateway_meta label={gen_statem,terminate} callback_mode=handle_event_function
[2019-06-26T10:24:03.981278+00:00][error][proc_lib:crash_report/4:508@<0.1087.0>] report="[[{initial_call,{marvin_gateway_meta,init,['Argument__1']}},{pid,<0.1087.0>},{registered_name,marvin_gateway_meta},{error_info,{error,function_clause,[{marvin_gateway_meta,handle_event,[info,{gun_error,<0.1088.0>,#Ref<0.304199055.1553465347.203764>,{stream_error,protocol_error,'Stream reset by server.'}},on_gather_meta_fin,{state,\"discordapp.com\",443,\"/api\",\"/gateway/bot\",<<\"Marvin (http://shizzard.github.io/marvin, v0.7.5+build.5.ref63539dc)\">>,<<\"Bot *****\">>,<0.1088.0>,#Ref<0.304199055.1553465347.203764>,-576454666721323493,12000,1,1,<<\"wss://gateway.discord.gg\">>}],[{file,\"/Users/shizz/code/marvin/_build/default/lib/marvin/src/marvin_gateway_meta.erl\"},{line,76}]},{gen_statem,call_state_function,5,[{file,\"gen_statem.erl\"},{line,1662}]},{gen_statem,loop_event_state_function,6,[{file,\"gen_statem.erl\"},{line,1023}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,249}]}]}},{ancestors,[marvin_sup,<0.1081.0>]},{message_queue_len,0},{messages,[]},{links,[<0.1082.0>]},{dictionary,[{random_wh06_seed,{1804398274,120447585,312044618,1765784585}}]},{trap_exit,false},{status,running},{heap_size,4185},{stack_size,27},{reductions,7260946}],[]]" label={proc_lib,crash}

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions