Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MacBook-Pro-2:cargo ramankovalitskiy$ ./rebar get-deps && ./rebar compile && ./init-dev.sh
- WARN: Missing plugins: [rebar3_hex]
- ==> stacktrace_compat (get-deps)
- ==> simple_bridge (get-deps)
- ==> goldrush (get-deps)
- ==> lager (get-deps)
- ==> pmod_transform (get-deps)
- ==> erlando (get-deps)
- ==> aleppo (get-deps)
- ==> medici (get-deps)
- ==> jsx (get-deps)
- ==> ibrowse (get-deps)
- ==> ddb (get-deps)
- ==> epgsql (get-deps)
- ==> erlmc (get-deps)
- ==> mysql (get-deps)
- ==> poolboy (get-deps)
- ==> uuid (get-deps)
- ==> redo (get-deps)
- ==> ets_cache (get-deps)
- ==> proper (get-deps)
- ==> dh_date (get-deps)
- ==> tiny_pq (get-deps)
- ==> boss_test (get-deps)
- ==> boss_db (get-deps)
- ==> tinymq (get-deps)
- ==> erlydtl (get-deps)
- ==> dynamic_compile (get-deps)
- ==> jaderl (get-deps)
- ==> gen_smtp (get-deps)
- ==> iso8601 (get-deps)
- ==> mimetypes (get-deps)
- ==> mochiweb (get-deps)
- ==> cowlib (get-deps)
- ==> ranch (get-deps)
- ==> cowboy (get-deps)
- ==> boss (get-deps)
- ==> jsone (get-deps)
- ==> l (get-deps)
- ==> chronium (get-deps)
- ==> chronos (get-deps)
- ==> emqttc (get-deps)
- ==> eredis (get-deps)
- ==> gun (get-deps)
- ==> deepprops (get-deps)
- ==> cf (get-deps)
- ==> erlware_commons (get-deps)
- ==> qdate_localtime (get-deps)
- ==> qdate (get-deps)
- ==> mochiweb_xpath (get-deps)
- ==> watcher (get-deps)
- ==> liver (get-deps)
- ==> gm (get-deps)
- ==> recon (get-deps)
- ==> ehttpd (get-deps)
- ==> lilu (get-deps)
- ==> ejp (get-deps)
- ==> meck (get-deps)
- ==> gproc (get-deps)
- ==> erldbf (get-deps)
- ==> sync (get-deps)
- ==> unicode_util_compat (get-deps)
- ==> idna (get-deps)
- ==> mimerl (get-deps)
- ==> parse_trans (get-deps)
- ==> certifi (get-deps)
- ==> metrics (get-deps)
- ==> ssl_verify_fun (get-deps)
- ==> hackney (get-deps)
- ==> cargo (get-deps)
- WARN: Missing plugins: [rebar3_hex]
- ==> stacktrace_compat (pre_compile)
- ==> stacktrace_compat (compile)
- ==> simple_bridge (pre_compile)
- ==> simple_bridge (compile)
- Generating crypto compatibility for simple_bridge...
- ...Using: "crypto:hash(sha, Data)"
- ...no changes needed to "include/crypto_compat.hrl". Skipping writing new file
- ==> goldrush (pre_compile)
- ==> goldrush (compile)
- ==> lager (pre_compile)
- ==> lager (compile)
- ==> pmod_transform (pre_compile)
- ==> pmod_transform (compile)
- ==> erlando (pre_compile)
- ==> erlando (compile)
- ==> aleppo (pre_compile)
- ==> aleppo (compile)
- ==> medici (pre_compile)
- ==> medici (compile)
- ==> jsx (pre_compile)
- ==> jsx (compile)
- ==> ibrowse (pre_compile)
- ==> ibrowse (compile)
- ==> ddb (pre_compile)
- ==> ddb (compile)
- ==> epgsql (pre_compile)
- ==> epgsql (compile)
- ==> erlmc (pre_compile)
- ==> erlmc (compile)
- ==> mysql (pre_compile)
- ==> mysql (compile)
- ==> poolboy (pre_compile)
- ==> poolboy (compile)
- ==> uuid (pre_compile)
- ==> uuid (compile)
- ==> redo (pre_compile)
- ==> redo (compile)
- ==> ets_cache (pre_compile)
- ==> ets_cache (compile)
- ==> proper (pre_compile)
- ==> proper (compile)
- ==> dh_date (pre_compile)
- ==> dh_date (compile)
- ==> tiny_pq (pre_compile)
- ==> tiny_pq (compile)
- ==> boss_test (pre_compile)
- ==> boss_test (compile)
- ==> boss_db (pre_compile)
- ==> boss_db (compile)
- ==> tinymq (pre_compile)
- ==> tinymq (compile)
- ==> erlydtl (pre_compile)
- ==> erlydtl (compile)
- ==> dynamic_compile (pre_compile)
- ==> dynamic_compile (compile)
- ==> jaderl (pre_compile)
- ==> jaderl (compile)
- ==> gen_smtp (pre_compile)
- ==> gen_smtp (compile)
- ==> iso8601 (pre_compile)
- ==> iso8601 (compile)
- ==> mimetypes (pre_compile)
- ==> mimetypes (compile)
- ==> mochiweb (pre_compile)
- ==> mochiweb (compile)
- ==> cowlib (pre_compile)
- ==> cowlib (compile)
- ==> ranch (pre_compile)
- ==> ranch (compile)
- ==> cowboy (pre_compile)
- ==> cowboy (compile)
- ==> boss (pre_compile)
- ==> boss (compile)
- ==> jsone (pre_compile)
- ==> jsone (compile)
- ==> l (pre_compile)
- ==> l (compile)
- ==> chronium (pre_compile)
- ==> chronium (compile)
- ==> chronos (pre_compile)
- ==> chronos (compile)
- ==> emqttc (pre_compile)
- ==> emqttc (compile)
- ==> eredis (pre_compile)
- ==> eredis (compile)
- ==> gun (pre_compile)
- ==> gun (compile)
- ==> deepprops (pre_compile)
- ==> deepprops (compile)
- ==> cf (pre_compile)
- ==> cf (compile)
- ==> erlware_commons (pre_compile)
- ==> erlware_commons (compile)
- ==> qdate_localtime (pre_compile)
- ==> qdate_localtime (compile)
- ==> qdate (pre_compile)
- ==> qdate (compile)
- ==> mochiweb_xpath (pre_compile)
- ==> mochiweb_xpath (compile)
- ==> watcher (pre_compile)
- ==> watcher (compile)
- ==> liver (pre_compile)
- ==> liver (compile)
- ==> gm (pre_compile)
- ==> gm (compile)
- ==> recon (pre_compile)
- ==> recon (compile)
- ==> ehttpd (pre_compile)
- ==> ehttpd (compile)
- ==> lilu (pre_compile)
- ==> lilu (compile)
- ==> ejp (pre_compile)
- ==> ejp (compile)
- ==> meck (pre_compile)
- ==> meck (compile)
- ==> gproc (pre_compile)
- ==> gproc (compile)
- ==> erldbf (pre_compile)
- ==> erldbf (compile)
- ==> sync (pre_compile)
- ==> sync (compile)
- ==> unicode_util_compat (pre_compile)
- ==> unicode_util_compat (compile)
- ==> idna (pre_compile)
- ==> idna (compile)
- ==> mimerl (pre_compile)
- ==> mimerl (compile)
- ==> parse_trans (pre_compile)
- ==> parse_trans (compile)
- ==> certifi (pre_compile)
- ==> certifi (compile)
- ==> metrics (pre_compile)
- ==> metrics (compile)
- ==> ssl_verify_fun (pre_compile)
- ==> ssl_verify_fun (compile)
- ==> hackney (pre_compile)
- ==> hackney (compile)
- ==> cargo (pre_compile)
- ./init.sh: line 16: WARN:: command not found
- Erlang/OTP 21 [erts-10.3.5.6] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]
- Eshell V10.3.5.6 (abort with ^G)
- (cracozaurus@127.0.0.1)1> 17:12:07.173 [info] Starting Boss in development mode...
- 17:12:07.181 [info] Start Database Adapter boss_db_adapter_pgsql options [{adapter,pgsql},{cache_enable,false},{cache_prefix,db},{shards,[]},{is_master_node,true},{db_database,"cargo"},{db_password,"cargo-postgres-very-strong-password"},{db_username,"postgres"},{db_host,"test.morecargo.ru"},{db_port,5432}]
- Starting Cowboy Server on {127,0,0,1}:8001
- Using Cowboy Dispatch Table:
- [{'_',[],
- [{[<<"static">>,'...'],
- [],cowboy_static,
- {priv_dir,cargo,"static",[{mimetypes,cow_mimetypes,all}]}},
- {'_',[],cowboy_simple_bridge_anchor,[]}]}]
- Starting distributed session mnesia storagestart gc
- gc pid <0.384.0>
- 17:12:07.543 [info] Cargo server started on node 'cracozaurus@127.0.0.1'
- 17:12:07.547 [info] cargo_srv: create tables
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- START -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!17:12:08.113 [info] upload app starting~n
- 17:12:08.118 [info] upload app starting 0 ...~n
- 17:12:08.118 [info] upload app starting 1 ...~n
- 17:12:08.118 [info] upload server port 9999
- 17:12:08.119 [info] upload app starting 2 ...~n
- 17:12:08.201 [info] cargo_srv MQTT connect login <<"common-cracozaurus@127.0.0.1-2b2dfb00-41d8-11ea-9936-acde48001122">>
- 17:12:08.201 [info] cargo_srv MQTT connect pass <<"2b2b010c-41d8-11ea-b6d3-acde48001122">>
- 17:12:08.216 [info] Chat dispatcher started on node 'cracozaurus@127.0.0.1'
- 17:12:08.224 [info] cargo_srv MQTT connect pid <0.521.0>
- 17:12:08.232 [info] Bonus event dispatcher started on node 'cracozaurus@127.0.0.1'
- 17:12:08.240 [info] Notification event dispatcher started on node 'cracozaurus@127.0.0.1'
- 17:12:08.248 [info] Signup helper event dispatcher started on node 'cracozaurus@127.0.0.1'
- {"src/mail/view/base.html","base_tpl",{ok,base_tpl}}
- {"src/mail/view/cargo_email_layout.html","cargo_email_layout_tpl",
- {ok,cargo_email_layout_tpl}}
- {"src/mail/view/cargo_email_layout_feedback.html",
- "cargo_email_layout_feedback_tpl",
- {ok,cargo_email_layout_feedback_tpl}}
- {"src/mail/view/generic_email.html","generic_email_tpl",
- {ok,generic_email_tpl}}
- {"src/mail/view/new_admin_user_signup_notification.html",
- "new_admin_user_signup_notification_tpl",
- {ok,new_admin_user_signup_notification_tpl}}
- {"src/mail/view/trucker_attach_notification.html",
- "trucker_attach_notification_tpl",
- {ok,trucker_attach_notification_tpl}}
- Starting Sync (Automatic Code Compiler / Reloader)
- Scanning source files...
- 17:12:08.322 [info] Event_srv started on node 'cracozaurus@127.0.0.1'
- 17:12:08.322 [info] M: event_sup
- L: 22
- Mess:<<"Init">>
- 17:12:08.327 [info] psql starting
- 17:12:08.344 [info] psql starting
- psql.erl psql starting
- psql.erl psql starting 01
- 17:12:08.344 [info] psql.erl psql starting 01~n
- 17:12:08.344 [info] psql almost started
- psql.erl psql almost started
- 17:12:08.351 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:08.698 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:08.725 [info] mqtt Connect <0.521.0>
- 17:12:08.725 [info] cargo_srv unknown message {mqttc,<0.521.0>,connected}
- 17:12:08.995 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:09.304 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:09.599 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:09.887 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:10.241 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:10.567 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:10.882 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:11.271 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:11.588 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:11.928 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:12.233 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:12.521 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:12.803 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:13.121 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:13.441 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:14.028 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:14.341 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:14.622 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:12:14.910 [info] psql Res ok
- psql Res ok
- ** LiLu has started **
- ** LiLu starting viever: "ct" **
- 17:12:14.967 [info] Modulbank mock manager started on node 'cracozaurus@127.0.0.1'
- ** LiLu starting viever: "console" **
- ** LiLu starting viever: "error" **
- 17:12:15.132 [notice] Compile file "/Users/ramankovalitskiy/Projects/cargo/priv/init/cargo_01_news.erl" with options [{include_dirs,["/Users/ramankovalitskiy/Projects/cargo/include"]}]
- =SUPERVISOR REPORT==== 28-Jan-2020::17:12:39.258163 ===
- supervisor: {local,signup_helper_sup}
- errorContext: child_terminated
- reason: {timeout,
- {gen_server,call,
- [<0.152.0>,
- {execute,
- "\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",
- []},
- 30000]}}
- offender: [{pid,<0.578.0>},
- {id,signup_helper_watcher},
- {mfargs,{signup,start,[]}},
- {restart_type,permanent},
- {shutdown,25000},
- {child_type,worker}]
- 17:12:39.258 [error] Supervisor signup_helper_sup had child signup_helper_watcher started with signup:start() at <0.578.0> exit with reason {timeout,{gen_server,call,[<0.152.0>,{execute,"\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",[]},30000]}} in context child_terminated
- 17:12:47.974 [info] cargo_main_controller:main before_ _________________A:"user_settings" B:'GET' C:[]
- 17:12:59.223 [info] cargo_account_controller _________________"login" 'POST' []
- 17:12:59.223 [info] cargo_account_controller:login *Logging in...
- 17:12:59.223 [info] UserType "users"
- 17:12:59.223 [info] cargo_account_controller:login ::login -> " 7 (916) 813-25-77"
- 17:12:59.223 [info] cargo_account_controller:login ::password -> "qwerty"
- 17:12:59.223 [info] cargo_account_controller:login ::cookie -> <<>>
- 17:12:59.231 [info] common_check:valid_email ::trim -> 7(916)813-25-77
- 17:12:59.231 [info] common_check:valid_email ::email -> 7(916)813-25-77 is invalid!
- 17:12:59.231 [info] common_check:valid_phone ::len -> 12
- 17:12:59.231 [info] auth_lib:login ::validemail -> false, ::validphone -> true
- 17:12:59.231 [info] Cookie []
- 17:12:59.231 [info] ValidCookie undefined
- 17:12:59.231 [info] CookieData []
- 17:12:59.231 [info] UserType users
- 17:12:59.231 [info] Login <<" 7 (916) 813-25-77">>
- 17:12:59.231 [info] Format phone <<"+79168132577">>
- 17:12:59.231 [info] Type login phone
- 17:12:59.231 [info] TypeLogin phone
- 17:12:59.231 [info] LoginFin <<" 7 (916) 813-25-77">>
- info handle timeout
- handle timeout 3
- ExpireWindow 1580220720
- Records []
- =SUPERVISOR REPORT==== 28-Jan-2020::17:13:10.260252 ===
- supervisor: {local,signup_helper_sup}
- errorContext: child_terminated
- reason: {timeout,
- {gen_server,call,
- [<0.152.0>,
- {execute,
- "\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",
- []},
- 30000]}}
- offender: [{pid,<0.746.0>},
- {id,signup_helper_watcher},
- {mfargs,{signup,start,[]}},
- {restart_type,permanent},
- {shutdown,25000},
- {child_type,worker}]
- 17:13:10.261 [error] Supervisor signup_helper_sup had child signup_helper_watcher started with signup:start() at <0.746.0> exit with reason {timeout,{gen_server,call,[<0.152.0>,{execute,"\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",[]},30000]}} in context child_terminated
- =ERROR REPORT==== 28-Jan-2020::17:13:11.051988 ===
- ** Generic server <0.661.0> terminating
- ** Last message in was {tcp_error,#Port<0.45>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.45>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,<0.660.0>,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =ERROR REPORT==== 28-Jan-2020::17:13:11.052071 ===
- ** Generic server upd_srv terminating
- ** Last message in was {continue,db_conn}
- ** When Server state == {state,undefined,"test.morecargo.ru",5432,"postgres",
- "cargo-postgres-very-strong-password","cargo",
- undefined,#{}}
- ** Reason for termination ==
- ** {{badmatch,{error,{sock_error,etimedout}}},
- [{upd_srv,handle_continue,2,
- [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/upd_srv.erl"},
- {line,97}]},
- {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},
- {gen_server,loop,7,[{file,"gen_server.erl"},{line,388}]},
- {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}
- =CRASH REPORT==== 28-Jan-2020::17:13:11.058941 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.661.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [upd_srv,upd_sup,<0.657.0>]
- message_queue_len: 0
- messages: []
- links: [<0.660.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 1598
- stack_size: 27
- reductions: 5755
- neighbours:
- neighbour:
- pid: <0.660.0>
- registered_name: upd_srv
- initial call: upd_srv:init/1
- current_function: {erts_internal,await_result,1}
- ancestors: [upd_sup,<0.657.0>]
- message_queue_len: 2
- links: [<0.659.0>,<0.661.0>]
- trap_exit: false
- status: running
- heap_size: 2586
- stack_size: 28
- reductions: 6766
- current_stacktrace: [{erts_internal,await_result,1,[]},
- {proc_lib,proc_info,2,[{file,"proc_lib.erl"},{line,736}]},
- {proc_lib,get_process_info,2,
- [{file,"proc_lib.erl"},{line,708}]},
- {proc_lib,make_neighbour_report,1,
- [{file,"proc_lib.erl"},{line,644}]},
- {proc_lib,make_neighbour_reports1,1,
- [{file,"proc_lib.erl"},{line,615}]},
- {proc_lib,crash_report,4,[{file,"proc_lib.erl"},{line,510}]},
- {proc_lib,exit_p,3,[{file,"proc_lib.erl"},{line,269}]}]
- =SUPERVISOR REPORT==== 28-Jan-2020::17:13:11.063985 ===
- supervisor: {local,upd_sup}
- errorContext: child_terminated
- reason: {sock_error,etimedout}
- offender: [{pid,<0.660.0>},
- {id,upd_srv},
- {mfargs,{upd_srv,start_link,[]}},
- {restart_type,permanent},
- {shutdown,2000},
- {child_type,worker}]
- 17:13:11.052 [error] gen_server <0.661.0> terminated with reason: {sock_error,etimedout}
- 17:13:11.052 [error] gen_server upd_srv terminated with reason: no match of right hand value {error,{sock_error,etimedout}} in upd_srv:handle_continue/2 line 97
- 17:13:11.059 [error] CRASH REPORT Process <0.661.0> with 1 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:13:11.059 [error] CRASH REPORT Process upd_srv with 1 neighbours crashed with reason: no match of right hand value {error,{sock_error,etimedout}} in upd_srv:handle_continue/2 line 97
- 17:13:11.064 [error] Supervisor upd_sup had child upd_srv started with upd_srv:start_link() at <0.660.0> exit with reason {sock_error,etimedout} in context child_terminated
- 17:13:17.982 [error] Error in controller exit:{timeout,{gen_server,call,
- [<0.151.0>,
- {execute,"\n SELECT value, type\n FROM settings\n WHERE name = $1\n ORDER BY date DESC\n LIMIT 1\n ;",
- [<<"trucker_app_android">>]},
- 30000]}} Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,223}]},{boss_pool,call,3,[{file,"src/boss_pool.erl"},{line,12}]},{common,settings_read,1,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},{line,1106}]},{cargo_main_controller,user_settings,4,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/controller/cargo_main_controller.erl"},{line,116}]},{boss_web_controller,call_controller_action,3,[{file,"src/boss/boss_web_controller.erl"},{line,307}]},{boss_web_controller,apply_action,4,[{file,"src/boss/boss_web_controller.erl"},{line,299}]},{boss_web_controller,execute_action_inner,9,[{file,"src/boss/boss_web_controller.erl"},{line,278}]},{boss_web_controller_handle_request,process_dynamic_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,257}]}]
- 17:13:17.987 [error] "Error in controller, see console.log for details\n"
- 17:13:17.996 [error] GET /api/user_settings [cargo] 500 30087ms
- =ERROR REPORT==== 28-Jan-2020::17:13:21.381223 ===
- ** Generic server <0.153.0> terminating
- ** Last message in was {tcp_error,#Port<0.13>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.13>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,undefined,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =ERROR REPORT==== 28-Jan-2020::17:13:21.381721 ===
- ** Generic server <0.156.0> terminating
- ** Last message in was {tcp_error,#Port<0.10>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.10>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,undefined,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =ERROR REPORT==== 28-Jan-2020::17:13:21.381930 ===
- ** Generic server <0.154.0> terminating
- ** Last message in was {tcp_error,#Port<0.12>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.12>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,undefined,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =ERROR REPORT==== 28-Jan-2020::17:13:21.381963 ===
- ** Generic server <0.155.0> terminating
- ** Last message in was {tcp_error,#Port<0.11>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.11>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,undefined,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =ERROR REPORT==== 28-Jan-2020::17:13:21.381955 ===
- ** Generic server <0.157.0> terminating
- ** Last message in was {tcp_error,#Port<0.9>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.9>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,undefined,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =CRASH REPORT==== 28-Jan-2020::17:13:21.381730 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.153.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [<0.148.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
- boss_sup,<0.142.0>]
- message_queue_len: 0
- messages: []
- links: [<0.148.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 2586
- stack_size: 27
- reductions: 5822
- neighbours:
- =CRASH REPORT==== 28-Jan-2020::17:13:21.382229 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.154.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [<0.149.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
- boss_sup,<0.142.0>]
- message_queue_len: 0
- messages: []
- links: [<0.149.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 2586
- stack_size: 27
- reductions: 5822
- neighbours:
- =CRASH REPORT==== 28-Jan-2020::17:13:21.382267 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.155.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [<0.150.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
- boss_sup,<0.142.0>]
- message_queue_len: 0
- messages: []
- links: [<0.150.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 2586
- stack_size: 27
- reductions: 5822
- neighbours:
- =CRASH REPORT==== 28-Jan-2020::17:13:21.382267 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.157.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [<0.152.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
- boss_sup,<0.142.0>]
- message_queue_len: 0
- messages: []
- links: [<0.152.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 2586
- stack_size: 27
- reductions: 5819
- neighbours:
- =CRASH REPORT==== 28-Jan-2020::17:13:21.382499 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.156.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [<0.151.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
- boss_sup,<0.142.0>]
- message_queue_len: 0
- messages: []
- links: [<0.151.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 2586
- stack_size: 27
- reductions: 5822
- neighbours:
- =SUPERVISOR REPORT==== 28-Jan-2020::17:13:21.382824 ===
- supervisor: {local,signup_helper_sup}
- errorContext: child_terminated
- reason: {function_clause,
- [{common,convert_execute_result,
- [db_connection_down],
- [{file,
- "/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},
- {line,521}]},
- {signup,actualize_todolist,0,
- [{file,
- "/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
- {line,748}]},
- {signup,loop,0,
- [{file,
- "/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
- {line,725}]}]}
- offender: [{pid,<0.824.0>},
- {id,signup_helper_watcher},
- {mfargs,{signup,start,[]}},
- {restart_type,permanent},
- {shutdown,25000},
- {child_type,worker}]
- =ERROR REPORT==== 28-Jan-2020::17:13:21.382532 ===
- Error in process <0.824.0> on node 'cracozaurus@127.0.0.1' with exit value:
- {function_clause,[{common,convert_execute_result,
- [db_connection_down],
- [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},
- {line,521}]},
- {signup,actualize_todolist,0,
- [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
- {line,748}]},
- {signup,loop,0,
- [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
- {line,725}]}]}
- 17:13:21.381 [error] gen_server <0.153.0> terminated with reason: {sock_error,etimedout}
- 17:13:21.382 [error] CRASH REPORT Process <0.153.0> with 0 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:13:21.382 [error] gen_server <0.156.0> terminated with reason: {sock_error,etimedout}
- 17:13:21.382 [error] gen_server <0.154.0> terminated with reason: {sock_error,etimedout}
- 17:13:21.382 [info] auth_lib:do_login ::user -> db_connection_down
- 17:13:21.382 [error] gen_server <0.157.0> terminated with reason: {sock_error,etimedout}
- 17:13:21.382 [error] gen_server <0.155.0> terminated with reason: {sock_error,etimedout}
- 17:13:21.382 [error] CRASH REPORT Process <0.154.0> with 0 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:13:21.382 [error] CRASH REPORT Process <0.157.0> with 0 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:13:21.382 [error] CRASH REPORT Process <0.155.0> with 0 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:13:21.383 [error] CRASH REPORT Process <0.156.0> with 0 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:13:21.383 [error] Supervisor signup_helper_sup had child signup_helper_watcher started with signup:start() at <0.824.0> exit with reason no function clause matching common:convert_execute_result(db_connection_down) line 521 in context child_terminated
- 17:13:21.383 [error] Error in process <0.824.0> on node 'cracozaurus@127.0.0.1' with exit value:
- {function_clause,[{common,convert_execute_result,[db_connection_down],[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},{line,521}]},{signup,actualize_todolist,0,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},{line,748}]},{signup,loop,0,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},{line,725}]}]}
- 17:13:21.383 [error] Error in controller error:{badmatch,db_connection_down} Stacktrace: [{auth_lib,do_login,6,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/auth_lib.erl"},{line,420}]},{auth_lib,do_AAA,6,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/auth_lib.erl"},{line,302}]},{boss_web_controller,call_controller_action,3,[{file,"src/boss/boss_web_controller.erl"},{line,307}]},{boss_web_controller,apply_action,4,[{file,"src/boss/boss_web_controller.erl"},{line,299}]},{boss_web_controller,execute_action_inner,9,[{file,"src/boss/boss_web_controller.erl"},{line,278}]},{boss_web_controller_handle_request,process_dynamic_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,257}]},{boss_web_controller_handle_request,process_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,244}]},{timer,tc,3,[{file,"timer.erl"},{line,197}]}]
- 17:13:21.385 [error] "Error in controller, see console.log for details\n"
- 17:13:21.386 [error] POST /account/login [cargo] 500 22220ms
- =SUPERVISOR REPORT==== 28-Jan-2020::17:13:52.385245 ===
- supervisor: {local,signup_helper_sup}
- errorContext: child_terminated
- reason: {timeout,
- {gen_server,call,
- [<0.150.0>,
- {execute,
- "\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",
- []},
- 30000]}}
- offender: [{pid,<0.853.0>},
- {id,signup_helper_watcher},
- {mfargs,{signup,start,[]}},
- {restart_type,permanent},
- {shutdown,25000},
- {child_type,worker}]
- 17:13:52.386 [error] Supervisor signup_helper_sup had child signup_helper_watcher started with signup:start() at <0.853.0> exit with reason {timeout,{gen_server,call,[<0.150.0>,{execute,"\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",[]},30000]}} in context child_terminated
- info handle timeout
- handle timeout 3
- ExpireWindow 1580220780
- Records []
- =SUPERVISOR REPORT==== 28-Jan-2020::17:14:23.388182 ===
- supervisor: {local,signup_helper_sup}
- errorContext: child_terminated
- reason: {timeout,
- {gen_server,call,
- [<0.150.0>,
- {execute,
- "\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",
- []},
- 30000]}}
- offender: [{pid,<0.934.0>},
- {id,signup_helper_watcher},
- {mfargs,{signup,start,[]}},
- {restart_type,permanent},
- {shutdown,25000},
- {child_type,worker}]
- 17:14:23.388 [error] Supervisor signup_helper_sup had child signup_helper_watcher started with signup:start() at <0.934.0> exit with reason {timeout,{gen_server,call,[<0.150.0>,{execute,"\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",[]},30000]}} in context child_terminated
- =ERROR REPORT==== 28-Jan-2020::17:14:25.015355 ===
- ** Generic server <0.827.0> terminating
- ** Last message in was {tcp_error,#Port<0.51>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.51>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,<0.826.0>,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =ERROR REPORT==== 28-Jan-2020::17:14:25.015670 ===
- ** Generic server upd_srv terminating
- ** Last message in was {continue,db_conn}
- ** When Server state == {state,undefined,"test.morecargo.ru",5432,"postgres",
- "cargo-postgres-very-strong-password","cargo",
- undefined,#{}}
- ** Reason for termination ==
- ** {{badmatch,{error,{sock_error,etimedout}}},
- [{upd_srv,handle_continue,2,
- [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/upd_srv.erl"},
- {line,97}]},
- {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},
- {gen_server,loop,7,[{file,"gen_server.erl"},{line,388}]},
- {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}
- =CRASH REPORT==== 28-Jan-2020::17:14:25.016623 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.827.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [upd_srv,upd_sup,<0.657.0>]
- message_queue_len: 0
- messages: []
- links: [<0.826.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 1598
- stack_size: 27
- reductions: 5713
- neighbours:
- neighbour:
- pid: <0.826.0>
- registered_name: upd_srv
- initial call: upd_srv:init/1
- current_function: {erts_internal,await_result,1}
- ancestors: [upd_sup,<0.657.0>]
- message_queue_len: 1
- links: [<0.659.0>,<0.827.0>]
- trap_exit: false
- status: running
- heap_size: 2586
- stack_size: 28
- reductions: 6694
- current_stacktrace: [{proc_lib,proc_info,2,[{file,"proc_lib.erl"},{line,735}]},
- {proc_lib,get_process_info,2,
- [{file,"proc_lib.erl"},{line,708}]},
- {proc_lib,make_neighbour_report,1,
- [{file,"proc_lib.erl"},{line,643}]},
- {proc_lib,make_neighbour_reports1,1,
- [{file,"proc_lib.erl"},{line,615}]},
- {proc_lib,crash_report,4,[{file,"proc_lib.erl"},{line,510}]},
- {proc_lib,exit_p,3,[{file,"proc_lib.erl"},{line,269}]}]
- =SUPERVISOR REPORT==== 28-Jan-2020::17:14:25.017778 ===
- supervisor: {local,upd_sup}
- errorContext: child_terminated
- reason: {sock_error,etimedout}
- offender: [{pid,<0.826.0>},
- {id,upd_srv},
- {mfargs,{upd_srv,start_link,[]}},
- {restart_type,permanent},
- {shutdown,2000},
- {child_type,worker}]
- 17:14:25.015 [error] gen_server <0.827.0> terminated with reason: {sock_error,etimedout}
- 17:14:25.016 [error] gen_server upd_srv terminated with reason: no match of right hand value {error,{sock_error,etimedout}} in upd_srv:handle_continue/2 line 97
- 17:14:25.016 [error] CRASH REPORT Process <0.827.0> with 1 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:14:25.017 [error] CRASH REPORT Process upd_srv with 1 neighbours crashed with reason: no match of right hand value {error,{sock_error,etimedout}} in upd_srv:handle_continue/2 line 97
- 17:14:25.018 [error] Supervisor upd_sup had child upd_srv started with upd_srv:start_link() at <0.826.0> exit with reason {sock_error,etimedout} in context child_terminated
- =ERROR REPORT==== 28-Jan-2020::17:14:38.614069 ===
- ** Generic server <0.860.0> terminating
- ** Last message in was {tcp_error,#Port<0.55>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.55>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,undefined,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =ERROR REPORT==== 28-Jan-2020::17:14:38.614500 ===
- ** Generic server <0.861.0> terminating
- ** Last message in was {tcp_error,#Port<0.53>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.53>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,undefined,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =CRASH REPORT==== 28-Jan-2020::17:14:38.614749 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.861.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [<0.149.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
- boss_sup,<0.142.0>]
- message_queue_len: 0
- messages: []
- links: [<0.149.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 1598
- stack_size: 27
- reductions: 5743
- neighbours:
- =ERROR REPORT==== 28-Jan-2020::17:14:38.614925 ===
- ** Generic server <0.859.0> terminating
- ** Last message in was {tcp_error,#Port<0.54>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.54>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,undefined,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =ERROR REPORT==== 28-Jan-2020::17:14:38.614700 ===
- ** Generic server <0.858.0> terminating
- ** Last message in was {tcp_error,#Port<0.56>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.56>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,undefined,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =CRASH REPORT==== 28-Jan-2020::17:14:38.614503 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.860.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [<0.152.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
- boss_sup,<0.142.0>]
- message_queue_len: 0
- messages: []
- links: [<0.152.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 1598
- stack_size: 27
- reductions: 5743
- neighbours:
- =CRASH REPORT==== 28-Jan-2020::17:14:38.615147 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.859.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [<0.150.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
- boss_sup,<0.142.0>]
- message_queue_len: 0
- messages: []
- links: [<0.150.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 1598
- stack_size: 27
- reductions: 5742
- neighbours:
- =CRASH REPORT==== 28-Jan-2020::17:14:38.615245 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.858.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [<0.151.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
- boss_sup,<0.142.0>]
- message_queue_len: 0
- messages: []
- links: [<0.151.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 1598
- stack_size: 27
- reductions: 5743
- neighbours:
- =ERROR REPORT==== 28-Jan-2020::17:14:38.615346 ===
- Error in process <0.1007.0> on node 'cracozaurus@127.0.0.1' with exit value:
- {function_clause,[{common,convert_execute_result,
- [db_connection_down],
- [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},
- {line,521}]},
- {signup,actualize_todolist,0,
- [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
- {line,748}]},
- {signup,loop,0,
- [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
- {line,725}]}]}
- =SUPERVISOR REPORT==== 28-Jan-2020::17:14:38.615405 ===
- supervisor: {local,signup_helper_sup}
- errorContext: child_terminated
- reason: {function_clause,
- [{common,convert_execute_result,
- [db_connection_down],
- [{file,
- "/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},
- {line,521}]},
- {signup,actualize_todolist,0,
- [{file,
- "/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
- {line,748}]},
- {signup,loop,0,
- [{file,
- "/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
- {line,725}]}]}
- offender: [{pid,<0.1007.0>},
- {id,signup_helper_watcher},
- {mfargs,{signup,start,[]}},
- {restart_type,permanent},
- {shutdown,25000},
- {child_type,worker}]
- 17:14:38.614 [error] gen_server <0.860.0> terminated with reason: {sock_error,etimedout}
- 17:14:38.615 [error] CRASH REPORT Process <0.860.0> with 0 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:14:38.615 [error] gen_server <0.861.0> terminated with reason: {sock_error,etimedout}
- 17:14:38.615 [error] gen_server <0.858.0> terminated with reason: {sock_error,etimedout}
- 17:14:38.615 [error] CRASH REPORT Process <0.861.0> with 0 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:14:38.615 [error] gen_server <0.859.0> terminated with reason: {sock_error,etimedout}
- 17:14:38.615 [error] CRASH REPORT Process <0.859.0> with 0 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:14:38.615 [error] CRASH REPORT Process <0.858.0> with 0 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- 17:14:38.615 [error] Supervisor signup_helper_sup had child signup_helper_watcher started with signup:start() at <0.1007.0> exit with reason no function clause matching common:convert_execute_result(db_connection_down) line 521 in context child_terminated
- 17:14:38.615 [error] Error in process <0.1007.0> on node 'cracozaurus@127.0.0.1' with exit value:
- {function_clause,[{common,convert_execute_result,[db_connection_down],[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},{line,521}]},{signup,actualize_todolist,0,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},{line,748}]},{signup,loop,0,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},{line,725}]}]}
- =ERROR REPORT==== 28-Jan-2020::17:14:40.174876 ===
- ** Generic server <0.852.0> terminating
- ** Last message in was {tcp_error,#Port<0.52>,etimedout}
- ** When Server state == {state,gen_tcp,#Port<0.52>,<<>>,undefined,on_message,
- undefined,
- {[],[]},
- undefined,undefined,undefined,undefined,[],[],
- [],undefined,undefined,undefined,undefined}
- ** Reason for termination ==
- ** {sock_error,etimedout}
- =CRASH REPORT==== 28-Jan-2020::17:14:40.175194 ===
- crasher:
- initial call: epgsql_sock:init/1
- pid: <0.852.0>
- registered_name: []
- exception exit: {sock_error,etimedout}
- in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
- ancestors: [<0.148.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
- boss_sup,<0.142.0>]
- message_queue_len: 0
- messages: []
- links: [<0.148.0>]
- dictionary: []
- trap_exit: false
- status: running
- heap_size: 1598
- stack_size: 27
- reductions: 5743
- neighbours:
- 17:14:40.175 [error] gen_server <0.852.0> terminated with reason: {sock_error,etimedout}
- 17:14:40.175 [error] CRASH REPORT Process <0.852.0> with 0 neighbours exited with reason: {sock_error,etimedout} in gen_server:handle_common_reply/8 line 751
- info handle timeout
- handle timeout 3
- ExpireWindow 1580220840
- Records []
- =SUPERVISOR REPORT==== 28-Jan-2020::17:15:09.617206 ===
- supervisor: {local,signup_helper_sup}
- errorContext: child_terminated
- reason: {timeout,
- {gen_server,call,
- [<0.150.0>,
- {execute,
- "\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",
- []},
- 30000]}}
- offender: [{pid,<0.1046.0>},
- {id,signup_helper_watcher},
- {mfargs,{signup,start,[]}},
- {restart_type,permanent},
- {shutdown,25000},
- {child_type,worker}]
- 17:15:09.617 [error] Supervisor signup_helper_sup had child signup_helper_watcher started with signup:start() at <0.1046.0> exit with reason {timeout,{gen_server,call,[<0.150.0>,{execute,"\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",[]},30000]}} in context child_terminated
- BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
- (v)ersion (k)ill (D)b-tables (d)istribution
- ^CMacBook-Pro-2:cargo ramankovalitskiy$
- MacBook-Pro-2:cargo ramankovalitskiy$
- MacBook-Pro-2:cargo ramankovalitskiy$
- MacBook-Pro-2:cargo ramankovalitskiy$ clear
- MacBook-Pro-2:cargo ramankovalitskiy$ ./rebar get-deps && ./rebar compile && ./init-dev.sh
- WARN: Missing plugins: [rebar3_hex]
- ==> stacktrace_compat (get-deps)
- ==> simple_bridge (get-deps)
- ==> goldrush (get-deps)
- ==> lager (get-deps)
- ==> pmod_transform (get-deps)
- ==> erlando (get-deps)
- ==> aleppo (get-deps)
- ==> medici (get-deps)
- ==> jsx (get-deps)
- ==> ibrowse (get-deps)
- ==> ddb (get-deps)
- ==> epgsql (get-deps)
- ==> erlmc (get-deps)
- ==> mysql (get-deps)
- ==> poolboy (get-deps)
- ==> uuid (get-deps)
- ==> redo (get-deps)
- ==> ets_cache (get-deps)
- ==> proper (get-deps)
- ==> dh_date (get-deps)
- ==> tiny_pq (get-deps)
- ==> boss_test (get-deps)
- ==> boss_db (get-deps)
- ==> tinymq (get-deps)
- ==> erlydtl (get-deps)
- ==> dynamic_compile (get-deps)
- ==> jaderl (get-deps)
- ==> gen_smtp (get-deps)
- ==> iso8601 (get-deps)
- ==> mimetypes (get-deps)
- ==> mochiweb (get-deps)
- ==> cowlib (get-deps)
- ==> ranch (get-deps)
- ==> cowboy (get-deps)
- ==> boss (get-deps)
- ==> jsone (get-deps)
- ==> l (get-deps)
- ==> chronium (get-deps)
- ==> chronos (get-deps)
- ==> emqttc (get-deps)
- ==> eredis (get-deps)
- ==> gun (get-deps)
- ==> deepprops (get-deps)
- ==> cf (get-deps)
- ==> erlware_commons (get-deps)
- ==> qdate_localtime (get-deps)
- ==> qdate (get-deps)
- ==> mochiweb_xpath (get-deps)
- ==> watcher (get-deps)
- ==> liver (get-deps)
- ==> gm (get-deps)
- ==> recon (get-deps)
- ==> ehttpd (get-deps)
- ==> lilu (get-deps)
- ==> ejp (get-deps)
- ==> meck (get-deps)
- ==> gproc (get-deps)
- ==> erldbf (get-deps)
- ==> sync (get-deps)
- ==> unicode_util_compat (get-deps)
- ==> idna (get-deps)
- ==> mimerl (get-deps)
- ==> parse_trans (get-deps)
- ==> certifi (get-deps)
- ==> metrics (get-deps)
- ==> ssl_verify_fun (get-deps)
- ==> hackney (get-deps)
- ==> cargo (get-deps)
- WARN: Missing plugins: [rebar3_hex]
- ==> stacktrace_compat (pre_compile)
- ==> stacktrace_compat (compile)
- ==> simple_bridge (pre_compile)
- ==> simple_bridge (compile)
- Generating crypto compatibility for simple_bridge...
- ...Using: "crypto:hash(sha, Data)"
- ...no changes needed to "include/crypto_compat.hrl". Skipping writing new file
- ==> goldrush (pre_compile)
- ==> goldrush (compile)
- ==> lager (pre_compile)
- ==> lager (compile)
- ==> pmod_transform (pre_compile)
- ==> pmod_transform (compile)
- ==> erlando (pre_compile)
- ==> erlando (compile)
- ==> aleppo (pre_compile)
- ==> aleppo (compile)
- ==> medici (pre_compile)
- ==> medici (compile)
- ==> jsx (pre_compile)
- ==> jsx (compile)
- ==> ibrowse (pre_compile)
- ==> ibrowse (compile)
- ==> ddb (pre_compile)
- ==> ddb (compile)
- ==> epgsql (pre_compile)
- ==> epgsql (compile)
- ==> erlmc (pre_compile)
- ==> erlmc (compile)
- ==> mysql (pre_compile)
- ==> mysql (compile)
- ==> poolboy (pre_compile)
- ==> poolboy (compile)
- ==> uuid (pre_compile)
- ==> uuid (compile)
- ==> redo (pre_compile)
- ==> redo (compile)
- ==> ets_cache (pre_compile)
- ==> ets_cache (compile)
- ==> proper (pre_compile)
- ==> proper (compile)
- ==> dh_date (pre_compile)
- ==> dh_date (compile)
- ==> tiny_pq (pre_compile)
- ==> tiny_pq (compile)
- ==> boss_test (pre_compile)
- ==> boss_test (compile)
- ==> boss_db (pre_compile)
- ==> boss_db (compile)
- ==> tinymq (pre_compile)
- ==> tinymq (compile)
- ==> erlydtl (pre_compile)
- ==> erlydtl (compile)
- ==> dynamic_compile (pre_compile)
- ==> dynamic_compile (compile)
- ==> jaderl (pre_compile)
- ==> jaderl (compile)
- ==> gen_smtp (pre_compile)
- ==> gen_smtp (compile)
- ==> iso8601 (pre_compile)
- ==> iso8601 (compile)
- ==> mimetypes (pre_compile)
- ==> mimetypes (compile)
- ==> mochiweb (pre_compile)
- ==> mochiweb (compile)
- ==> cowlib (pre_compile)
- ==> cowlib (compile)
- ==> ranch (pre_compile)
- ==> ranch (compile)
- ==> cowboy (pre_compile)
- ==> cowboy (compile)
- ==> boss (pre_compile)
- ==> boss (compile)
- ==> jsone (pre_compile)
- ==> jsone (compile)
- ==> l (pre_compile)
- ==> l (compile)
- ==> chronium (pre_compile)
- ==> chronium (compile)
- ==> chronos (pre_compile)
- ==> chronos (compile)
- ==> emqttc (pre_compile)
- ==> emqttc (compile)
- ==> eredis (pre_compile)
- ==> eredis (compile)
- ==> gun (pre_compile)
- ==> gun (compile)
- ==> deepprops (pre_compile)
- ==> deepprops (compile)
- ==> cf (pre_compile)
- ==> cf (compile)
- ==> erlware_commons (pre_compile)
- ==> erlware_commons (compile)
- ==> qdate_localtime (pre_compile)
- ==> qdate_localtime (compile)
- ==> qdate (pre_compile)
- ==> qdate (compile)
- ==> mochiweb_xpath (pre_compile)
- ==> mochiweb_xpath (compile)
- ==> watcher (pre_compile)
- ==> watcher (compile)
- ==> liver (pre_compile)
- ==> liver (compile)
- ==> gm (pre_compile)
- ==> gm (compile)
- ==> recon (pre_compile)
- ==> recon (compile)
- ==> ehttpd (pre_compile)
- ==> ehttpd (compile)
- ==> lilu (pre_compile)
- ==> lilu (compile)
- ==> ejp (pre_compile)
- ==> ejp (compile)
- ==> meck (pre_compile)
- ==> meck (compile)
- ==> gproc (pre_compile)
- ==> gproc (compile)
- ==> erldbf (pre_compile)
- ==> erldbf (compile)
- ==> sync (pre_compile)
- ==> sync (compile)
- ==> unicode_util_compat (pre_compile)
- ==> unicode_util_compat (compile)
- ==> idna (pre_compile)
- ==> idna (compile)
- ==> mimerl (pre_compile)
- ==> mimerl (compile)
- ==> parse_trans (pre_compile)
- ==> parse_trans (compile)
- ==> certifi (pre_compile)
- ==> certifi (compile)
- ==> metrics (pre_compile)
- ==> metrics (compile)
- ==> ssl_verify_fun (pre_compile)
- ==> ssl_verify_fun (compile)
- ==> hackney (pre_compile)
- ==> hackney (compile)
- ==> cargo (pre_compile)
- ./init.sh: line 16: WARN:: command not found
- Erlang/OTP 21 [erts-10.3.5.6] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]
- Eshell V10.3.5.6 (abort with ^G)
- (cracozaurus@127.0.0.1)1> 17:15:59.925 [info] Starting Boss in development mode...
- 17:15:59.933 [info] Start Database Adapter boss_db_adapter_pgsql options [{adapter,pgsql},{cache_enable,false},{cache_prefix,db},{shards,[]},{is_master_node,true},{db_database,"cargo"},{db_password,"cargo-postgres-very-strong-password"},{db_username,"postgres"},{db_host,"test.morecargo.ru"},{db_port,5432}]
- Starting Cowboy Server on {127,0,0,1}:8001
- Using Cowboy Dispatch Table:
- [{'_',[],
- [{[<<"static">>,'...'],
- [],cowboy_static,
- {priv_dir,cargo,"static",[{mimetypes,cow_mimetypes,all}]}},
- {'_',[],cowboy_simple_bridge_anchor,[]}]}]
- Starting distributed session mnesia storagestart gc
- gc pid <0.384.0>
- 17:16:00.156 [info] Cargo server started on node 'cracozaurus@127.0.0.1'
- 17:16:00.159 [info] cargo_srv: create tables
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- START -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!17:16:00.856 [info] upload app starting~n
- 17:16:00.864 [info] upload app starting 0 ...~n
- 17:16:00.864 [info] upload app starting 1 ...~n
- 17:16:00.864 [info] upload server port 9999
- 17:16:00.865 [info] upload app starting 2 ...~n
- 17:16:00.948 [info] Chat dispatcher started on node 'cracozaurus@127.0.0.1'
- 17:16:00.954 [info] cargo_srv MQTT connect login <<"common-cracozaurus@127.0.0.1-b5e900a0-41d8-11ea-b1ec-acde48001122">>
- 17:16:00.954 [info] cargo_srv MQTT connect pass <<"b5e520e8-41d8-11ea-a645-acde48001122">>
- 17:16:00.962 [info] Bonus event dispatcher started on node 'cracozaurus@127.0.0.1'
- 17:16:00.967 [info] Notification event dispatcher started on node 'cracozaurus@127.0.0.1'
- 17:16:00.972 [info] cargo_srv MQTT connect pid <0.573.0>
- 17:16:00.976 [info] Signup helper event dispatcher started on node 'cracozaurus@127.0.0.1'
- {"src/mail/view/base.html","base_tpl",{ok,base_tpl}}
- {"src/mail/view/cargo_email_layout.html","cargo_email_layout_tpl",
- {ok,cargo_email_layout_tpl}}
- {"src/mail/view/cargo_email_layout_feedback.html",
- "cargo_email_layout_feedback_tpl",
- {ok,cargo_email_layout_feedback_tpl}}
- {"src/mail/view/generic_email.html","generic_email_tpl",
- {ok,generic_email_tpl}}
- {"src/mail/view/new_admin_user_signup_notification.html",
- "new_admin_user_signup_notification_tpl",
- {ok,new_admin_user_signup_notification_tpl}}
- {"src/mail/view/trucker_attach_notification.html",
- "trucker_attach_notification_tpl",
- {ok,trucker_attach_notification_tpl}}
- Starting Sync (Automatic Code Compiler / Reloader)
- Scanning source files...
- 17:16:01.029 [info] Event_srv started on node 'cracozaurus@127.0.0.1'
- 17:16:01.029 [info] M: event_sup
- L: 22
- Mess:<<"Init">>
- 17:16:01.033 [info] psql starting
- psql.erl psql starting
- 17:16:01.051 [info] psql starting
- psql.erl psql starting 01
- 17:16:01.051 [info] psql.erl psql starting 01~n
- psql.erl psql almost started
- 17:16:01.051 [info] psql almost started
- 17:16:01.056 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:01.403 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:01.472 [info] mqtt Connect <0.573.0>
- 17:16:01.472 [info] cargo_srv unknown message {mqttc,<0.573.0>,connected}
- 17:16:01.741 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:02.058 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:02.381 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:02.728 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:03.076 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:03.397 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:03.753 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:04.108 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:04.427 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:04.765 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:05.109 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:05.459 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:05.822 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:06.139 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:06.481 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:06.863 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:07.238 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:07.564 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
- 17:16:07.861 [info] psql Res ok
- psql Res ok
- ** LiLu has started **
- ** LiLu starting viever: "ct" **
- 17:16:07.911 [info] Modulbank mock manager started on node 'cracozaurus@127.0.0.1'
- ** LiLu starting viever: "console" **
- ** LiLu starting viever: "error" **
- 17:16:08.059 [notice] Compile file "/Users/ramankovalitskiy/Projects/cargo/priv/init/cargo_01_news.erl" with options [{include_dirs,["/Users/ramankovalitskiy/Projects/cargo/include"]}]
- 17:16:10.334 [info] cargo_account_controller _________________"login" 'POST' []
- 17:16:10.341 [info] cargo_account_controller:login *Logging in...
- 17:16:10.341 [info] UserType "users"
- 17:16:10.341 [info] cargo_account_controller:login ::login -> " 7 (916) 813-25-77"
- 17:16:10.341 [info] cargo_account_controller:login ::password -> "qwerty"
- 17:16:10.341 [info] cargo_account_controller:login ::cookie -> <<>>
- 17:16:10.349 [info] common_check:valid_email ::trim -> 7(916)813-25-77
- 17:16:10.349 [info] common_check:valid_email ::email -> 7(916)813-25-77 is invalid!
- 17:16:10.349 [info] common_check:valid_phone ::len -> 12
- 17:16:10.349 [info] auth_lib:login ::validemail -> false, ::validphone -> true
- 17:16:10.349 [info] Cookie []
- 17:16:10.349 [info] ValidCookie undefined
- 17:16:10.349 [info] CookieData []
- 17:16:10.349 [info] UserType users
- 17:16:10.349 [info] Login <<" 7 (916) 813-25-77">>
- 17:16:10.349 [info] Format phone <<"+79168132577">>
- 17:16:10.349 [info] Type login phone
- 17:16:10.349 [info] TypeLogin phone
- 17:16:10.349 [info] LoginFin <<" 7 (916) 813-25-77">>
- =SUPERVISOR REPORT==== 28-Jan-2020::17:16:31.985953 ===
- supervisor: {local,signup_helper_sup}
- errorContext: child_terminated
- reason: {timeout,
- {gen_server,call,
- [<0.152.0>,
- {execute,
- "\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",
- []},
- 30000]}}
- offender: [{pid,<0.578.0>},
- {id,signup_helper_watcher},
- {mfargs,{signup,start,[]}},
- {restart_type,permanent},
- {shutdown,25000},
- {child_type,worker}]
- 17:16:31.986 [error] Supervisor signup_helper_sup had child signup_helper_watcher started with signup:start() at <0.578.0> exit with reason {timeout,{gen_server,call,[<0.152.0>,{execute,"\n\t\tselect parent_id as agent, type as category\n\t\tfrom users\n\t\tjoin agents on parent_id = agents.id\n\t\twhere users.phase = 'active'\n\t\tgroup by parent_id, type;\n\t",[]},30000]}} in context child_terminated
- 17:16:40.359 [error] Error in controller exit:{timeout,{gen_server,call,
- [<0.151.0>,
- {find,users,
- [{phone,equals,<<"+79168132577">>},
- {deleted,equals,false}],
- all,0,id,ascending,[]},
- 30000]}} Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,223}]},{boss_pool,call,3,[{file,"src/boss_pool.erl"},{line,12}]},{auth_lib,do_login,6,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/auth_lib.erl"},{line,404}]},{auth_lib,do_AAA,6,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/auth_lib.erl"},{line,302}]},{boss_web_controller,call_controller_action,3,[{file,"src/boss/boss_web_controller.erl"},{line,307}]},{boss_web_controller,apply_action,4,[{file,"src/boss/boss_web_controller.erl"},{line,299}]},{boss_web_controller,execute_action_inner,9,[{file,"src/boss/boss_web_controller.erl"},{line,278}]},{boss_web_controller_handle_request,process_dynamic_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,257}]}]
- 17:16:40.364 [error] "Error in controller, see console.log for details\n"
- 17:16:40.369 [error] POST /account/login [cargo] 500 30091ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement