Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gateway meta FSM is not handling connection errors #51

Open
shizzard opened this issue Jun 26, 2019 · 0 comments
Open

Gateway meta FSM is not handling connection errors #51

shizzard opened this issue Jun 26, 2019 · 0 comments
Assignees
Labels

Comments

@shizzard
Copy link
Owner

[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}
@shizzard shizzard added the bug label Jun 26, 2019
@shizzard shizzard self-assigned this Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant