Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 61.71 KB | None | 0 0
  1. MacBook-Pro-2:cargo ramankovalitskiy$ ./rebar get-deps && ./rebar compile && ./init-dev.sh
  2. WARN:  Missing plugins: [rebar3_hex]
  3. ==> stacktrace_compat (get-deps)
  4. ==> simple_bridge (get-deps)
  5. ==> goldrush (get-deps)
  6. ==> lager (get-deps)
  7. ==> pmod_transform (get-deps)
  8. ==> erlando (get-deps)
  9. ==> aleppo (get-deps)
  10. ==> medici (get-deps)
  11. ==> jsx (get-deps)
  12. ==> ibrowse (get-deps)
  13. ==> ddb (get-deps)
  14. ==> epgsql (get-deps)
  15. ==> erlmc (get-deps)
  16. ==> mysql (get-deps)
  17. ==> poolboy (get-deps)
  18. ==> uuid (get-deps)
  19. ==> redo (get-deps)
  20. ==> ets_cache (get-deps)
  21. ==> proper (get-deps)
  22. ==> dh_date (get-deps)
  23. ==> tiny_pq (get-deps)
  24. ==> boss_test (get-deps)
  25. ==> boss_db (get-deps)
  26. ==> tinymq (get-deps)
  27. ==> erlydtl (get-deps)
  28. ==> dynamic_compile (get-deps)
  29. ==> jaderl (get-deps)
  30. ==> gen_smtp (get-deps)
  31. ==> iso8601 (get-deps)
  32. ==> mimetypes (get-deps)
  33. ==> mochiweb (get-deps)
  34. ==> cowlib (get-deps)
  35. ==> ranch (get-deps)
  36. ==> cowboy (get-deps)
  37. ==> boss (get-deps)
  38. ==> jsone (get-deps)
  39. ==> l (get-deps)
  40. ==> chronium (get-deps)
  41. ==> chronos (get-deps)
  42. ==> emqttc (get-deps)
  43. ==> eredis (get-deps)
  44. ==> gun (get-deps)
  45. ==> deepprops (get-deps)
  46. ==> cf (get-deps)
  47. ==> erlware_commons (get-deps)
  48. ==> qdate_localtime (get-deps)
  49. ==> qdate (get-deps)
  50. ==> mochiweb_xpath (get-deps)
  51. ==> watcher (get-deps)
  52. ==> liver (get-deps)
  53. ==> gm (get-deps)
  54. ==> recon (get-deps)
  55. ==> ehttpd (get-deps)
  56. ==> lilu (get-deps)
  57. ==> ejp (get-deps)
  58. ==> meck (get-deps)
  59. ==> gproc (get-deps)
  60. ==> erldbf (get-deps)
  61. ==> sync (get-deps)
  62. ==> unicode_util_compat (get-deps)
  63. ==> idna (get-deps)
  64. ==> mimerl (get-deps)
  65. ==> parse_trans (get-deps)
  66. ==> certifi (get-deps)
  67. ==> metrics (get-deps)
  68. ==> ssl_verify_fun (get-deps)
  69. ==> hackney (get-deps)
  70. ==> cargo (get-deps)
  71. WARN:  Missing plugins: [rebar3_hex]
  72. ==> stacktrace_compat (pre_compile)
  73. ==> stacktrace_compat (compile)
  74. ==> simple_bridge (pre_compile)
  75. ==> simple_bridge (compile)
  76. Generating crypto compatibility for simple_bridge...
  77. ...Using: "crypto:hash(sha, Data)"
  78. ...no changes needed to "include/crypto_compat.hrl". Skipping writing new file
  79. ==> goldrush (pre_compile)
  80. ==> goldrush (compile)
  81. ==> lager (pre_compile)
  82. ==> lager (compile)
  83. ==> pmod_transform (pre_compile)
  84. ==> pmod_transform (compile)
  85. ==> erlando (pre_compile)
  86. ==> erlando (compile)
  87. ==> aleppo (pre_compile)
  88. ==> aleppo (compile)
  89. ==> medici (pre_compile)
  90. ==> medici (compile)
  91. ==> jsx (pre_compile)
  92. ==> jsx (compile)
  93. ==> ibrowse (pre_compile)
  94. ==> ibrowse (compile)
  95. ==> ddb (pre_compile)
  96. ==> ddb (compile)
  97. ==> epgsql (pre_compile)
  98. ==> epgsql (compile)
  99. ==> erlmc (pre_compile)
  100. ==> erlmc (compile)
  101. ==> mysql (pre_compile)
  102. ==> mysql (compile)
  103. ==> poolboy (pre_compile)
  104. ==> poolboy (compile)
  105. ==> uuid (pre_compile)
  106. ==> uuid (compile)
  107. ==> redo (pre_compile)
  108. ==> redo (compile)
  109. ==> ets_cache (pre_compile)
  110. ==> ets_cache (compile)
  111. ==> proper (pre_compile)
  112. ==> proper (compile)
  113. ==> dh_date (pre_compile)
  114. ==> dh_date (compile)
  115. ==> tiny_pq (pre_compile)
  116. ==> tiny_pq (compile)
  117. ==> boss_test (pre_compile)
  118. ==> boss_test (compile)
  119. ==> boss_db (pre_compile)
  120. ==> boss_db (compile)
  121. ==> tinymq (pre_compile)
  122. ==> tinymq (compile)
  123. ==> erlydtl (pre_compile)
  124. ==> erlydtl (compile)
  125. ==> dynamic_compile (pre_compile)
  126. ==> dynamic_compile (compile)
  127. ==> jaderl (pre_compile)
  128. ==> jaderl (compile)
  129. ==> gen_smtp (pre_compile)
  130. ==> gen_smtp (compile)
  131. ==> iso8601 (pre_compile)
  132. ==> iso8601 (compile)
  133. ==> mimetypes (pre_compile)
  134. ==> mimetypes (compile)
  135. ==> mochiweb (pre_compile)
  136. ==> mochiweb (compile)
  137. ==> cowlib (pre_compile)
  138. ==> cowlib (compile)
  139. ==> ranch (pre_compile)
  140. ==> ranch (compile)
  141. ==> cowboy (pre_compile)
  142. ==> cowboy (compile)
  143. ==> boss (pre_compile)
  144. ==> boss (compile)
  145. ==> jsone (pre_compile)
  146. ==> jsone (compile)
  147. ==> l (pre_compile)
  148. ==> l (compile)
  149. ==> chronium (pre_compile)
  150. ==> chronium (compile)
  151. ==> chronos (pre_compile)
  152. ==> chronos (compile)
  153. ==> emqttc (pre_compile)
  154. ==> emqttc (compile)
  155. ==> eredis (pre_compile)
  156. ==> eredis (compile)
  157. ==> gun (pre_compile)
  158. ==> gun (compile)
  159. ==> deepprops (pre_compile)
  160. ==> deepprops (compile)
  161. ==> cf (pre_compile)
  162. ==> cf (compile)
  163. ==> erlware_commons (pre_compile)
  164. ==> erlware_commons (compile)
  165. ==> qdate_localtime (pre_compile)
  166. ==> qdate_localtime (compile)
  167. ==> qdate (pre_compile)
  168. ==> qdate (compile)
  169. ==> mochiweb_xpath (pre_compile)
  170. ==> mochiweb_xpath (compile)
  171. ==> watcher (pre_compile)
  172. ==> watcher (compile)
  173. ==> liver (pre_compile)
  174. ==> liver (compile)
  175. ==> gm (pre_compile)
  176. ==> gm (compile)
  177. ==> recon (pre_compile)
  178. ==> recon (compile)
  179. ==> ehttpd (pre_compile)
  180. ==> ehttpd (compile)
  181. ==> lilu (pre_compile)
  182. ==> lilu (compile)
  183. ==> ejp (pre_compile)
  184. ==> ejp (compile)
  185. ==> meck (pre_compile)
  186. ==> meck (compile)
  187. ==> gproc (pre_compile)
  188. ==> gproc (compile)
  189. ==> erldbf (pre_compile)
  190. ==> erldbf (compile)
  191. ==> sync (pre_compile)
  192. ==> sync (compile)
  193. ==> unicode_util_compat (pre_compile)
  194. ==> unicode_util_compat (compile)
  195. ==> idna (pre_compile)
  196. ==> idna (compile)
  197. ==> mimerl (pre_compile)
  198. ==> mimerl (compile)
  199. ==> parse_trans (pre_compile)
  200. ==> parse_trans (compile)
  201. ==> certifi (pre_compile)
  202. ==> certifi (compile)
  203. ==> metrics (pre_compile)
  204. ==> metrics (compile)
  205. ==> ssl_verify_fun (pre_compile)
  206. ==> ssl_verify_fun (compile)
  207. ==> hackney (pre_compile)
  208. ==> hackney (compile)
  209. ==> cargo (pre_compile)
  210. ./init.sh: line 16: WARN:: command not found
  211. Erlang/OTP 21 [erts-10.3.5.6] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]
  212.  
  213. Eshell V10.3.5.6  (abort with ^G)
  214. (cracozaurus@127.0.0.1)1> 17:12:07.173 [info] Starting Boss in development mode...
  215. 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}]
  216. Starting Cowboy Server on {127,0,0,1}:8001
  217. Using Cowboy Dispatch Table:
  218.   [{'_',[],
  219.         [{[<<"static">>,'...'],
  220.           [],cowboy_static,
  221.           {priv_dir,cargo,"static",[{mimetypes,cow_mimetypes,all}]}},
  222.          {'_',[],cowboy_simple_bridge_anchor,[]}]}]
  223. Starting distributed session mnesia storagestart gc
  224. gc pid <0.384.0>
  225. 17:12:07.543 [info] Cargo server started on node 'cracozaurus@127.0.0.1'
  226. 17:12:07.547 [info] cargo_srv: create tables
  227. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- START -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!17:12:08.113 [info] upload app starting~n
  228. 17:12:08.118 [info] upload app starting 0 ...~n
  229. 17:12:08.118 [info] upload app starting 1 ...~n
  230. 17:12:08.118 [info] upload server port 9999
  231. 17:12:08.119 [info] upload app starting 2 ...~n
  232. 17:12:08.201 [info] cargo_srv MQTT connect login <<"common-cracozaurus@127.0.0.1-2b2dfb00-41d8-11ea-9936-acde48001122">>
  233. 17:12:08.201 [info] cargo_srv MQTT connect pass <<"2b2b010c-41d8-11ea-b6d3-acde48001122">>
  234. 17:12:08.216 [info] Chat dispatcher started on node 'cracozaurus@127.0.0.1'
  235. 17:12:08.224 [info] cargo_srv MQTT connect pid <0.521.0>
  236. 17:12:08.232 [info] Bonus event dispatcher started on node 'cracozaurus@127.0.0.1'
  237. 17:12:08.240 [info] Notification event dispatcher started on node 'cracozaurus@127.0.0.1'
  238. 17:12:08.248 [info] Signup helper event dispatcher started on node 'cracozaurus@127.0.0.1'
  239. {"src/mail/view/base.html","base_tpl",{ok,base_tpl}}
  240. {"src/mail/view/cargo_email_layout.html","cargo_email_layout_tpl",
  241.  {ok,cargo_email_layout_tpl}}
  242. {"src/mail/view/cargo_email_layout_feedback.html",
  243.  "cargo_email_layout_feedback_tpl",
  244.  {ok,cargo_email_layout_feedback_tpl}}
  245. {"src/mail/view/generic_email.html","generic_email_tpl",
  246.  {ok,generic_email_tpl}}
  247. {"src/mail/view/new_admin_user_signup_notification.html",
  248.  "new_admin_user_signup_notification_tpl",
  249.  {ok,new_admin_user_signup_notification_tpl}}
  250. {"src/mail/view/trucker_attach_notification.html",
  251.  "trucker_attach_notification_tpl",
  252.  {ok,trucker_attach_notification_tpl}}
  253. Starting Sync (Automatic Code Compiler / Reloader)
  254. Scanning source files...
  255. 17:12:08.322 [info] Event_srv started on node 'cracozaurus@127.0.0.1'
  256. 17:12:08.322 [info] M: event_sup
  257. L: 22
  258. Mess:<<"Init">>
  259. 17:12:08.327 [info] psql starting
  260. 17:12:08.344 [info] psql starting
  261. psql.erl psql starting
  262. psql.erl psql starting 01
  263. 17:12:08.344 [info] psql.erl psql starting 01~n
  264. 17:12:08.344 [info] psql almost started
  265. psql.erl psql almost started
  266. 17:12:08.351 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  267. 17:12:08.698 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  268. 17:12:08.725 [info] mqtt Connect <0.521.0>
  269. 17:12:08.725 [info] cargo_srv unknown message {mqttc,<0.521.0>,connected}
  270. 17:12:08.995 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  271. 17:12:09.304 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  272. 17:12:09.599 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  273. 17:12:09.887 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  274. 17:12:10.241 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  275. 17:12:10.567 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  276. 17:12:10.882 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  277. 17:12:11.271 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  278. 17:12:11.588 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  279. 17:12:11.928 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  280. 17:12:12.233 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  281. 17:12:12.521 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  282. 17:12:12.803 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  283. 17:12:13.121 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  284. 17:12:13.441 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  285. 17:12:14.028 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  286. 17:12:14.341 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  287. 17:12:14.622 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  288. 17:12:14.910 [info] psql Res ok
  289. psql Res ok
  290.  ** LiLu has started **
  291.  ** LiLu starting viever: "ct" **
  292. 17:12:14.967 [info] Modulbank mock manager started on node 'cracozaurus@127.0.0.1'
  293.  ** LiLu starting viever: "console" **
  294.  ** LiLu starting viever: "error" **
  295. 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"]}]
  296. =SUPERVISOR REPORT==== 28-Jan-2020::17:12:39.258163 ===
  297.     supervisor: {local,signup_helper_sup}
  298.     errorContext: child_terminated
  299.     reason: {timeout,
  300.                 {gen_server,call,
  301.                     [<0.152.0>,
  302.                      {execute,
  303.                          "\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",
  304.                          []},
  305.                      30000]}}
  306.     offender: [{pid,<0.578.0>},
  307.                {id,signup_helper_watcher},
  308.                {mfargs,{signup,start,[]}},
  309.                {restart_type,permanent},
  310.                {shutdown,25000},
  311.                {child_type,worker}]
  312. 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
  313. 17:12:47.974 [info] cargo_main_controller:main before_ _________________A:"user_settings" B:'GET' C:[]
  314. 17:12:59.223 [info] cargo_account_controller _________________"login" 'POST' []
  315. 17:12:59.223 [info] cargo_account_controller:login *Logging in...
  316. 17:12:59.223 [info] UserType "users"
  317. 17:12:59.223 [info] cargo_account_controller:login ::login -> " 7 (916) 813-25-77"
  318. 17:12:59.223 [info] cargo_account_controller:login ::password -> "qwerty"
  319. 17:12:59.223 [info] cargo_account_controller:login ::cookie -> <<>>
  320. 17:12:59.231 [info] common_check:valid_email ::trim -> 7(916)813-25-77
  321. 17:12:59.231 [info] common_check:valid_email ::email -> 7(916)813-25-77 is invalid!
  322. 17:12:59.231 [info] common_check:valid_phone ::len -> 12
  323. 17:12:59.231 [info] auth_lib:login ::validemail -> false, ::validphone -> true
  324. 17:12:59.231 [info] Cookie []
  325. 17:12:59.231 [info] ValidCookie undefined
  326. 17:12:59.231 [info] CookieData []
  327. 17:12:59.231 [info] UserType users
  328. 17:12:59.231 [info] Login <<" 7 (916) 813-25-77">>
  329. 17:12:59.231 [info] Format phone <<"+79168132577">>
  330. 17:12:59.231 [info] Type login phone
  331. 17:12:59.231 [info] TypeLogin phone
  332. 17:12:59.231 [info] LoginFin <<" 7 (916) 813-25-77">>
  333. info handle timeout
  334. handle timeout 3  
  335. ExpireWindow 1580220720
  336. Records []
  337. =SUPERVISOR REPORT==== 28-Jan-2020::17:13:10.260252 ===
  338.     supervisor: {local,signup_helper_sup}
  339.     errorContext: child_terminated
  340.     reason: {timeout,
  341.                 {gen_server,call,
  342.                     [<0.152.0>,
  343.                      {execute,
  344.                          "\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",
  345.                          []},
  346.                      30000]}}
  347.     offender: [{pid,<0.746.0>},
  348.                {id,signup_helper_watcher},
  349.                {mfargs,{signup,start,[]}},
  350.                {restart_type,permanent},
  351.                {shutdown,25000},
  352.                {child_type,worker}]
  353. 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
  354. =ERROR REPORT==== 28-Jan-2020::17:13:11.051988 ===
  355. ** Generic server <0.661.0> terminating
  356. ** Last message in was {tcp_error,#Port<0.45>,etimedout}
  357. ** When Server state == {state,gen_tcp,#Port<0.45>,<<>>,undefined,on_message,
  358.                                undefined,
  359.                                {[],[]},
  360.                                undefined,undefined,undefined,<0.660.0>,[],[],
  361.                                [],undefined,undefined,undefined,undefined}
  362. ** Reason for termination ==
  363. ** {sock_error,etimedout}
  364.  
  365. =ERROR REPORT==== 28-Jan-2020::17:13:11.052071 ===
  366. ** Generic server upd_srv terminating
  367. ** Last message in was {continue,db_conn}
  368. ** When Server state == {state,undefined,"test.morecargo.ru",5432,"postgres",
  369.                                "cargo-postgres-very-strong-password","cargo",
  370.                                undefined,#{}}
  371. ** Reason for termination ==
  372. ** {{badmatch,{error,{sock_error,etimedout}}},
  373.     [{upd_srv,handle_continue,2,
  374.               [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/upd_srv.erl"},
  375.                {line,97}]},
  376.      {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},
  377.      {gen_server,loop,7,[{file,"gen_server.erl"},{line,388}]},
  378.      {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}
  379.  
  380. =CRASH REPORT==== 28-Jan-2020::17:13:11.058941 ===
  381.   crasher:
  382.     initial call: epgsql_sock:init/1
  383.     pid: <0.661.0>
  384.     registered_name: []
  385.     exception exit: {sock_error,etimedout}
  386.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  387.     ancestors: [upd_srv,upd_sup,<0.657.0>]
  388.     message_queue_len: 0
  389.     messages: []
  390.     links: [<0.660.0>]
  391.     dictionary: []
  392.     trap_exit: false
  393.     status: running
  394.     heap_size: 1598
  395.     stack_size: 27
  396.     reductions: 5755
  397.   neighbours:
  398.     neighbour:
  399.       pid: <0.660.0>
  400.       registered_name: upd_srv
  401.       initial call: upd_srv:init/1
  402.       current_function: {erts_internal,await_result,1}
  403.       ancestors: [upd_sup,<0.657.0>]
  404.       message_queue_len: 2
  405.       links: [<0.659.0>,<0.661.0>]
  406.       trap_exit: false
  407.       status: running
  408.       heap_size: 2586
  409.       stack_size: 28
  410.       reductions: 6766
  411.       current_stacktrace: [{erts_internal,await_result,1,[]},
  412.                   {proc_lib,proc_info,2,[{file,"proc_lib.erl"},{line,736}]},
  413.                   {proc_lib,get_process_info,2,
  414.                             [{file,"proc_lib.erl"},{line,708}]},
  415.                   {proc_lib,make_neighbour_report,1,
  416.                             [{file,"proc_lib.erl"},{line,644}]},
  417.                   {proc_lib,make_neighbour_reports1,1,
  418.                             [{file,"proc_lib.erl"},{line,615}]},
  419.                   {proc_lib,crash_report,4,[{file,"proc_lib.erl"},{line,510}]},
  420.                   {proc_lib,exit_p,3,[{file,"proc_lib.erl"},{line,269}]}]
  421. =SUPERVISOR REPORT==== 28-Jan-2020::17:13:11.063985 ===
  422.     supervisor: {local,upd_sup}
  423.     errorContext: child_terminated
  424.     reason: {sock_error,etimedout}
  425.     offender: [{pid,<0.660.0>},
  426.                {id,upd_srv},
  427.                {mfargs,{upd_srv,start_link,[]}},
  428.                {restart_type,permanent},
  429.                {shutdown,2000},
  430.                {child_type,worker}]
  431. 17:13:11.052 [error] gen_server <0.661.0> terminated with reason: {sock_error,etimedout}
  432. 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
  433. 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
  434. 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
  435. 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
  436. 17:13:17.982 [error] Error in controller exit:{timeout,{gen_server,call,
  437.                           [<0.151.0>,
  438.                            {execute,"\n        SELECT value, type\n        FROM settings\n        WHERE name = $1\n        ORDER BY date DESC\n        LIMIT 1\n    ;",
  439.                                     [<<"trucker_app_android">>]},
  440.                            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}]}]
  441. 17:13:17.987 [error] "Error in controller, see console.log for details\n"
  442. 17:13:17.996 [error] GET /api/user_settings [cargo] 500 30087ms
  443. =ERROR REPORT==== 28-Jan-2020::17:13:21.381223 ===
  444. ** Generic server <0.153.0> terminating
  445. ** Last message in was {tcp_error,#Port<0.13>,etimedout}
  446. ** When Server state == {state,gen_tcp,#Port<0.13>,<<>>,undefined,on_message,
  447.                                undefined,
  448.                                {[],[]},
  449.                                undefined,undefined,undefined,undefined,[],[],
  450.                                [],undefined,undefined,undefined,undefined}
  451. ** Reason for termination ==
  452. ** {sock_error,etimedout}
  453.  
  454. =ERROR REPORT==== 28-Jan-2020::17:13:21.381721 ===
  455. ** Generic server <0.156.0> terminating
  456. ** Last message in was {tcp_error,#Port<0.10>,etimedout}
  457. ** When Server state == {state,gen_tcp,#Port<0.10>,<<>>,undefined,on_message,
  458.                                undefined,
  459.                                {[],[]},
  460.                                undefined,undefined,undefined,undefined,[],[],
  461.                                [],undefined,undefined,undefined,undefined}
  462. ** Reason for termination ==
  463. ** {sock_error,etimedout}
  464.  
  465. =ERROR REPORT==== 28-Jan-2020::17:13:21.381930 ===
  466. ** Generic server <0.154.0> terminating
  467. ** Last message in was {tcp_error,#Port<0.12>,etimedout}
  468. ** When Server state == {state,gen_tcp,#Port<0.12>,<<>>,undefined,on_message,
  469.                                undefined,
  470.                                {[],[]},
  471.                                undefined,undefined,undefined,undefined,[],[],
  472.                                [],undefined,undefined,undefined,undefined}
  473. ** Reason for termination ==
  474. ** {sock_error,etimedout}
  475.  
  476. =ERROR REPORT==== 28-Jan-2020::17:13:21.381963 ===
  477. ** Generic server <0.155.0> terminating
  478. ** Last message in was {tcp_error,#Port<0.11>,etimedout}
  479. ** When Server state == {state,gen_tcp,#Port<0.11>,<<>>,undefined,on_message,
  480.                                undefined,
  481.                                {[],[]},
  482.                                undefined,undefined,undefined,undefined,[],[],
  483.                                [],undefined,undefined,undefined,undefined}
  484. ** Reason for termination ==
  485. ** {sock_error,etimedout}
  486.  
  487. =ERROR REPORT==== 28-Jan-2020::17:13:21.381955 ===
  488. ** Generic server <0.157.0> terminating
  489. ** Last message in was {tcp_error,#Port<0.9>,etimedout}
  490. ** When Server state == {state,gen_tcp,#Port<0.9>,<<>>,undefined,on_message,
  491.                                undefined,
  492.                                {[],[]},
  493.                                undefined,undefined,undefined,undefined,[],[],
  494.                                [],undefined,undefined,undefined,undefined}
  495. ** Reason for termination ==
  496. ** {sock_error,etimedout}
  497.  
  498. =CRASH REPORT==== 28-Jan-2020::17:13:21.381730 ===
  499.   crasher:
  500.     initial call: epgsql_sock:init/1
  501.     pid: <0.153.0>
  502.     registered_name: []
  503.     exception exit: {sock_error,etimedout}
  504.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  505.     ancestors: [<0.148.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  506.                   boss_sup,<0.142.0>]
  507.     message_queue_len: 0
  508.     messages: []
  509.     links: [<0.148.0>]
  510.     dictionary: []
  511.     trap_exit: false
  512.     status: running
  513.     heap_size: 2586
  514.     stack_size: 27
  515.     reductions: 5822
  516.   neighbours:
  517.  
  518. =CRASH REPORT==== 28-Jan-2020::17:13:21.382229 ===
  519.   crasher:
  520.     initial call: epgsql_sock:init/1
  521.     pid: <0.154.0>
  522.     registered_name: []
  523.     exception exit: {sock_error,etimedout}
  524.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  525.     ancestors: [<0.149.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  526.                   boss_sup,<0.142.0>]
  527.     message_queue_len: 0
  528.     messages: []
  529.     links: [<0.149.0>]
  530.     dictionary: []
  531.     trap_exit: false
  532.     status: running
  533.     heap_size: 2586
  534.     stack_size: 27
  535.     reductions: 5822
  536.   neighbours:
  537.  
  538. =CRASH REPORT==== 28-Jan-2020::17:13:21.382267 ===
  539.   crasher:
  540.     initial call: epgsql_sock:init/1
  541.     pid: <0.155.0>
  542.     registered_name: []
  543.     exception exit: {sock_error,etimedout}
  544.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  545.     ancestors: [<0.150.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  546.                   boss_sup,<0.142.0>]
  547.     message_queue_len: 0
  548.     messages: []
  549.     links: [<0.150.0>]
  550.     dictionary: []
  551.     trap_exit: false
  552.     status: running
  553.     heap_size: 2586
  554.     stack_size: 27
  555.     reductions: 5822
  556.   neighbours:
  557.  
  558. =CRASH REPORT==== 28-Jan-2020::17:13:21.382267 ===
  559.   crasher:
  560.     initial call: epgsql_sock:init/1
  561.     pid: <0.157.0>
  562.     registered_name: []
  563.     exception exit: {sock_error,etimedout}
  564.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  565.     ancestors: [<0.152.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  566.                   boss_sup,<0.142.0>]
  567.     message_queue_len: 0
  568.     messages: []
  569.     links: [<0.152.0>]
  570.     dictionary: []
  571.     trap_exit: false
  572.     status: running
  573.     heap_size: 2586
  574.     stack_size: 27
  575.     reductions: 5819
  576.   neighbours:
  577.  
  578. =CRASH REPORT==== 28-Jan-2020::17:13:21.382499 ===
  579.   crasher:
  580.     initial call: epgsql_sock:init/1
  581.     pid: <0.156.0>
  582.     registered_name: []
  583.     exception exit: {sock_error,etimedout}
  584.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  585.     ancestors: [<0.151.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  586.                   boss_sup,<0.142.0>]
  587.     message_queue_len: 0
  588.     messages: []
  589.     links: [<0.151.0>]
  590.     dictionary: []
  591.     trap_exit: false
  592.     status: running
  593.     heap_size: 2586
  594.     stack_size: 27
  595.     reductions: 5822
  596.   neighbours:
  597.  
  598. =SUPERVISOR REPORT==== 28-Jan-2020::17:13:21.382824 ===
  599.     supervisor: {local,signup_helper_sup}
  600.     errorContext: child_terminated
  601.     reason: {function_clause,
  602.                 [{common,convert_execute_result,
  603.                      [db_connection_down],
  604.                      [{file,
  605.                           "/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},
  606.                       {line,521}]},
  607.                  {signup,actualize_todolist,0,
  608.                      [{file,
  609.                           "/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  610.                       {line,748}]},
  611.                  {signup,loop,0,
  612.                      [{file,
  613.                           "/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  614.                       {line,725}]}]}
  615.     offender: [{pid,<0.824.0>},
  616.                {id,signup_helper_watcher},
  617.                {mfargs,{signup,start,[]}},
  618.                {restart_type,permanent},
  619.                {shutdown,25000},
  620.                {child_type,worker}]
  621. =ERROR REPORT==== 28-Jan-2020::17:13:21.382532 ===
  622. Error in process <0.824.0> on node 'cracozaurus@127.0.0.1' with exit value:
  623. {function_clause,[{common,convert_execute_result,
  624.                           [db_connection_down],
  625.                           [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},
  626.                            {line,521}]},
  627.                   {signup,actualize_todolist,0,
  628.                           [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  629.                            {line,748}]},
  630.                   {signup,loop,0,
  631.                           [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  632.                            {line,725}]}]}
  633.  
  634. 17:13:21.381 [error] gen_server <0.153.0> terminated with reason: {sock_error,etimedout}
  635. 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
  636. 17:13:21.382 [error] gen_server <0.156.0> terminated with reason: {sock_error,etimedout}
  637. 17:13:21.382 [error] gen_server <0.154.0> terminated with reason: {sock_error,etimedout}
  638. 17:13:21.382 [info] auth_lib:do_login ::user -> db_connection_down
  639. 17:13:21.382 [error] gen_server <0.157.0> terminated with reason: {sock_error,etimedout}
  640. 17:13:21.382 [error] gen_server <0.155.0> terminated with reason: {sock_error,etimedout}
  641. 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
  642. 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
  643. 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
  644. 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
  645. 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
  646. 17:13:21.383 [error] Error in process <0.824.0> on node 'cracozaurus@127.0.0.1' with exit value:
  647. {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}]}]}
  648. 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}]}]
  649. 17:13:21.385 [error] "Error in controller, see console.log for details\n"
  650. 17:13:21.386 [error] POST /account/login [cargo] 500 22220ms
  651. =SUPERVISOR REPORT==== 28-Jan-2020::17:13:52.385245 ===
  652.     supervisor: {local,signup_helper_sup}
  653.     errorContext: child_terminated
  654.     reason: {timeout,
  655.                 {gen_server,call,
  656.                     [<0.150.0>,
  657.                      {execute,
  658.                          "\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",
  659.                          []},
  660.                      30000]}}
  661.     offender: [{pid,<0.853.0>},
  662.                {id,signup_helper_watcher},
  663.                {mfargs,{signup,start,[]}},
  664.                {restart_type,permanent},
  665.                {shutdown,25000},
  666.                {child_type,worker}]
  667. 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
  668. info handle timeout
  669. handle timeout 3  
  670. ExpireWindow 1580220780
  671. Records []
  672. =SUPERVISOR REPORT==== 28-Jan-2020::17:14:23.388182 ===
  673.     supervisor: {local,signup_helper_sup}
  674.     errorContext: child_terminated
  675.     reason: {timeout,
  676.                 {gen_server,call,
  677.                     [<0.150.0>,
  678.                      {execute,
  679.                          "\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",
  680.                          []},
  681.                      30000]}}
  682.     offender: [{pid,<0.934.0>},
  683.                {id,signup_helper_watcher},
  684.                {mfargs,{signup,start,[]}},
  685.                {restart_type,permanent},
  686.                {shutdown,25000},
  687.                {child_type,worker}]
  688. 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
  689. =ERROR REPORT==== 28-Jan-2020::17:14:25.015355 ===
  690. ** Generic server <0.827.0> terminating
  691. ** Last message in was {tcp_error,#Port<0.51>,etimedout}
  692. ** When Server state == {state,gen_tcp,#Port<0.51>,<<>>,undefined,on_message,
  693.                                undefined,
  694.                                {[],[]},
  695.                                undefined,undefined,undefined,<0.826.0>,[],[],
  696.                                [],undefined,undefined,undefined,undefined}
  697. ** Reason for termination ==
  698. ** {sock_error,etimedout}
  699.  
  700. =ERROR REPORT==== 28-Jan-2020::17:14:25.015670 ===
  701. ** Generic server upd_srv terminating
  702. ** Last message in was {continue,db_conn}
  703. ** When Server state == {state,undefined,"test.morecargo.ru",5432,"postgres",
  704.                                "cargo-postgres-very-strong-password","cargo",
  705.                                undefined,#{}}
  706. ** Reason for termination ==
  707. ** {{badmatch,{error,{sock_error,etimedout}}},
  708.     [{upd_srv,handle_continue,2,
  709.               [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/upd_srv.erl"},
  710.                {line,97}]},
  711.      {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},
  712.      {gen_server,loop,7,[{file,"gen_server.erl"},{line,388}]},
  713.      {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}
  714.  
  715. =CRASH REPORT==== 28-Jan-2020::17:14:25.016623 ===
  716.   crasher:
  717.     initial call: epgsql_sock:init/1
  718.     pid: <0.827.0>
  719.     registered_name: []
  720.     exception exit: {sock_error,etimedout}
  721.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  722.     ancestors: [upd_srv,upd_sup,<0.657.0>]
  723.     message_queue_len: 0
  724.     messages: []
  725.     links: [<0.826.0>]
  726.     dictionary: []
  727.     trap_exit: false
  728.     status: running
  729.     heap_size: 1598
  730.     stack_size: 27
  731.     reductions: 5713
  732.   neighbours:
  733.     neighbour:
  734.       pid: <0.826.0>
  735.       registered_name: upd_srv
  736.       initial call: upd_srv:init/1
  737.       current_function: {erts_internal,await_result,1}
  738.       ancestors: [upd_sup,<0.657.0>]
  739.       message_queue_len: 1
  740.       links: [<0.659.0>,<0.827.0>]
  741.       trap_exit: false
  742.       status: running
  743.       heap_size: 2586
  744.       stack_size: 28
  745.       reductions: 6694
  746.       current_stacktrace: [{proc_lib,proc_info,2,[{file,"proc_lib.erl"},{line,735}]},
  747.                   {proc_lib,get_process_info,2,
  748.                             [{file,"proc_lib.erl"},{line,708}]},
  749.                   {proc_lib,make_neighbour_report,1,
  750.                             [{file,"proc_lib.erl"},{line,643}]},
  751.                   {proc_lib,make_neighbour_reports1,1,
  752.                             [{file,"proc_lib.erl"},{line,615}]},
  753.                   {proc_lib,crash_report,4,[{file,"proc_lib.erl"},{line,510}]},
  754.                   {proc_lib,exit_p,3,[{file,"proc_lib.erl"},{line,269}]}]
  755. =SUPERVISOR REPORT==== 28-Jan-2020::17:14:25.017778 ===
  756.     supervisor: {local,upd_sup}
  757.     errorContext: child_terminated
  758.     reason: {sock_error,etimedout}
  759.     offender: [{pid,<0.826.0>},
  760.                {id,upd_srv},
  761.                {mfargs,{upd_srv,start_link,[]}},
  762.                {restart_type,permanent},
  763.                {shutdown,2000},
  764.                {child_type,worker}]
  765. 17:14:25.015 [error] gen_server <0.827.0> terminated with reason: {sock_error,etimedout}
  766. 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
  767. 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
  768. 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
  769. 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
  770. =ERROR REPORT==== 28-Jan-2020::17:14:38.614069 ===
  771. ** Generic server <0.860.0> terminating
  772. ** Last message in was {tcp_error,#Port<0.55>,etimedout}
  773. ** When Server state == {state,gen_tcp,#Port<0.55>,<<>>,undefined,on_message,
  774.                                undefined,
  775.                                {[],[]},
  776.                                undefined,undefined,undefined,undefined,[],[],
  777.                                [],undefined,undefined,undefined,undefined}
  778. ** Reason for termination ==
  779. ** {sock_error,etimedout}
  780.  
  781. =ERROR REPORT==== 28-Jan-2020::17:14:38.614500 ===
  782. ** Generic server <0.861.0> terminating
  783. ** Last message in was {tcp_error,#Port<0.53>,etimedout}
  784. ** When Server state == {state,gen_tcp,#Port<0.53>,<<>>,undefined,on_message,
  785.                                undefined,
  786.                                {[],[]},
  787.                                undefined,undefined,undefined,undefined,[],[],
  788.                                [],undefined,undefined,undefined,undefined}
  789. ** Reason for termination ==
  790. ** {sock_error,etimedout}
  791.  
  792. =CRASH REPORT==== 28-Jan-2020::17:14:38.614749 ===
  793.   crasher:
  794.     initial call: epgsql_sock:init/1
  795.     pid: <0.861.0>
  796.     registered_name: []
  797.     exception exit: {sock_error,etimedout}
  798.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  799.     ancestors: [<0.149.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  800.                   boss_sup,<0.142.0>]
  801.     message_queue_len: 0
  802.     messages: []
  803.     links: [<0.149.0>]
  804.     dictionary: []
  805.     trap_exit: false
  806.     status: running
  807.     heap_size: 1598
  808.     stack_size: 27
  809.     reductions: 5743
  810.   neighbours:
  811.  
  812. =ERROR REPORT==== 28-Jan-2020::17:14:38.614925 ===
  813. ** Generic server <0.859.0> terminating
  814. ** Last message in was {tcp_error,#Port<0.54>,etimedout}
  815. ** When Server state == {state,gen_tcp,#Port<0.54>,<<>>,undefined,on_message,
  816.                                undefined,
  817.                                {[],[]},
  818.                                undefined,undefined,undefined,undefined,[],[],
  819.                                [],undefined,undefined,undefined,undefined}
  820. ** Reason for termination ==
  821. ** {sock_error,etimedout}
  822.  
  823. =ERROR REPORT==== 28-Jan-2020::17:14:38.614700 ===
  824. ** Generic server <0.858.0> terminating
  825. ** Last message in was {tcp_error,#Port<0.56>,etimedout}
  826. ** When Server state == {state,gen_tcp,#Port<0.56>,<<>>,undefined,on_message,
  827.                                undefined,
  828.                                {[],[]},
  829.                                undefined,undefined,undefined,undefined,[],[],
  830.                                [],undefined,undefined,undefined,undefined}
  831. ** Reason for termination ==
  832. ** {sock_error,etimedout}
  833.  
  834. =CRASH REPORT==== 28-Jan-2020::17:14:38.614503 ===
  835.   crasher:
  836.     initial call: epgsql_sock:init/1
  837.     pid: <0.860.0>
  838.     registered_name: []
  839.     exception exit: {sock_error,etimedout}
  840.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  841.     ancestors: [<0.152.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  842.                   boss_sup,<0.142.0>]
  843.     message_queue_len: 0
  844.     messages: []
  845.     links: [<0.152.0>]
  846.     dictionary: []
  847.     trap_exit: false
  848.     status: running
  849.     heap_size: 1598
  850.     stack_size: 27
  851.     reductions: 5743
  852.   neighbours:
  853.  
  854. =CRASH REPORT==== 28-Jan-2020::17:14:38.615147 ===
  855.   crasher:
  856.     initial call: epgsql_sock:init/1
  857.     pid: <0.859.0>
  858.     registered_name: []
  859.     exception exit: {sock_error,etimedout}
  860.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  861.     ancestors: [<0.150.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  862.                   boss_sup,<0.142.0>]
  863.     message_queue_len: 0
  864.     messages: []
  865.     links: [<0.150.0>]
  866.     dictionary: []
  867.     trap_exit: false
  868.     status: running
  869.     heap_size: 1598
  870.     stack_size: 27
  871.     reductions: 5742
  872.   neighbours:
  873.  
  874. =CRASH REPORT==== 28-Jan-2020::17:14:38.615245 ===
  875.   crasher:
  876.     initial call: epgsql_sock:init/1
  877.     pid: <0.858.0>
  878.     registered_name: []
  879.     exception exit: {sock_error,etimedout}
  880.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  881.     ancestors: [<0.151.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  882.                   boss_sup,<0.142.0>]
  883.     message_queue_len: 0
  884.     messages: []
  885.     links: [<0.151.0>]
  886.     dictionary: []
  887.     trap_exit: false
  888.     status: running
  889.     heap_size: 1598
  890.     stack_size: 27
  891.     reductions: 5743
  892.   neighbours:
  893.  
  894. =ERROR REPORT==== 28-Jan-2020::17:14:38.615346 ===
  895. Error in process <0.1007.0> on node 'cracozaurus@127.0.0.1' with exit value:
  896. {function_clause,[{common,convert_execute_result,
  897.                           [db_connection_down],
  898.                           [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},
  899.                            {line,521}]},
  900.                   {signup,actualize_todolist,0,
  901.                           [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  902.                            {line,748}]},
  903.                   {signup,loop,0,
  904.                           [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  905.                            {line,725}]}]}
  906.  
  907. =SUPERVISOR REPORT==== 28-Jan-2020::17:14:38.615405 ===
  908.     supervisor: {local,signup_helper_sup}
  909.     errorContext: child_terminated
  910.     reason: {function_clause,
  911.                 [{common,convert_execute_result,
  912.                      [db_connection_down],
  913.                      [{file,
  914.                           "/Users/ramankovalitskiy/Projects/cargo/src/lib/common.erl"},
  915.                       {line,521}]},
  916.                  {signup,actualize_todolist,0,
  917.                      [{file,
  918.                           "/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  919.                       {line,748}]},
  920.                  {signup,loop,0,
  921.                      [{file,
  922.                           "/Users/ramankovalitskiy/Projects/cargo/src/lib/signup.erl"},
  923.                       {line,725}]}]}
  924.     offender: [{pid,<0.1007.0>},
  925.                {id,signup_helper_watcher},
  926.                {mfargs,{signup,start,[]}},
  927.                {restart_type,permanent},
  928.                {shutdown,25000},
  929.                {child_type,worker}]
  930. 17:14:38.614 [error] gen_server <0.860.0> terminated with reason: {sock_error,etimedout}
  931. 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
  932. 17:14:38.615 [error] gen_server <0.861.0> terminated with reason: {sock_error,etimedout}
  933. 17:14:38.615 [error] gen_server <0.858.0> terminated with reason: {sock_error,etimedout}
  934. 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
  935. 17:14:38.615 [error] gen_server <0.859.0> terminated with reason: {sock_error,etimedout}
  936. 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
  937. 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
  938. 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
  939. 17:14:38.615 [error] Error in process <0.1007.0> on node 'cracozaurus@127.0.0.1' with exit value:
  940. {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}]}]}
  941. =ERROR REPORT==== 28-Jan-2020::17:14:40.174876 ===
  942. ** Generic server <0.852.0> terminating
  943. ** Last message in was {tcp_error,#Port<0.52>,etimedout}
  944. ** When Server state == {state,gen_tcp,#Port<0.52>,<<>>,undefined,on_message,
  945.                                undefined,
  946.                                {[],[]},
  947.                                undefined,undefined,undefined,undefined,[],[],
  948.                                [],undefined,undefined,undefined,undefined}
  949. ** Reason for termination ==
  950. ** {sock_error,etimedout}
  951.  
  952. =CRASH REPORT==== 28-Jan-2020::17:14:40.175194 ===
  953.   crasher:
  954.     initial call: epgsql_sock:init/1
  955.     pid: <0.852.0>
  956.     registered_name: []
  957.     exception exit: {sock_error,etimedout}
  958.       in function  gen_server:handle_common_reply/8 (gen_server.erl, line 751)
  959.     ancestors: [<0.148.0>,<0.147.0>,boss_db_pool,boss_db_sup,boss_web,
  960.                   boss_sup,<0.142.0>]
  961.     message_queue_len: 0
  962.     messages: []
  963.     links: [<0.148.0>]
  964.     dictionary: []
  965.     trap_exit: false
  966.     status: running
  967.     heap_size: 1598
  968.     stack_size: 27
  969.     reductions: 5743
  970.   neighbours:
  971.  
  972. 17:14:40.175 [error] gen_server <0.852.0> terminated with reason: {sock_error,etimedout}
  973. 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
  974. info handle timeout
  975. handle timeout 3  
  976. ExpireWindow 1580220840
  977. Records []
  978. =SUPERVISOR REPORT==== 28-Jan-2020::17:15:09.617206 ===
  979.     supervisor: {local,signup_helper_sup}
  980.     errorContext: child_terminated
  981.     reason: {timeout,
  982.                 {gen_server,call,
  983.                     [<0.150.0>,
  984.                      {execute,
  985.                          "\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",
  986.                          []},
  987.                      30000]}}
  988.     offender: [{pid,<0.1046.0>},
  989.                {id,signup_helper_watcher},
  990.                {mfargs,{signup,start,[]}},
  991.                {restart_type,permanent},
  992.                {shutdown,25000},
  993.                {child_type,worker}]
  994. 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
  995.  
  996. BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
  997.        (v)ersion (k)ill (D)b-tables (d)istribution
  998. ^CMacBook-Pro-2:cargo ramankovalitskiy$
  999. MacBook-Pro-2:cargo ramankovalitskiy$
  1000. MacBook-Pro-2:cargo ramankovalitskiy$
  1001. MacBook-Pro-2:cargo ramankovalitskiy$ clear
  1002.  
  1003. MacBook-Pro-2:cargo ramankovalitskiy$ ./rebar get-deps && ./rebar compile && ./init-dev.sh
  1004. WARN:  Missing plugins: [rebar3_hex]
  1005. ==> stacktrace_compat (get-deps)
  1006. ==> simple_bridge (get-deps)
  1007. ==> goldrush (get-deps)
  1008. ==> lager (get-deps)
  1009. ==> pmod_transform (get-deps)
  1010. ==> erlando (get-deps)
  1011. ==> aleppo (get-deps)
  1012. ==> medici (get-deps)
  1013. ==> jsx (get-deps)
  1014. ==> ibrowse (get-deps)
  1015. ==> ddb (get-deps)
  1016. ==> epgsql (get-deps)
  1017. ==> erlmc (get-deps)
  1018. ==> mysql (get-deps)
  1019. ==> poolboy (get-deps)
  1020. ==> uuid (get-deps)
  1021. ==> redo (get-deps)
  1022. ==> ets_cache (get-deps)
  1023. ==> proper (get-deps)
  1024. ==> dh_date (get-deps)
  1025. ==> tiny_pq (get-deps)
  1026. ==> boss_test (get-deps)
  1027. ==> boss_db (get-deps)
  1028. ==> tinymq (get-deps)
  1029. ==> erlydtl (get-deps)
  1030. ==> dynamic_compile (get-deps)
  1031. ==> jaderl (get-deps)
  1032. ==> gen_smtp (get-deps)
  1033. ==> iso8601 (get-deps)
  1034. ==> mimetypes (get-deps)
  1035. ==> mochiweb (get-deps)
  1036. ==> cowlib (get-deps)
  1037. ==> ranch (get-deps)
  1038. ==> cowboy (get-deps)
  1039. ==> boss (get-deps)
  1040. ==> jsone (get-deps)
  1041. ==> l (get-deps)
  1042. ==> chronium (get-deps)
  1043. ==> chronos (get-deps)
  1044. ==> emqttc (get-deps)
  1045. ==> eredis (get-deps)
  1046. ==> gun (get-deps)
  1047. ==> deepprops (get-deps)
  1048. ==> cf (get-deps)
  1049. ==> erlware_commons (get-deps)
  1050. ==> qdate_localtime (get-deps)
  1051. ==> qdate (get-deps)
  1052. ==> mochiweb_xpath (get-deps)
  1053. ==> watcher (get-deps)
  1054. ==> liver (get-deps)
  1055. ==> gm (get-deps)
  1056. ==> recon (get-deps)
  1057. ==> ehttpd (get-deps)
  1058. ==> lilu (get-deps)
  1059. ==> ejp (get-deps)
  1060. ==> meck (get-deps)
  1061. ==> gproc (get-deps)
  1062. ==> erldbf (get-deps)
  1063. ==> sync (get-deps)
  1064. ==> unicode_util_compat (get-deps)
  1065. ==> idna (get-deps)
  1066. ==> mimerl (get-deps)
  1067. ==> parse_trans (get-deps)
  1068. ==> certifi (get-deps)
  1069. ==> metrics (get-deps)
  1070. ==> ssl_verify_fun (get-deps)
  1071. ==> hackney (get-deps)
  1072. ==> cargo (get-deps)
  1073. WARN:  Missing plugins: [rebar3_hex]
  1074. ==> stacktrace_compat (pre_compile)
  1075. ==> stacktrace_compat (compile)
  1076. ==> simple_bridge (pre_compile)
  1077. ==> simple_bridge (compile)
  1078. Generating crypto compatibility for simple_bridge...
  1079. ...Using: "crypto:hash(sha, Data)"
  1080. ...no changes needed to "include/crypto_compat.hrl". Skipping writing new file
  1081. ==> goldrush (pre_compile)
  1082. ==> goldrush (compile)
  1083. ==> lager (pre_compile)
  1084. ==> lager (compile)
  1085. ==> pmod_transform (pre_compile)
  1086. ==> pmod_transform (compile)
  1087. ==> erlando (pre_compile)
  1088. ==> erlando (compile)
  1089. ==> aleppo (pre_compile)
  1090. ==> aleppo (compile)
  1091. ==> medici (pre_compile)
  1092. ==> medici (compile)
  1093. ==> jsx (pre_compile)
  1094. ==> jsx (compile)
  1095. ==> ibrowse (pre_compile)
  1096. ==> ibrowse (compile)
  1097. ==> ddb (pre_compile)
  1098. ==> ddb (compile)
  1099. ==> epgsql (pre_compile)
  1100. ==> epgsql (compile)
  1101. ==> erlmc (pre_compile)
  1102. ==> erlmc (compile)
  1103. ==> mysql (pre_compile)
  1104. ==> mysql (compile)
  1105. ==> poolboy (pre_compile)
  1106. ==> poolboy (compile)
  1107. ==> uuid (pre_compile)
  1108. ==> uuid (compile)
  1109. ==> redo (pre_compile)
  1110. ==> redo (compile)
  1111. ==> ets_cache (pre_compile)
  1112. ==> ets_cache (compile)
  1113. ==> proper (pre_compile)
  1114. ==> proper (compile)
  1115. ==> dh_date (pre_compile)
  1116. ==> dh_date (compile)
  1117. ==> tiny_pq (pre_compile)
  1118. ==> tiny_pq (compile)
  1119. ==> boss_test (pre_compile)
  1120. ==> boss_test (compile)
  1121. ==> boss_db (pre_compile)
  1122. ==> boss_db (compile)
  1123. ==> tinymq (pre_compile)
  1124. ==> tinymq (compile)
  1125. ==> erlydtl (pre_compile)
  1126. ==> erlydtl (compile)
  1127. ==> dynamic_compile (pre_compile)
  1128. ==> dynamic_compile (compile)
  1129. ==> jaderl (pre_compile)
  1130. ==> jaderl (compile)
  1131. ==> gen_smtp (pre_compile)
  1132. ==> gen_smtp (compile)
  1133. ==> iso8601 (pre_compile)
  1134. ==> iso8601 (compile)
  1135. ==> mimetypes (pre_compile)
  1136. ==> mimetypes (compile)
  1137. ==> mochiweb (pre_compile)
  1138. ==> mochiweb (compile)
  1139. ==> cowlib (pre_compile)
  1140. ==> cowlib (compile)
  1141. ==> ranch (pre_compile)
  1142. ==> ranch (compile)
  1143. ==> cowboy (pre_compile)
  1144. ==> cowboy (compile)
  1145. ==> boss (pre_compile)
  1146. ==> boss (compile)
  1147. ==> jsone (pre_compile)
  1148. ==> jsone (compile)
  1149. ==> l (pre_compile)
  1150. ==> l (compile)
  1151. ==> chronium (pre_compile)
  1152. ==> chronium (compile)
  1153. ==> chronos (pre_compile)
  1154. ==> chronos (compile)
  1155. ==> emqttc (pre_compile)
  1156. ==> emqttc (compile)
  1157. ==> eredis (pre_compile)
  1158. ==> eredis (compile)
  1159. ==> gun (pre_compile)
  1160. ==> gun (compile)
  1161. ==> deepprops (pre_compile)
  1162. ==> deepprops (compile)
  1163. ==> cf (pre_compile)
  1164. ==> cf (compile)
  1165. ==> erlware_commons (pre_compile)
  1166. ==> erlware_commons (compile)
  1167. ==> qdate_localtime (pre_compile)
  1168. ==> qdate_localtime (compile)
  1169. ==> qdate (pre_compile)
  1170. ==> qdate (compile)
  1171. ==> mochiweb_xpath (pre_compile)
  1172. ==> mochiweb_xpath (compile)
  1173. ==> watcher (pre_compile)
  1174. ==> watcher (compile)
  1175. ==> liver (pre_compile)
  1176. ==> liver (compile)
  1177. ==> gm (pre_compile)
  1178. ==> gm (compile)
  1179. ==> recon (pre_compile)
  1180. ==> recon (compile)
  1181. ==> ehttpd (pre_compile)
  1182. ==> ehttpd (compile)
  1183. ==> lilu (pre_compile)
  1184. ==> lilu (compile)
  1185. ==> ejp (pre_compile)
  1186. ==> ejp (compile)
  1187. ==> meck (pre_compile)
  1188. ==> meck (compile)
  1189. ==> gproc (pre_compile)
  1190. ==> gproc (compile)
  1191. ==> erldbf (pre_compile)
  1192. ==> erldbf (compile)
  1193. ==> sync (pre_compile)
  1194. ==> sync (compile)
  1195. ==> unicode_util_compat (pre_compile)
  1196. ==> unicode_util_compat (compile)
  1197. ==> idna (pre_compile)
  1198. ==> idna (compile)
  1199. ==> mimerl (pre_compile)
  1200. ==> mimerl (compile)
  1201. ==> parse_trans (pre_compile)
  1202. ==> parse_trans (compile)
  1203. ==> certifi (pre_compile)
  1204. ==> certifi (compile)
  1205. ==> metrics (pre_compile)
  1206. ==> metrics (compile)
  1207. ==> ssl_verify_fun (pre_compile)
  1208. ==> ssl_verify_fun (compile)
  1209. ==> hackney (pre_compile)
  1210. ==> hackney (compile)
  1211. ==> cargo (pre_compile)
  1212. ./init.sh: line 16: WARN:: command not found
  1213. Erlang/OTP 21 [erts-10.3.5.6] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]
  1214.  
  1215. Eshell V10.3.5.6  (abort with ^G)
  1216. (cracozaurus@127.0.0.1)1> 17:15:59.925 [info] Starting Boss in development mode...
  1217. 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}]
  1218. Starting Cowboy Server on {127,0,0,1}:8001
  1219. Using Cowboy Dispatch Table:
  1220.   [{'_',[],
  1221.         [{[<<"static">>,'...'],
  1222.           [],cowboy_static,
  1223.           {priv_dir,cargo,"static",[{mimetypes,cow_mimetypes,all}]}},
  1224.          {'_',[],cowboy_simple_bridge_anchor,[]}]}]
  1225. Starting distributed session mnesia storagestart gc
  1226. gc pid <0.384.0>
  1227. 17:16:00.156 [info] Cargo server started on node 'cracozaurus@127.0.0.1'
  1228. 17:16:00.159 [info] cargo_srv: create tables
  1229. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- START -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!17:16:00.856 [info] upload app starting~n
  1230. 17:16:00.864 [info] upload app starting 0 ...~n
  1231. 17:16:00.864 [info] upload app starting 1 ...~n
  1232. 17:16:00.864 [info] upload server port 9999
  1233. 17:16:00.865 [info] upload app starting 2 ...~n
  1234. 17:16:00.948 [info] Chat dispatcher started on node 'cracozaurus@127.0.0.1'
  1235. 17:16:00.954 [info] cargo_srv MQTT connect login <<"common-cracozaurus@127.0.0.1-b5e900a0-41d8-11ea-b1ec-acde48001122">>
  1236. 17:16:00.954 [info] cargo_srv MQTT connect pass <<"b5e520e8-41d8-11ea-a645-acde48001122">>
  1237. 17:16:00.962 [info] Bonus event dispatcher started on node 'cracozaurus@127.0.0.1'
  1238. 17:16:00.967 [info] Notification event dispatcher started on node 'cracozaurus@127.0.0.1'
  1239. 17:16:00.972 [info] cargo_srv MQTT connect pid <0.573.0>
  1240. 17:16:00.976 [info] Signup helper event dispatcher started on node 'cracozaurus@127.0.0.1'
  1241. {"src/mail/view/base.html","base_tpl",{ok,base_tpl}}
  1242. {"src/mail/view/cargo_email_layout.html","cargo_email_layout_tpl",
  1243.  {ok,cargo_email_layout_tpl}}
  1244. {"src/mail/view/cargo_email_layout_feedback.html",
  1245.  "cargo_email_layout_feedback_tpl",
  1246.  {ok,cargo_email_layout_feedback_tpl}}
  1247. {"src/mail/view/generic_email.html","generic_email_tpl",
  1248.  {ok,generic_email_tpl}}
  1249. {"src/mail/view/new_admin_user_signup_notification.html",
  1250.  "new_admin_user_signup_notification_tpl",
  1251.  {ok,new_admin_user_signup_notification_tpl}}
  1252. {"src/mail/view/trucker_attach_notification.html",
  1253.  "trucker_attach_notification_tpl",
  1254.  {ok,trucker_attach_notification_tpl}}
  1255. Starting Sync (Automatic Code Compiler / Reloader)
  1256. Scanning source files...
  1257. 17:16:01.029 [info] Event_srv started on node 'cracozaurus@127.0.0.1'
  1258. 17:16:01.029 [info] M: event_sup
  1259. L: 22
  1260. Mess:<<"Init">>
  1261. 17:16:01.033 [info] psql starting
  1262. psql.erl psql starting
  1263. 17:16:01.051 [info] psql starting
  1264. psql.erl psql starting 01
  1265. 17:16:01.051 [info] psql.erl psql starting 01~n
  1266. psql.erl psql almost started
  1267. 17:16:01.051 [info] psql almost started
  1268. 17:16:01.056 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1269. 17:16:01.403 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1270. 17:16:01.472 [info] mqtt Connect <0.573.0>
  1271. 17:16:01.472 [info] cargo_srv unknown message {mqttc,<0.573.0>,connected}
  1272. 17:16:01.741 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1273. 17:16:02.058 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1274. 17:16:02.381 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1275. 17:16:02.728 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1276. 17:16:03.076 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1277. 17:16:03.397 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1278. 17:16:03.753 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1279. 17:16:04.108 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1280. 17:16:04.427 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1281. 17:16:04.765 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1282. 17:16:05.109 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1283. 17:16:05.459 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1284. 17:16:05.822 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1285. 17:16:06.139 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1286. 17:16:06.481 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1287. 17:16:06.863 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1288. 17:16:07.238 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1289. 17:16:07.564 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  1290. 17:16:07.861 [info] psql Res ok
  1291. psql Res ok
  1292.  ** LiLu has started **
  1293.  ** LiLu starting viever: "ct" **
  1294. 17:16:07.911 [info] Modulbank mock manager started on node 'cracozaurus@127.0.0.1'
  1295.  ** LiLu starting viever: "console" **
  1296.  ** LiLu starting viever: "error" **
  1297. 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"]}]
  1298. 17:16:10.334 [info] cargo_account_controller _________________"login" 'POST' []
  1299. 17:16:10.341 [info] cargo_account_controller:login *Logging in...
  1300. 17:16:10.341 [info] UserType "users"
  1301. 17:16:10.341 [info] cargo_account_controller:login ::login -> " 7 (916) 813-25-77"
  1302. 17:16:10.341 [info] cargo_account_controller:login ::password -> "qwerty"
  1303. 17:16:10.341 [info] cargo_account_controller:login ::cookie -> <<>>
  1304. 17:16:10.349 [info] common_check:valid_email ::trim -> 7(916)813-25-77
  1305. 17:16:10.349 [info] common_check:valid_email ::email -> 7(916)813-25-77 is invalid!
  1306. 17:16:10.349 [info] common_check:valid_phone ::len -> 12
  1307. 17:16:10.349 [info] auth_lib:login ::validemail -> false, ::validphone -> true
  1308. 17:16:10.349 [info] Cookie []
  1309. 17:16:10.349 [info] ValidCookie undefined
  1310. 17:16:10.349 [info] CookieData []
  1311. 17:16:10.349 [info] UserType users
  1312. 17:16:10.349 [info] Login <<" 7 (916) 813-25-77">>
  1313. 17:16:10.349 [info] Format phone <<"+79168132577">>
  1314. 17:16:10.349 [info] Type login phone
  1315. 17:16:10.349 [info] TypeLogin phone
  1316. 17:16:10.349 [info] LoginFin <<" 7 (916) 813-25-77">>
  1317. =SUPERVISOR REPORT==== 28-Jan-2020::17:16:31.985953 ===
  1318.     supervisor: {local,signup_helper_sup}
  1319.     errorContext: child_terminated
  1320.     reason: {timeout,
  1321.                 {gen_server,call,
  1322.                     [<0.152.0>,
  1323.                      {execute,
  1324.                          "\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",
  1325.                          []},
  1326.                      30000]}}
  1327.     offender: [{pid,<0.578.0>},
  1328.                {id,signup_helper_watcher},
  1329.                {mfargs,{signup,start,[]}},
  1330.                {restart_type,permanent},
  1331.                {shutdown,25000},
  1332.                {child_type,worker}]
  1333. 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
  1334. 17:16:40.359 [error] Error in controller exit:{timeout,{gen_server,call,
  1335.                           [<0.151.0>,
  1336.                            {find,users,
  1337.                                  [{phone,equals,<<"+79168132577">>},
  1338.                                   {deleted,equals,false}],
  1339.                                  all,0,id,ascending,[]},
  1340.                            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}]}]
  1341. 17:16:40.364 [error] "Error in controller, see console.log for details\n"
  1342. 17:16:40.369 [error] POST /account/login [cargo] 500 30091ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement