I
see http://docs.zotonic.com/en/latest/ref/modules/mod_mqtt.html?highlight=mqtt
понедельник, 7 ноября 2016 г., 19:46:16 UTC+9 пользователь Marc Worrell
написал:
>
> That is interesting.
>
> emqtt seems to think that the auth module is called “
> emqtt_auth_z_mqtt_auth”.
> When in fact it is called “emqtt_auth_zotonic”
>
> What is your erlang.config configuration for emqtt?
>
> It should be something like:
>
> {emqtt, [
> {auth, {zotonic, []}},
> {access_control, {zotonic, []}},
>
>
> - Marc
>
>
> On 06 Nov 2016, at 15:41, heiheshang <[email protected] <javascript:>>
> wrote:
>
> 2016-11-06 08:48:46.385 [error] <0.259.0> CRASH REPORT Process <0.259.0>
> with 0 neighbours exited with reason: call to undefined function
> emqtt_auth_z_mqtt_auth:init([]) in gen_server2:init_it/6 line 481
> 2016-11-06 08:48:46.385 [error] <0.258.0> Supervisor emqtt_sup had child
> emqtt_auth started with emqtt_auth:start_link() at undefined exit with
> reason call to undefined function emqtt_auth_z_mqtt_auth:init([]) in
> context start_error
> 2016-11-06 08:48:46.386 [error] <0.256.0> CRASH REPORT Process <0.256.0>
> with 0 neighbours exited with reason: no match of right hand value
> {error,{shutdown,{failed_to_start_child,emqtt_auth,{undef,[{emqtt_auth_z_mqtt_auth,init,[[]],[]},{emqtt_auth,init,1,[{file,"src/emqtt_auth.erl"},{line,53}]},{gen_server2,init_it,6,[{file,"src/gen_server2.erl"},{line,447}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}}}}
>
> in emqtt_app:start/2 line 36 in application_master:init/4 line 134
>
>
>
--
---
You received this message because you are subscribed to the Google Groups
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.