Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2020
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 11.93 KB | None | 0 0
  1. ==> ssl_verify_fun (pre_compile)
  2. ==> ssl_verify_fun (compile)
  3. ==> hackney (pre_compile)
  4. ==> hackney (compile)
  5. ==> cargo (pre_compile)
  6. ./init.sh: line 16: WARN:: command not found
  7. Erlang/OTP 21 [erts-10.3.5.6] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]
  8.  
  9. Eshell V10.3.5.6  (abort with ^G)
  10. (cracozaurus@127.0.0.1)1> 16:11:44.062 [info] Starting Boss in development mode...
  11. 16:11:44.070 [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}]
  12. Starting Cowboy Server on {127,0,0,1}:8001
  13. Using Cowboy Dispatch Table:
  14.   [{'_',[],
  15.         [{[<<"static">>,'...'],
  16.           [],cowboy_static,
  17.           {priv_dir,cargo,"static",[{mimetypes,cow_mimetypes,all}]}},
  18.          {'_',[],cowboy_simple_bridge_anchor,[]}]}]
  19. Starting distributed session mnesia storagestart gc
  20. gc pid <0.384.0>
  21. 16:11:44.408 [info] Cargo server started on node 'cracozaurus@127.0.0.1'
  22. 16:11:44.411 [info] cargo_srv: create tables
  23. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- START -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=SUPERVISOR REPORT==== 23-Jan-2020::16:11:49.418927 ===
  24.     supervisor: {local,cargo_sup}
  25.     errorContext: start_error
  26.     reason: {{badmatch,{error,{connection_error,timeout}}},
  27.              [{cargo_srv,redis,0,
  28.                          [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},
  29.                           {line,43}]},
  30.               {cargo_srv,init,1,
  31.                          [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},
  32.                           {line,32}]},
  33.               {gen_server,init_it,2,[{file,"gen_server.erl"},{line,374}]},
  34.               {gen_server,init_it,6,[{file,"gen_server.erl"},{line,342}]},
  35.               {proc_lib,init_p_do_apply,3,
  36.                         [{file,"proc_lib.erl"},{line,249}]}]}
  37.     offender: [{pid,undefined},
  38.                {id,cargo_srv},
  39.                {mfargs,{cargo_srv,start_link,[[]]}},
  40.                {restart_type,permanent},
  41.                {shutdown,2000},
  42.                {child_type,worker}]
  43. =CRASH REPORT==== 23-Jan-2020::16:11:49.418260 ===
  44.   crasher:
  45.     initial call: eredis_client:init/1
  46.     pid: <0.387.0>
  47.     registered_name: []
  48.     exception exit: {connection_error,timeout}
  49.       in function  gen_server:init_it/6 (gen_server.erl, line 358)
  50.     ancestors: [cargo_srv,cargo_sup,<0.319.0>]
  51.     message_queue_len: 0
  52.     messages: []
  53.     links: [<0.386.0>]
  54.     dictionary: []
  55.     trap_exit: false
  56.     status: running
  57.     heap_size: 610
  58.     stack_size: 27
  59.     reductions: 1324
  60.   neighbours:
  61.  
  62. =CRASH REPORT==== 23-Jan-2020::16:11:49.419601 ===
  63.   crasher:
  64.     initial call: cargo_srv:init/1
  65.     pid: <0.386.0>
  66.     registered_name: []
  67.     exception error: no match of right hand side value
  68.                      {error,{connection_error,timeout}}
  69.       in function  cargo_srv:redis/0 (/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl, line 43)
  70.       in call from cargo_srv:init/1 (/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl, line 32)
  71.       in call from gen_server:init_it/2 (gen_server.erl, line 374)
  72.       in call from gen_server:init_it/6 (gen_server.erl, line 342)
  73.     ancestors: [cargo_sup,<0.319.0>]
  74.     message_queue_len: 0
  75.     messages: []
  76.     links: [<0.385.0>,<0.387.0>]
  77.     dictionary: []
  78.     trap_exit: true
  79.     status: running
  80.     heap_size: 987
  81.     stack_size: 27
  82.     reductions: 686
  83.   neighbours:
  84.     neighbour:
  85.       pid: <0.387.0>
  86.       registered_name: []
  87.       initial call: eredis_client:init/1
  88.       current_function: {code_server,call,1}
  89.       ancestors: [cargo_srv,cargo_sup,<0.319.0>]
  90.       message_queue_len: 0
  91.       links: [<0.386.0>]
  92.       trap_exit: false
  93.       status: waiting
  94.       heap_size: 1598
  95.       stack_size: 78
  96.       reductions: 3138
  97.       current_stacktrace: [{code_server,call,1,[{file,"code_server.erl"},{line,140}]},
  98.                   {error_handler,undefined_function,3,
  99.                                  [{file,"error_handler.erl"},{line,41}]},
  100.                   {proc_lib,format_exception,4,
  101.                             [{file,"proc_lib.erl"},{line,851}]},
  102.                   {proc_lib,format_rep,3,[{file,"proc_lib.erl"},{line,830}]},
  103.                   {proc_lib,format_rep,3,[{file,"proc_lib.erl"},{line,833}]},
  104.                   {proc_lib,format_rep,3,[{file,"proc_lib.erl"},{line,828}]},
  105.                   {proc_lib,format_report,3,
  106.                             [{file,"proc_lib.erl"},{line,815}]},
  107.                   {proc_lib,do_format,2,[{file,"proc_lib.erl"},{line,793}]}]
  108. 16:11:49.418 [error] CRASH REPORT Process <0.387.0> with 0 neighbours exited with reason: {connection_error,timeout} in gen_server:init_it/6 line 358
  109. 16:11:49.419 [error] Supervisor cargo_sup had child cargo_srv started with cargo_srv:start_link([]) at undefined exit with reason no match of right hand value {error,{connection_error,timeout}} in cargo_srv:redis/0 line 43 in context start_error
  110. 16:11:49.419 [error] CRASH REPORT Process <0.386.0> with 1 neighbours crashed with reason: no match of right hand value {error,{connection_error,timeout}} in cargo_srv:redis/0 line 43
  111. 16:11:49.419 [info] upload app starting~n
  112. 16:11:49.427 [info] upload app starting 0 ...~n
  113. 16:11:49.427 [info] upload app starting 1 ...~n
  114. 16:11:49.427 [info] upload server port 9999
  115. 16:11:49.428 [info] upload app starting 2 ...~n
  116. 16:11:49.520 [info] Chat dispatcher started on node 'cracozaurus@127.0.0.1'
  117. 16:11:49.529 [info] Bonus event dispatcher started on node 'cracozaurus@127.0.0.1'
  118. 16:11:49.533 [info] Notification event dispatcher started on node 'cracozaurus@127.0.0.1'
  119. 16:11:49.538 [info] Signup helper event dispatcher started on node 'cracozaurus@127.0.0.1'
  120. {"src/mail/view/base.html","base_tpl",{ok,base_tpl}}
  121. {"src/mail/view/cargo_email_layout.html","cargo_email_layout_tpl",
  122.  {ok,cargo_email_layout_tpl}}
  123. {"src/mail/view/cargo_email_layout_feedback.html",
  124.  "cargo_email_layout_feedback_tpl",
  125.  {ok,cargo_email_layout_feedback_tpl}}
  126. {"src/mail/view/generic_email.html","generic_email_tpl",
  127.  {ok,generic_email_tpl}}
  128. {"src/mail/view/new_admin_user_signup_notification.html",
  129.  "new_admin_user_signup_notification_tpl",
  130.  {ok,new_admin_user_signup_notification_tpl}}
  131. {"src/mail/view/trucker_attach_notification.html",
  132.  "trucker_attach_notification_tpl",
  133.  {ok,trucker_attach_notification_tpl}}
  134. Starting Sync (Automatic Code Compiler / Reloader)
  135. Scanning source files...
  136. 16:11:49.618 [info] Event_srv started on node 'cracozaurus@127.0.0.1'
  137. 16:11:49.618 [info] M: event_sup
  138. L: 22
  139. Mess:<<"Init">>
  140. 16:11:49.626 [info] psql starting
  141. psql.erl psql starting
  142. 16:11:49.646 [info] psql starting
  143. psql.erl psql starting 01
  144. 16:11:49.646 [info] psql.erl psql starting 01~n
  145. 16:11:49.646 [info] psql almost started
  146. psql.erl psql almost started
  147. 16:11:49.651 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  148. 16:11:50.245 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  149. 16:11:50.767 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  150. 16:11:51.601 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  151. 16:11:52.006 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  152. 16:11:52.416 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  153. 16:11:52.790 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  154. 16:11:53.221 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  155. 16:11:53.626 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  156. 16:11:54.024 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  157. 16:11:54.420 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  158. 16:11:54.904 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  159. 16:11:55.392 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  160. 16:11:55.812 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  161. 16:11:56.171 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  162. 16:11:56.551 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  163. 16:11:56.981 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  164. 16:11:57.412 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  165. 16:11:57.785 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  166. 16:11:58.215 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  167. psql Res ok
  168. 16:11:58.654 [info] psql Res ok
  169.  ** LiLu has started **
  170.  ** LiLu starting viever: "ct" **
  171. 16:11:58.716 [info] Modulbank mock manager started on node 'cracozaurus@127.0.0.1'
  172.  ** LiLu starting viever: "console" **
  173.  ** LiLu starting viever: "error" **
  174. 16:11:58.912 [notice] Compile file "/Users/ramankovalitskiy/Projects/cargo/priv/init/cargo_01_news.erl" with options [{include_dirs,["/Users/ramankovalitskiy/Projects/cargo/include"]}]
  175. 16:11:59.029 [info] cargo_main_controller:main before_ _________________A:"user_settings" B:'GET' C:[]
  176. 16:11:59.029 [info] cargo_account_controller _________________"login" 'POST' []
  177. 16:11:59.036 [info] cargo_account_controller:login *Logging in...
  178. 16:11:59.036 [info] UserType "users"
  179. 16:11:59.036 [info] cargo_account_controller:login ::login -> " 7 (916) 813-25-77"
  180. 16:11:59.036 [info] cargo_account_controller:login ::password -> "qwerty"
  181. 16:11:59.036 [info] cargo_account_controller:login ::cookie -> <<>>
  182. 16:11:59.042 [info] common_check:valid_email ::trim -> 7(916)813-25-77
  183. 16:11:59.043 [info] common_check:valid_email ::email -> 7(916)813-25-77 is invalid!
  184. 16:11:59.043 [info] common_check:valid_phone ::len -> 12
  185. 16:11:59.045 [error] Error in controller error:badarg Stacktrace: [{ets,lookup,[cargo_user_sessions,[]],[]},{cargo_srv,valid_cookie,1,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},{line,490}]},{auth_lib,do_AAA,6,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/auth_lib.erl"},{line,255}]},{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}]}]
  186. 16:11:59.049 [error] "Error in controller, see console.log for details\n"
  187. 16:11:59.060 [error] POST /account/login [cargo] 500 132ms
  188. 16:12:00.025 [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}}}]
  189. 16:12:00.032 [info] GET /api/user_settings [cargo] 200 1103ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement