Guest User

Untitled

a guest
Jan 23rd, 2020
109
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 12:26:13.412 [info] cargo_wrk process_message Topic <<"order/save">>
  2. 12:26:13.412 [info] cargo_wrk process_message Pid <0.1809.0>
  3. Id undefined
  4. cargo_wrk:SEND Topic <<"/MjVjYTM5YzE4LTNkYzItMTG65j-5RiYlG7dsh.PK-ZN7/res/order/save">>
  5. cargo_wrk:SEND Cid <<"MjVjYTM5YzE4LTNkYzItMTG65j-5RiYlG7dsh.PK-ZN7">>
  6. cargo_wrk:SEND Connection <0.1813.0>
  7. cargo_wrk:SEND Sessionid "52d6649b9dbda9291807a90f6cefcab475e46866"
  8. cargo_wrk:SEND ::res publish ok
  9. 12:26:13.412 [error] E1 error
  10. E2 badarg
  11. Stack [{erlang,split_binary,[<<237,7,73,31,124,243,178,129,52,187,185,43,212,30,124,227>>,-211],[]},{crypt_aes,unpad,1,[{file,"/home/pavel/web/cargo/src/lib/crypt_aes.erl"},{line,77}]},{crypt_aes,decrypt,2,[{file,"/home/pavel/web/cargo/src/lib/crypt_aes.erl"},{line,52}]},{common,dec_list_do,3,[{file,"/home/pavel/web/cargo/src/lib/common.erl"},{line,600}]},{cargo_wrk,process_message,7,[{file,"/home/pavel/web/cargo/src/lib/cargo_wrk.erl"},{line,1070}]}]
  12. 12:26:13.412 [info] TEST DEC LIST error
  13. 12:26:13.417 [info] JSON
  14. [{properties,[[{name,<<"chr1">>},{value,24}],[{name,<<"chr7">>},{value,3456}],[{name,<<"opt5">>},{value,true}],[{name,<<"opt_chr4">>},{value,3456}]]},{carcasses,[<<"carc10">>]},{corouting,true},{indivisible,true},{name,<<208,157,208,190,208,178,209,139,208,185,32,209,130,208,181,209,129,209,130,208,190,208,178,209,139,208,185>>},{cargo_photos,[]},{cost,2354234534},{bidding,<<"bidding">>},{route,[[{point,[{organizationName,<<"123">>},{coordinates,[<<"56.639436">>,<<"47.826683">>]},{date,[{start,{{2020,1,23},{21,0,0}}},{end,{{2020,1,23},{21,0,0}}}]},{time,<<"14:55">>},{contacts,[{name,<<209,132,209,139,208,178,208,176,209,132,209,139,208,178,208,176>>},{phone,<<"+7 (324) 213-42-34">>}]},{lift,[<<"lift1">>,<<"lift6">>]},{id,<<"31782849829687554">>},{datetime,{{2020,1,24},{14,55,0}}},{text,<<208,160,208,181,209,129,208,191,209,131,208,177,208,187,208,184,208,186,208,176,32,208,156,208,176,209,128,208,184,208,185,32,208,173,208,187,44,32,208,153,208,190,209,136,208,186,208,176,209,128,45,208,158,208,187,208,176,44,32,209,131,208,187,208,184,209,134,208,176,32,208,153,209,139,208,178,208,176,208,189,208,176,32,208,154,209,139,209,128,208,187,208,184,44,32,52,54,32>>},{coords,[{latitude,<<"47.826683">>},{longidute,<<"56.639436">>}]},{address,[[{kind,<<"country">>},{name,<<208,160,208,190,209,129,209,129,208,184,209,143>>}],[{kind,<<"province">>},{name,<<208,159,209,128,208,184,208,178,208,190,208,187,208,182,209,129,208,186,208,184,208,185,32,209,132,208,181,208,180,208,181,209,128,208,176,208,187,209,140,208,189,209,139,208,185,32,208,190,208,186,209,128,209,131,208,179>>}],[{kind,<<"province">>},{name,<<208,160,208,181,209,129,208,191,209,131,208,177,208,187,208,184,208,186,208,176,32,208,156,208,176,209,128,208,184,208,185,32,208,173,208,187>>}],[{kind,<<"area">>},{name,<<208,179,208,190,209,128,208,190,208,180,209,129,208,186,208,190,208,185,32,208,190,208,186,209,128,209,131,208,179,32,208,153,208,190,209,136,208,186,208,176,209,128,45,208,158,208,187,208,176>>}],[{kind,<<"locality">>},{name,<<208,153,208,190,209,136,208,186,208,176,209,128,45,208,158,208,187,208,176>>}],[{kind,<<"street">>},{name,<<209,131,208,187,208,184,209,134,208,176,32,208,153,209,139,208,178,208,176,208,189,208,176,32,208,154,209,139,209,128,208,187,208,184>>}],[{kind,<<"house">>},{name,<<"46">>}]]}]}],[{point,[{organizationName,<<"234">>},{coordinates,[<<"42.357876">>,<<"69.620746">>]},{date,{{2020,1,24},{21,0,0}}},{time,<<"14:55">>},{contacts,[{name,<<209,132,209,139,208,178,208,176,209,132,209,139,208,178,208,176>>},{phone,<<"+7 (235) 423-54-23">>}]},{lift,[<<"lift6">>,<<"lift3">>]},{id,<<"5067789679564803">>},{datetime,{{2020,1,25},{14,55,0}}},{text,<<208,154,208,176,208,183,208,176,209,133,209,129,209,130,208,176,208,189,44,32,208,168,209,139,208,188,208,186,208,181,208,189,209,130,44,32,209,131,208,187,208,184,209,134,208,176,32,208,144,209,128,208,179,209,139,208,189,208,177,208,181,208,186,208,190,208,178,208,176,32>>},{coords,[{latitude,<<"69.620746">>},{longidute,<<"42.357876">>}]},{address,[[{kind,<<"country">>},{name,<<208,154,208,176,208,183,208,176,209,133,209,129,209,130,208,176,208,189>>}],[{kind,<<"province">>},{name,<<208,168,209,139,208,188,208,186,208,181,208,189,209,130>>}],[{kind,<<"locality">>},{name,<<208,168,209,139,208,188,208,186,208,181,208,189,209,130>>}],[{kind,<<"street">>},{name,<<209,131,208,187,208,184,209,134,208,176,32,208,144,209,128,208,179,209,139,208,189,208,177,208,181,208,186,208,190,208,178,208,176>>}]]},{distance,2684}]}]]},{offers_deadline,{{2020,1,31},{13,44,0}}},{payment_event,<<"unloading_fact">>},{payment_type,[<<"card_to_card">>,<<"cashless">>]},{prepaid_type,[<<"cash">>,<<"card_to_card">>]},{working_days_for_payment,34},{comment,<<209,134,209,131,208,186,208,181,209,134,209,131,208,186,208,181,209,134,209,131,208,186,208,181,209,134,209,131,208,186,208,181,209,134>>},{ccontact_user_id,<<"MjBjMjY2YmRhLTNkYzItMTFQhwxBICyPvaVbXXaLjoGp">>},{begin_datetime,{{2020,1,23},{14,55,0}}},{end_datetime,{{2020,1,23},{14,55,0}}}]
  15. 12:26:13.417 [info] Save order Payload [{properties,[[{name,<<"chr1">>},{value,24}],[{name,<<"chr7">>},{value,3456}],[{name,<<"opt5">>},{value,true}],[{name,<<"opt_chr4">>},{value,3456}]]},{carcasses,[<<"carc10">>]},{corouting,true},{indivisible,true},{name,<<208,157,208,190,208,178,209,139,208,185,32,209,130,208,181,209,129,209,130,208,190,208,178,209,139,208,185>>},{cargo_photos,[]},{cost,2354234534},{bidding,<<"bidding">>},{route,[[{point,[{organizationName,<<"123">>},{coordinates,[<<"56.639436">>,<<"47.826683">>]},{date,[{start,{{2020,1,23},{21,0,0}}},{end,{{2020,1,23},{21,0,0}}}]},{time,<<"14:55">>},{contacts,[{name,<<209,132,209,139,208,178,208,176,209,132,209,139,208,178,208,176>>},{phone,<<"+7 (324) 213-42-34">>}]},{lift,[<<"lift1">>,<<"lift6">>]},{id,<<"31782849829687554">>},{datetime,{{2020,1,24},{14,55,0}}},{text,<<208,160,208,181,209,129,208,191,209,131,208,177,208,187,208,184,208,186,208,176,32,208,156,208,176,209,128,208,184,208,185,32,208,173,208,187,44,32,208,153,208,190,209,136,208,186,208,176,209,128,45,208,158,208,187,208,176,44,32,209,131,208,187,208,184,209,134,208,176,32,208,153,209,139,208,178,208,176,208,189,208,176,32,208,154,209,139,209,128,208,187,208,184,44,32,52,54,32>>},{coords,[{latitude,<<"47.826683">>},{longidute,<<"56.639436">>}]},{address,[[{kind,<<"country">>},{name,<<208,160,208,190,209,129,209,129,208,184,209,143>>}],[{kind,<<"province">>},{name,<<208,159,209,128,208,184,208,178,208,190,208,187,208,182,209,129,208,186,208,184,208,185,32,209,132,208,181,208,180,208,181,209,128,208,176,208,187,209,140,208,189,209,139,208,185,32,208,190,208,186,209,128,209,131,208,179>>}],[{kind,<<"province">>},{name,<<208,160,208,181,209,129,208,191,209,131,208,177,208,187,208,184,208,186,208,176,32,208,156,208,176,209,128,208,184,208,185,32,208,173,208,187>>}],[{kind,<<"area">>},{name,<<208,179,208,190,209,128,208,190,208,180,209,129,208,186,208,190,208,185,32,208,190,208,186,209,128,209,131,208,179,32,208,153,208,190,209,136,208,186,208,176,209,128,45,208,158,208,187,208,176>>}],[{kind,<<"locality">>},{name,<<208,153,208,190,209,136,208,186,208,176,209,128,45,208,158,208,187,208,176>>}],[{kind,<<"street">>},{name,<<209,131,208,187,208,184,209,134,208,176,32,208,153,209,139,208,178,208,176,208,189,208,176,32,208,154,209,139,209,128,208,187,208,184>>}],[{kind,<<"house">>},{name,<<"46">>}]]}]}],[{point,[{organizationName,<<"234">>},{coordinates,[<<"42.357876">>,<<"69.620746">>]},{date,{{2020,1,24},{21,0,0}}},{time,<<"14:55">>},{contacts,[{name,<<209,132,209,139,208,178,208,176,209,132,209,139,208,178,208,176>>},{phone,<<"+7 (235) 423-54-23">>}]},{lift,[<<"lift6">>,<<"lift3">>]},{id,<<"5067789679564803">>},{datetime,{{2020,1,25},{14,55,0}}},{text,<<208,154,208,176,208,183,208,176,209,133,209,129,209,130,208,176,208,189,44,32,208,168,209,139,208,188,208,186,208,181,208,189,209,130,44,32,209,131,208,187,208,184,209,134,208,176,32,208,144,209,128,208,179,209,139,208,189,208,177,208,181,208,186,208,190,208,178,208,176,32>>},{coords,[{latitude,<<"69.620746">>},{longidute,<<"42.357876">>}]},{address,[[{kind,<<"country">>},{name,<<208,154,208,176,208,183,208,176,209,133,209,129,209,130,208,176,208,189>>}],[{kind,<<"province">>},{name,<<208,168,209,139,208,188,208,186,208,181,208,189,209,130>>}],[{kind,<<"locality">>},{name,<<208,168,209,139,208,188,208,186,208,181,208,189,209,130>>}],[{kind,<<"street">>},{name,<<209,131,208,187,208,184,209,134,208,176,32,208,144,209,128,208,179,209,139,208,189,208,177,208,181,208,186,208,190,208,178,208,176>>}]]},{distance,2684}]}]]},{offers_deadline,{{2020,1,31},{13,44,0}}},{payment_event,<<"unloading_fact">>},{payment_type,[<<"card_to_card">>,<<"cashless">>]},{prepaid_type,[<<"cash">>,<<"card_to_card">>]},{working_days_for_payment,34},{comment,<<209,134,209,131,208,186,208,181,209,134,209,131,208,186,208,181,209,134,209,131,208,186,208,181,209,134,209,131,208,186,208,181,209,134>>},{ccontact_user_id,<<"MjBjMjY2YmRhLTNkYzItMTFQhwxBICyPvaVbXXaLjoGp">>},{begin_datetime,{{2020,1,23},{14,55,0}}},{end_datetime,{{2020,1,23},{14,55,0}}}]
  16. 12:26:13.423 [error] stack [{erlang,split_binary,[<<237,7,73,31,124,243,178,129,52,187,185,43,212,30,124,227>>,-211],[]},{crypt_aes,unpad,1,[{file,"/home/pavel/web/cargo/src/lib/crypt_aes.erl"},{line,77}]},{crypt_aes,decrypt,2,[{file,"/home/pavel/web/cargo/src/lib/crypt_aes.erl"},{line,52}]},{order,save,4,[{file,"/home/pavel/web/cargo/src/lib/order.erl"},{line,517}]},{order,message,3,[{file,"/home/pavel/web/cargo/src/lib/order.erl"},{line,31}]},{cargo_wrk,process_message,7,[{file,"/home/pavel/web/cargo/src/lib/cargo_wrk.erl"},{line,1089}]}]
  17. 12:26:13.423 [error] Save order error {error,badarg}
  18. 12:26:13.423 [info] get_session_id [{<<"MjVjYTM5YzE4LTNkYzItMTG65j-5RiYlG7dsh.PK-ZN7">>,#{id => 320677,parent => 320676,session_id => "52d6649b9dbda9291807a90f6cefcab475e46866",user_type => users}}]
  19. 12:26:13.424 [info] Down process {'DOWN',#Ref<0.1371283090.868483073.103220>,process,<0.4171.0>,normal}
  20. 12:26:13.424 [info] Down process Find [{#Ref<0.1371283090.868483073.103220>,<0.4171.0>,<<"MjVjYTM5YzE4LTNkYzItMTG65j-5RiYlG7dsh.PK-ZN7">>,<<"order/save">>}]
RAW Paste Data