Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 19.40 KB | None | 0 0
  1. 17:12:14.910 [info] psql Res ok
  2. psql Res ok
  3.  ** LiLu has started **
  4.  ** LiLu starting viever: "ct" **
  5. 17:12:14.967 [info] Modulbank mock manager started on node 'cracozaurus@127.0.0.1'
  6.  ** LiLu starting viever: "console" **
  7.  ** LiLu starting viever: "error" **
  8. 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"]}]
  9. =SUPERVISOR REPORT==== 28-Jan-2020::17:12:39.258163 ===
  10.     supervisor: {local,signup_helper_sup}
  11.     errorContext: child_terminated
  12.     reason: {timeout,
  13.                 {gen_server,call,
  14.                     [<0.152.0>,
  15.                      {execute,
  16.                          "\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",
  17.                          []},
  18.                      30000]}}
  19.     offender: [{pid,<0.578.0>},
  20.                {id,signup_helper_watcher},
  21.                {mfargs,{signup,start,[]}},
  22.                {restart_type,permanent},
  23.                {shutdown,25000},
  24.                {child_type,worker}]
  25. 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
  26. 17:12:47.974 [info] cargo_main_controller:main before_ _________________A:"user_settings" B:'GET' C:[]
  27. 17:12:59.223 [info] cargo_account_controller _________________"login" 'POST' []
  28. 17:12:59.223 [info] cargo_account_controller:login *Logging in...
  29. 17:12:59.223 [info] UserType "users"
  30. 17:12:59.223 [info] cargo_account_controller:login ::login -> " 7 (916) 813-25-77"
  31. 17:12:59.223 [info] cargo_account_controller:login ::password -> "qwerty"
  32. 17:12:59.223 [info] cargo_account_controller:login ::cookie -> <<>>
  33. 17:12:59.231 [info] common_check:valid_email ::trim -> 7(916)813-25-77
  34. 17:12:59.231 [info] common_check:valid_email ::email -> 7(916)813-25-77 is invalid!
  35. 17:12:59.231 [info] common_check:valid_phone ::len -> 12
  36. 17:12:59.231 [info] auth_lib:login ::validemail -> false, ::validphone -> true
  37. 17:12:59.231 [info] Cookie []
  38. 17:12:59.231 [info] ValidCookie undefined
  39. 17:12:59.231 [info] CookieData []
  40. 17:12:59.231 [info] UserType users
  41. 17:12:59.231 [info] Login <<" 7 (916) 813-25-77">>
  42. 17:12:59.231 [info] Format phone <<"+79168132577">>
  43. 17:12:59.231 [info] Type login phone
  44. 17:12:59.231 [info] TypeLogin phone
  45. 17:12:59.231 [info] LoginFin <<" 7 (916) 813-25-77">>
  46. info handle timeout
  47. handle timeout 3  
  48. ExpireWindow 1580220720
  49. Records []
  50. =SUPERVISOR REPORT==== 28-Jan-2020::17:13:10.260252 ===
  51.     supervisor: {local,signup_helper_sup}
  52.     errorContext: child_terminated
  53.     reason: {timeout,
  54.                 {gen_server,call,
  55.                     [<0.152.0>,
  56.                      {execute,
  57.                          "\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",
  58.                          []},
  59.                      30000]}}
  60.     offender: [{pid,<0.746.0>},
  61.                {id,signup_helper_watcher},
  62.                {mfargs,{signup,start,[]}},
  63.                {restart_type,permanent},
  64.                {shutdown,25000},
  65.                {child_type,worker}]
  66. 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
  67. =ERROR REPORT==== 28-Jan-2020::17:13:11.051988 ===
  68. ** Generic server <0.661.0> terminating
  69. ** Last message in was {tcp_error,#Port<0.45>,etimedout}
  70. ** When Server state == {state,gen_tcp,#Port<0.45>,<<>>,undefined,on_message,
  71.                                undefined,
  72.                                {[],[]},
  73.                                undefined,undefined,undefined,<0.660.0>,[],[],
  74.                                [],undefined,undefined,undefined,undefined}
  75. ** Reason for termination ==
  76. ** {sock_error,etimedout}
  77.  
  78. =ERROR REPORT==== 28-Jan-2020::17:13:11.052071 ===
  79. ** Generic server upd_srv terminating
  80. ** Last message in was {continue,db_conn}
  81. ** When Server state == {state,undefined,"test.morecargo.ru",5432,"postgres",
  82.                                "cargo-postgres-very-strong-password","cargo",
  83.                                undefined,#{}}
  84. ** Reason for termination ==
  85. ** {{badmatch,{error,{sock_error,etimedout}}},
  86.     [{upd_srv,handle_continue,2,
  87.               [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/upd_srv.erl"},
  88.                {line,97}]},
  89.      {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},
  90.      {gen_server,loop,7,[{file,"gen_server.erl"},{line,388}]},
  91.      {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}
  92.  
  93. =CRASH REPORT==== 28-Jan-2020::17:13:11.058941 ===
  94.   crasher:
  95.     initial call: epgsql_sock:init/1
  96.     pid: <0.661.0>
  97.     registered_name: []
  98.     exception exit: {sock_error,etimedout}
  99.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  100.     ancestors: [upd_srv,upd_sup,<0.657.0>]
  101.     message_queue_len: 0
  102.     messages: []
  103.     links: [<0.660.0>]
  104.     dictionary: []
  105.     trap_exit: false
  106.     status: running
  107.     heap_size: 1598
  108.     stack_size: 27
  109.     reductions: 5755
  110.   neighbours:
  111.     neighbour:
  112.       pid: <0.660.0>
  113.       registered_name: upd_srv
  114.       initial call: upd_srv:init/1
  115.       current_function: {erts_internal,await_result,1}
  116.       ancestors: [upd_sup,<0.657.0>]
  117.       message_queue_len: 2
  118.       links: [<0.659.0>,<0.661.0>]
  119.       trap_exit: false
  120.       status: running
  121.       heap_size: 2586
  122.       stack_size: 28
  123.       reductions: 6766
  124.       current_stacktrace: [{erts_internal,await_result,1,[]},
  125.                   {proc_lib,proc_info,2,[{file,"proc_lib.erl"},{line,736}]},
  126.                   {proc_lib,get_process_info,2,
  127.                             [{file,"proc_lib.erl"},{line,708}]},
  128.                   {proc_lib,make_neighbour_report,1,
  129.                             [{file,"proc_lib.erl"},{line,644}]},
  130.                   {proc_lib,make_neighbour_reports1,1,
  131.                             [{file,"proc_lib.erl"},{line,615}]},
  132.                   {proc_lib,crash_report,4,[{file,"proc_lib.erl"},{line,510}]},
  133.                   {proc_lib,exit_p,3,[{file,"proc_lib.erl"},{line,269}]}]
  134. =SUPERVISOR REPORT==== 28-Jan-2020::17:13:11.063985 ===
  135.     supervisor: {local,upd_sup}
  136.     errorContext: child_terminated
  137.     reason: {sock_error,etimedout}
  138.     offender: [{pid,<0.660.0>},
  139.                {id,upd_srv},
  140.                {mfargs,{upd_srv,start_link,[]}},
  141.                {restart_type,permanent},
  142.                {shutdown,2000},
  143.                {child_type,worker}]
  144. 17:13:11.052 [error] gen_server <0.661.0> terminated with reason: {sock_error,etimedout}
  145. 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
  146. 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
  147. 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
  148. 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
  149. 17:13:17.982 [error] Error in controller exit:{timeout,{gen_server,call,
  150.                           [<0.151.0>,
  151.                            {execute,"\n        SELECT value, type\n        FROM settings\n        WHERE name = $1\n        ORDER BY date DESC\n        LIMIT 1\n    ;",
  152.                                     [<<"trucker_app_android">>]},
  153.                            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}]}]
  154. 17:13:17.987 [error] "Error in controller, see console.log for details\n"
  155. 17:13:17.996 [error] GET /api/user_settings [cargo] 500 30087ms
  156. =ERROR REPORT==== 28-Jan-2020::17:13:21.381223 ===
  157. ** Generic server <0.153.0> terminating
  158. ** Last message in was {tcp_error,#Port<0.13>,etimedout}
  159. ** When Server state == {state,gen_tcp,#Port<0.13>,<<>>,undefined,on_message,
  160.                                undefined,
  161.                                {[],[]},
  162.                                undefined,undefined,undefined,undefined,[],[],
  163.                                [],undefined,undefined,undefined,undefined}
  164. ** Reason for termination ==
  165. ** {sock_error,etimedout}
  166.  
  167. =ERROR REPORT==== 28-Jan-2020::17:13:21.381721 ===
  168. ** Generic server <0.156.0> terminating
  169. ** Last message in was {tcp_error,#Port<0.10>,etimedout}
  170. ** When Server state == {state,gen_tcp,#Port<0.10>,<<>>,undefined,on_message,
  171.                                undefined,
  172.                                {[],[]},
  173.                                undefined,undefined,undefined,undefined,[],[],
  174.                                [],undefined,undefined,undefined,undefined}
  175. ** Reason for termination ==
  176. ** {sock_error,etimedout}
  177.  
  178. =ERROR REPORT==== 28-Jan-2020::17:13:21.381930 ===
  179. ** Generic server <0.154.0> terminating
  180. ** Last message in was {tcp_error,#Port<0.12>,etimedout}
  181. ** When Server state == {state,gen_tcp,#Port<0.12>,<<>>,undefined,on_message,
  182.                                undefined,
  183.                                {[],[]},
  184.                                undefined,undefined,undefined,undefined,[],[],
  185.                                [],undefined,undefined,undefined,undefined}
  186. ** Reason for termination ==
  187. ** {sock_error,etimedout}
  188.  
  189. =ERROR REPORT==== 28-Jan-2020::17:13:21.381963 ===
  190. ** Generic server <0.155.0> terminating
  191. ** Last message in was {tcp_error,#Port<0.11>,etimedout}
  192. ** When Server state == {state,gen_tcp,#Port<0.11>,<<>>,undefined,on_message,
  193.                                undefined,
  194.                                {[],[]},
  195.                                undefined,undefined,undefined,undefined,[],[],
  196.                                [],undefined,undefined,undefined,undefined}
  197. ** Reason for termination ==
  198. ** {sock_error,etimedout}
  199.  
  200. =ERROR REPORT==== 28-Jan-2020::17:13:21.381955 ===
  201. ** Generic server <0.157.0> terminating
  202. ** Last message in was {tcp_error,#Port<0.9>,etimedout}
  203. ** When Server state == {state,gen_tcp,#Port<0.9>,<<>>,undefined,on_message,
  204.                                undefined,
  205.                                {[],[]},
  206.                                undefined,undefined,undefined,undefined,[],[],
  207.                                [],undefined,undefined,undefined,undefined}
  208. ** Reason for termination ==
  209. ** {sock_error,etimedout}
  210.  
  211. =CRASH REPORT==== 28-Jan-2020::17:13:21.381730 ===
  212.   crasher:
  213.     initial call: epgsql_sock:init/1
  214.     pid: <0.153.0>
  215.     registered_name: []
  216.     exception exit: {sock_error,etimedout}
  217.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  218.     ancestors: [<0.148.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  219.                   boss_sup,<0.142.0>]
  220.     message_queue_len: 0
  221.     messages: []
  222.     links: [<0.148.0>]
  223.     dictionary: []
  224.     trap_exit: false
  225.     status: running
  226.     heap_size: 2586
  227.     stack_size: 27
  228.     reductions: 5822
  229.   neighbours:
  230.  
  231. =CRASH REPORT==== 28-Jan-2020::17:13:21.382229 ===
  232.   crasher:
  233.     initial call: epgsql_sock:init/1
  234.     pid: <0.154.0>
  235.     registered_name: []
  236.     exception exit: {sock_error,etimedout}
  237.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  238.     ancestors: [<0.149.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  239.                   boss_sup,<0.142.0>]
  240.     message_queue_len: 0
  241.     messages: []
  242.     links: [<0.149.0>]
  243.     dictionary: []
  244.     trap_exit: false
  245.     status: running
  246.     heap_size: 2586
  247.     stack_size: 27
  248.     reductions: 5822
  249.   neighbours:
  250.  
  251. =CRASH REPORT==== 28-Jan-2020::17:13:21.382267 ===
  252.   crasher:
  253.     initial call: epgsql_sock:init/1
  254.     pid: <0.155.0>
  255.     registered_name: []
  256.     exception exit: {sock_error,etimedout}
  257.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  258.     ancestors: [<0.150.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  259.                   boss_sup,<0.142.0>]
  260.     message_queue_len: 0
  261.     messages: []
  262.     links: [<0.150.0>]
  263.     dictionary: []
  264.     trap_exit: false
  265.     status: running
  266.     heap_size: 2586
  267.     stack_size: 27
  268.     reductions: 5822
  269.   neighbours:
  270.  
  271. =CRASH REPORT==== 28-Jan-2020::17:13:21.382267 ===
  272.   crasher:
  273.     initial call: epgsql_sock:init/1
  274.     pid: <0.157.0>
  275.     registered_name: []
  276.     exception exit: {sock_error,etimedout}
  277.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  278.     ancestors: [<0.152.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  279.                   boss_sup,<0.142.0>]
  280.     message_queue_len: 0
  281.     messages: []
  282.     links: [<0.152.0>]
  283.     dictionary: []
  284.     trap_exit: false
  285.     status: running
  286.     heap_size: 2586
  287.     stack_size: 27
  288.     reductions: 5819
  289.   neighbours:
  290.  
  291. =CRASH REPORT==== 28-Jan-2020::17:13:21.382499 ===
  292.   crasher:
  293.     initial call: epgsql_sock:init/1
  294.     pid: <0.156.0>
  295.     registered_name: []
  296.     exception exit: {sock_error,etimedout}
  297.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  298.     ancestors: [<0.151.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  299.                   boss_sup,<0.142.0>]
  300.     message_queue_len: 0
  301.     messages: []
  302.     links: [<0.151.0>]
  303.     dictionary: []
  304.     trap_exit: false
  305.     status: running
  306.     heap_size: 2586
  307.     stack_size: 27
  308.     reductions: 5822
  309.   neighbours:
  310.  
  311. =SUPERVISOR REPORT==== 28-Jan-2020::17:13:21.382824 ===
  312.     supervisor: {local,signup_helper_sup}
  313.     errorContext: child_terminated
  314.     reason: {function_clause,
  315.                 [{common,convert_execute_result,
  316.                      [db_connection_down],
  317.                      [{file,
  318.                           "/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},
  319.                       {line,521}]},
  320.                  {signup,actualize_todolist,0,
  321.                      [{file,
  322.                           "/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  323.                       {line,748}]},
  324.                  {signup,loop,0,
  325.                      [{file,
  326.                           "/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  327.                       {line,725}]}]}
  328.     offender: [{pid,<0.824.0>},
  329.                {id,signup_helper_watcher},
  330.                {mfargs,{signup,start,[]}},
  331.                {restart_type,permanent},
  332.                {shutdown,25000},
  333.                {child_type,worker}]
  334. =ERROR REPORT==== 28-Jan-2020::17:13:21.382532 ===
  335. Error in process <0.824.0> on node 'cracozaurus@127.0.0.1' with exit value:
  336. {function_clause,[{common,convert_execute_result,
  337.                           [db_connection_down],
  338.                           [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},
  339.                            {line,521}]},
  340.                   {signup,actualize_todolist,0,
  341.                           [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  342.                            {line,748}]},
  343.                   {signup,loop,0,
  344.                           [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  345.                            {line,725}]}]}
  346.  
  347. 17:13:21.381 [error] gen_server <0.153.0> terminated with reason: {sock_error,etimedout}
  348. 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
  349. 17:13:21.382 [error] gen_server <0.156.0> terminated with reason: {sock_error,etimedout}
  350. 17:13:21.382 [error] gen_server <0.154.0> terminated with reason: {sock_error,etimedout}
  351. 17:13:21.382 [info] auth_lib:do_login ::user -> db_connection_down
  352. 17:13:21.382 [error] gen_server <0.157.0> terminated with reason: {sock_error,etimedout}
  353. 17:13:21.382 [error] gen_server <0.155.0> terminated with reason: {sock_error,etimedout}
  354. 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
  355. 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
  356. 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
  357. 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
  358. 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
  359. 17:13:21.383 [error] Error in process <0.824.0> on node 'cracozaurus@127.0.0.1' with exit value:
  360. {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}]}]}
  361. 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}]}]
  362. 17:13:21.385 [error] "Error in controller, see console.log for details\n"
  363. 17:13:21.386 [error] POST /account/login [cargo] 500 22220ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement