-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can you offer a yaml config example? #19
Comments
|
Could you please help me with the listener configuration in yaml as well? |
@zhangzhang, here you go:
|
Proposed YAML configuration is not working for me, any ideas? 2015-09-11 02:27:16.367 [critical] <0.37.0>@gen_mod:start_module:107 Problem starting the module mod_restful for host <<"fernando">>
options: [{api,[[{path,[<<"admin">>]},
{module,mod_restful_admin},
{params,[{key,<<"secret">>},
{allowed_commands,[register,unregister]}]}],
[{path,[<<"register">>]},
{module,mod_restful_register},
{params,[{key,<<"secret">>}]}]]}]
error: undef
[{mod_restful,start,
[<<"fernando">>,
[{api,[[{path,[<<"admin">>]},
{module,mod_restful_admin},
{params,[{key,<<"secret">>},
{allowed_commands,[register,unregister]}]}],
[{path,[<<"register">>]},
{module,mod_restful_register},
{params,[{key,<<"secret">>}]}]]}]],
[]},
{gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,99}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,72}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,272}]}]
2015-09-11 02:27:16.368 [critical] <0.37.0>@gen_mod:start_module:112 ejabberd initialization was aborted because a module start failed. |
@lwxfer Could it be that ejabberd can't find your compiled .beam files? |
Worked pretty fine, but I had to change ip to 0.0.0.0
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thank you ~
The text was updated successfully, but these errors were encountered: