These are chat archives for synrc/n2o

26th
Nov 2015
Roman
@AstRonin
Nov 26 2015 11:16

HI all, I want to use http client hackney for requesting by rest. When I start my app though 'mad' I get error:

{"Kernel pid terminated",application_controller,{{badmatch,false},[{application_controller,handle_application_started,3,[{file,"application_controller.erl"},{line,922}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,599}]}]}}

else through 'rebar3' app hackney works fine
What it can be?

Namdak Tonpa
@5HT
Nov 26 2015 17:38
you should follow line numbers
Roman
@AstRonin
Nov 26 2015 19:10
Yes, I followed, but why app absent in aap's list...
Roman
@AstRonin
Nov 26 2015 19:16
With another http client (ibrawse) with similar functiomal erlang didn't crash (used mad too)
Alex Popov
@aseidlitz
Nov 26 2015 19:26
@AstRonin looks like registered app 'hackney_pool' doesn't start. Adding it to the list of included_apps in hackney.app works around this issue.
{included_applications,[hackney_pool,ssl_verify_hostname]},