These are chat archives for synrc/n2o

11th
Oct 2015
Rado Kozmer
@rkozmer
Oct 11 2015 09:16
Thank you Maxim for the clarification. I put these 3 apps in rebar:
{hackney, ".*", {git, "git://github.com/benoitc/hackney.git", {branch, "master"}}}, {jsx, ".*", {git, "https://github.com/talentdeficit/jsx.git", "master"}}, {erlastic_search, ".*", {git, "https://github.com/tsloughter/erlastic_search.git", "master"}} and modify hackney's deps since mad failed to find them in the benoitc's repository.
Then the mad starts and crashes with this message:
"Kernel pid terminated",application_controller,{{badmatch,false},[{application_controller,handle_application_started,3,[{file,"application_controller.erl"},{line,922}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,593}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,659}]}]}}. Any idea what could be wrong? Thanks.
Namdak Tonpa
@5HT
Oct 11 2015 15:16
how this error is related to mad?
just can't find word mad
Rado Kozmer
@rkozmer
Oct 11 2015 16:16
Yes, you're right. It's obviously hackney that crashes the server.
Namdak Tonpa
@5HT
Oct 11 2015 16:21
why you need hackney?
isn't httpc enough?
Rado Kozmer
@rkozmer
Oct 11 2015 18:25
I need erlastic_search which depends on hackney and jsx. In the cowboy-based nitrogen it works, but I'd like to move to the n2o. I'll try to replace the hackney part with the httpc.
Namdak Tonpa
@5HT
Oct 11 2015 19:30
just use rebar
drop the mad temporaly