SHARE
TWEET

Untitled

a guest Jan 23rd, 2020 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ==> hackney (pre_compile)
  2. ==> hackney (compile)
  3. ==> cargo (pre_compile)
  4. ./init.sh: line 16: WARN:: command not found
  5. Erlang/OTP 21 [erts-10.3.5.6] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]
  6.  
  7. Eshell V10.3.5.6  (abort with ^G)
  8. (cracozaurus@127.0.0.1)1> 16:18:47.006 [info] Starting Boss in development mode...
  9. 16:18:47.014 [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}]
  10. Starting Cowboy Server on {127,0,0,1}:8001
  11. Using Cowboy Dispatch Table:
  12.   [{'_',[],
  13.         [{[<<"static">>,'...'],
  14.           [],cowboy_static,
  15.           {priv_dir,cargo,"static",[{mimetypes,cow_mimetypes,all}]}},
  16.          {'_',[],cowboy_simple_bridge_anchor,[]}]}]
  17. Starting distributed session mnesia storagestart gc
  18. gc pid <0.384.0>
  19. 16:18:47.303 [info] Cargo server started on node 'cracozaurus@127.0.0.1'
  20. 16:18:47.306 [info] cargo_srv: create tables
  21. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- START -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!16:18:48.908 [info] upload app starting~n
  22. 16:18:48.916 [info] upload app starting 0 ...~n
  23. 16:18:48.916 [info] upload app starting 1 ...~n
  24. 16:18:48.916 [info] upload server port 9999
  25. 16:18:48.917 [info] upload app starting 2 ...~n
  26. 16:18:48.998 [info] Chat dispatcher started on node 'cracozaurus@127.0.0.1'
  27. 16:18:49.008 [info] Bonus event dispatcher started on node 'cracozaurus@127.0.0.1'
  28. 16:18:49.013 [info] Notification event dispatcher started on node 'cracozaurus@127.0.0.1'
  29. 16:18:49.018 [info] Signup helper event dispatcher started on node 'cracozaurus@127.0.0.1'
  30. {"src/mail/view/base.html","base_tpl",{ok,base_tpl}}
  31. {"src/mail/view/cargo_email_layout.html","cargo_email_layout_tpl",
  32.  {ok,cargo_email_layout_tpl}}
  33. {"src/mail/view/cargo_email_layout_feedback.html",
  34.  "cargo_email_layout_feedback_tpl",
  35.  {ok,cargo_email_layout_feedback_tpl}}
  36. {"src/mail/view/generic_email.html","generic_email_tpl",
  37.  {ok,generic_email_tpl}}
  38. {"src/mail/view/new_admin_user_signup_notification.html",
  39.  "new_admin_user_signup_notification_tpl",
  40.  {ok,new_admin_user_signup_notification_tpl}}
  41. {"src/mail/view/trucker_attach_notification.html",
  42.  "trucker_attach_notification_tpl",
  43.  {ok,trucker_attach_notification_tpl}}
  44. Starting Sync (Automatic Code Compiler / Reloader)
  45. Scanning source files...
  46. 16:18:49.070 [info] Event_srv started on node 'cracozaurus@127.0.0.1'
  47. 16:18:49.070 [info] M: event_sup
  48. L: 22
  49. Mess:<<"Init">>
  50. 16:18:49.074 [info] psql starting
  51. 16:18:49.086 [info] psql starting
  52. psql.erl psql starting
  53. 16:18:49.086 [info] psql.erl psql starting 01~n
  54. psql.erl psql starting 01
  55. psql.erl psql almost started
  56. 16:18:49.086 [info] psql almost started
  57. 16:18:49.087 [info] cargo_srv MQTT connect login <<"common-cracozaurus@127.0.0.1-e43e23e4-3de2-11ea-8196-acde48001122">>
  58. 16:18:49.087 [info] cargo_srv MQTT connect pass <<"e43ac2d0-3de2-11ea-b7f6-acde48001122">>
  59. 16:18:49.091 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  60. 16:18:49.108 [info] cargo_srv MQTT connect pid <0.599.0>
  61. 16:18:49.590 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  62. 16:18:49.608 [info] mqtt Connect <0.599.0>
  63. 16:18:49.885 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  64. 16:18:50.202 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  65. 16:18:50.512 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  66. 16:18:50.814 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  67. 16:18:51.122 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  68. 16:18:51.410 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  69. 16:18:51.720 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  70. 16:18:52.032 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  71. 16:18:52.344 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  72. 16:18:52.673 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  73. 16:18:52.967 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  74. 16:18:53.286 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  75. 16:18:53.632 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  76. 16:18:53.975 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  77. 16:18:54.305 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  78. 16:18:54.632 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  79. 16:18:54.966 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  80. 16:18:55.252 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  81. psql Res ok
  82. 16:18:55.565 [info] psql Res ok
  83.  ** LiLu has started **
  84.  ** LiLu starting viever: "ct" **
  85. 16:18:55.626 [info] Modulbank mock manager started on node 'cracozaurus@127.0.0.1'
  86.  ** LiLu starting viever: "console" **
  87.  ** LiLu starting viever: "error" **
  88. 16:18:55.751 [notice] Compile file "/Users/ramankovalitskiy/Projects/cargo/priv/init/cargo_01_news.erl" with options [{include_dirs,["/Users/ramankovalitskiy/Projects/cargo/include"]}]
  89. 16:19:07.756 [info] cargo_account_controller _________________"login" 'POST' []
  90. 16:19:07.764 [info] cargo_account_controller:login *Logging in...
  91. 16:19:07.764 [info] UserType "users"
  92. 16:19:07.764 [info] cargo_account_controller:login ::login -> " 7 (916) 813-25-77"
  93. 16:19:07.764 [info] cargo_account_controller:login ::password -> "qwerty"
  94. 16:19:07.764 [info] cargo_account_controller:login ::cookie -> <<>>
  95. 16:19:07.770 [info] common_check:valid_email ::trim -> 7(916)813-25-77
  96. 16:19:07.770 [info] common_check:valid_email ::email -> 7(916)813-25-77 is invalid!
  97. 16:19:07.770 [info] common_check:valid_phone ::len -> 12
  98. 16:19:07.770 [info] auth_lib:login ::validemail -> false, ::validphone -> true
  99. 16:19:07.770 [info] Cookie []
  100. 16:19:07.770 [info] ValidCookie undefined
  101. 16:19:07.771 [info] CookieData []
  102. 16:19:07.771 [info] UserType users
  103. 16:19:07.771 [info] Login <<" 7 (916) 813-25-77">>
  104. 16:19:07.771 [info] Format phone <<"+79168132577">>
  105. 16:19:07.771 [info] Type login phone
  106. 16:19:07.771 [info] TypeLogin phone
  107. 16:19:07.771 [info] LoginFin <<" 7 (916) 813-25-77">>
  108. 16:19:07.877 [info] auth_lib:do_login ::user -> [{users,"users-294348",<<208,152,208,187,209,140,209,143>>,<<208,147,209,128,208,184,208,180,208,189,208,181,208,178>>,<<>>,<<"+79168132577">>,<<"vadim.german@morecargo.ru">>,<<"d8578edf8458ce06fbc5bb76a58c5ca4">>,294347,false,true,true,true,<<"087b13174ff4b8884aa9c1e5079a7111">>,<<"6058">>,<<"5016">>,false,<<>>,<<>>,true,true,<<"active">>,false}]
  109. 16:19:07.877 [info] auth_lib ::model hash -> <<"d8578edf8458ce06fbc5bb76a58c5ca4">>
  110. 16:19:07.877 [info] auth_lib ::user hash -> <<"d8578edf8458ce06fbc5bb76a58c5ca4">>
  111. 16:19:08.000 [info] auth encrypted id <<"MmVmOThhYWMwLTNkZTItMTGPL8woHb5LnISihA-q3awZ">>
  112. 16:19:08.348 [info] Entity refresh <<"IP">>
  113. 16:19:08.349 [info] login user type users
  114. 16:19:08.349 [info] login id 294348
  115. 16:19:08.349 [info] login ip "127.0.0.1"
  116. 16:19:08.456 [info] Entity auth <<"IP">>
  117. 16:19:08.464 [info] cargo_wrk *New session ::cid -> <<"MmVmOThhYWMwLTNkZTItMTGPL8woHb5LnISihA-q3awZ">>
  118. 16:19:08.464 [info] cargo_wrk ACL pid <0.388.0>
  119. 16:19:08.510 [info] cargo_wrk MQTT connect login <<"+79168132577-ef87bac6-3de2-11ea-a4f2-acde48001122-cracozaurus@127.0.0.1">>
  120. 16:19:08.510 [info] cargo_wrk MQTT connect pass <<"efe14316-3de2-11ea-95b4-acde48001122">>
  121. 16:19:08.510 [info] cargo_wrk MQTT connect client_id <<"efe84bf2-3de2-11ea-befd-acde48001122">>
  122. 16:19:09.011 [info] mqtt Connect <0.4149.0>
  123. 16:19:09.233 [info] cargo_wrk UserId 294348
  124. 16:19:09.233 [info] cargo_wrk Roles []
  125. 16:19:09.234 [info] cargo_wrk Roles+Fields [<<"/chat/#">>,3,<<"/upd/admin/#">>,3,<<"/MmVmOThhYWMwLTNkZTItMTGPL8woHb5LnISihA-q3awZ/#">>,3]
  126. 16:19:09.234 [info] cargo_wrk StoredRoles undefined
  127. =CRASH REPORT==== 23-Jan-2020::16:19:19.291427 ===
  128.   crasher:
  129.     initial call: cargo_wrk:init_connection/1
  130.     pid: <0.4148.0>
  131.     registered_name: []
  132.     exception exit: {timeout,
  133.                         {gen_fsm,sync_send_event,
  134.                             [<0.4149.0>,
  135.                              {subscribe,<0.4148.0>,
  136.                                  [{<<"$SYS/brokers/+/clients/mqtt_b4f60045/disconnected">>,
  137.                                    0}]},
  138.                              10000]}}
  139.       in function  gen_fsm:sync_send_event/3 (gen_fsm.erl, line 255)
  140.       in call from emqttc:sync_subscribe/2 (src/emqttc.erl, line 298)
  141.       in call from cargo_wrk:init_connection/1 (/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_wrk.erl, line 115)
  142.     ancestors: [<0.4147.0>]
  143.     message_queue_len: 0
  144.     messages: []
  145.     links: [<0.4149.0>]
  146.     dictionary: [{rand_seed,{#{jump => #Fun<rand.13.10897371>,
  147.                                 max => 18446744073709551615,
  148.                                 next => #Fun<rand.12.10897371>,
  149.                                 type => exs1024},
  150.                               {[14377253599891098017,18241019653671010984,
  151.                                 9335410801516174554,1484564806860296388,
  152.                                 13415179620313937464,6561190070677940717,
  153.                                 17960329477731414889,13368449480254907311,
  154.                                 12755465198104984306,3852574970432665386,
  155.                                 14242892892962514435,367457974264418674,
  156.                                 11081062804659405447,14515732777682458275,
  157.                                 9524344013675143046],
  158.                                [14374981330521065246]}}}]
  159.     trap_exit: true
  160.     status: running
  161.     heap_size: 6772
  162.     stack_size: 27
  163.     reductions: 17419
  164.   neighbours:
  165.  
  166. =ERROR REPORT==== 23-Jan-2020::16:19:19.296178 ===
  167. Error in process <0.4147.0> on node 'cracozaurus@127.0.0.1' with exit value:
  168. {{badmatch,
  169.      {error,
  170.          {timeout,
  171.              {gen_fsm,sync_send_event,
  172.                  [<0.4149.0>,
  173.                   {subscribe,<0.4148.0>,
  174.                       [{<<"$SYS/brokers/+/clients/mqtt_b4f60045/disconnected">>,
  175.                         0}]},
  176.                   10000]}}}},
  177.  [{cargo_srv,new_session_do,6,
  178.       [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},
  179.        {line,480}]}]}
  180.  
  181. 16:19:19.291 [error] CRASH REPORT Process <0.4148.0> with 0 neighbours exited with reason: {timeout,{gen_fsm,sync_send_event,[<0.4149.0>,{subscribe,<0.4148.0>,[{<<"$SYS/brokers/+/clients/mqtt_b4f60045/disconnected">>,0}]},10000]}} in gen_fsm:sync_send_event/3 line 255
  182. 16:19:19.296 [info] ||||||Exit process pid: <0.4147.0>  {'EXIT',<0.4147.0>,{{badmatch,{error,{timeout,{gen_fsm,sync_send_event,[<0.4149.0>,{subscribe,<0.4148.0>,[{<<"$SYS/brokers/+/clients/mqtt_b4f60045/disconnected">>,0}]},10000]}}}},[{cargo_srv,new_session_do,6,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},{line,480}]}]}}
  183. Self <0.386.0>
  184. 16:19:19.296 [error] Error in process <0.4147.0> on node 'cracozaurus@127.0.0.1' with exit value:
  185. {{badmatch,{error,{timeout,{gen_fsm,sync_send_event,[<0.4149.0>,{subscribe,<0.4148.0>,[{<<"$SYS/brokers/+/clients/mqtt_b4f60045/disconnected">>,0}]},10000]}}}},[{cargo_srv,new_session_do,6,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},{line,480}]}]}
  186. 16:19:33.462 [error] Error in controller exit:{timeout,
  187.          {gen_server,call,
  188.              [cargo_srv,
  189.               {new_session,
  190.                   <<"MmVmOThhYWMwLTNkZTItMTGPL8woHb5LnISihA-q3awZ">>,
  191.                   "871440c40df81708caefbc3c216df8c8d44139fc"},
  192.               25000]}} Stacktrace: [{gen_server,call,3,[{file,"gen_server.erl"},{line,223}]},{auth_lib,do_login_final,4,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/auth_lib.erl"},{line,158}]},{auth_lib,do_login_continue,6,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/auth_lib.erl"},{line,462}]},{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}]}]
  193. 16:19:33.466 [error] "Error in controller, see console.log for details\n"
  194. 16:19:33.474 [error] POST /account/login [cargo] 500 25774ms
  195. 16:19:39.199 [info] cargo_main_controller:main before_ _________________A:"user_settings" B:'GET' C:[]
  196. 16:19:39.614 [error] [{bonus_referral,1000},{bonus_referrer,1000},{bonus_privelege,5000},{backoffice_email_mask,<<"gmail.com">>},{beginning_hour_of_support,17},{cloud_pay_public_id,<<"pk_c36f1a5a5e418aad4d2be8579290a">>},{cloud_pay_term_url,<<"https://cargo.tvzavr.ru/cloudpayments">>},{deallocation_time_of_verification,5},{ending_hour_of_support,18},{start_date_of_service,{{2020,2,29},{0,0,0}}}]
  197. 16:19:39.621 [info] GET /api/user_settings [cargo] 200 485ms
  198. info handle timeout
  199. handle timeout 3  
  200. ExpireWindow 1579785480
  201. Records []
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top