{"action":"created","issue":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/1495","repository_url":"https://api.github.com/repos/emqtt/emqttd","labels_url":"https://api.github.com/repos/emqtt/emqttd/issues/1495/labels{/name}","comments_url":"https://api.github.com/repos/emqtt/emqttd/issues/1495/comments","events_url":"https://api.github.com/repos/emqtt/emqttd/issues/1495/events","html_url":"https://github.com/emqtt/emqttd/issues/1495","id":295787615,"number":1495,"title":"Mongodb ACL Cannot work???","user":{"login":"vishuPPatel","id":30747120,"avatar_url":"https://avatars3.githubusercontent.com/u/30747120?v=4","gravatar_id":"","url":"https://api.github.com/users/vishuPPatel","html_url":"https://github.com/vishuPPatel","followers_url":"https://api.github.com/users/vishuPPatel/followers","following_url":"https://api.github.com/users/vishuPPatel/following{/other_user}","gists_url":"https://api.github.com/users/vishuPPatel/gists{/gist_id}","starred_url":"https://api.github.com/users/vishuPPatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishuPPatel/subscriptions","organizations_url":"https://api.github.com/users/vishuPPatel/orgs","repos_url":"https://api.github.com/users/vishuPPatel/repos","events_url":"https://api.github.com/users/vishuPPatel/events{/privacy}","received_events_url":"https://api.github.com/users/vishuPPatel/received_events","type":"User","site_admin":false},"labels":[{"id":350475449,"url":"https://api.github.com/repos/emqtt/emqttd/labels/Support","name":"Support","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"HJianBo","id":13825269,"avatar_url":"https://avatars1.githubusercontent.com/u/13825269?v=4","gravatar_id":"","url":"https://api.github.com/users/HJianBo","html_url":"https://github.com/HJianBo","followers_url":"https://api.github.com/users/HJianBo/followers","following_url":"https://api.github.com/users/HJianBo/following{/other_user}","gists_url":"https://api.github.com/users/HJianBo/gists{/gist_id}","starred_url":"https://api.github.com/users/HJianBo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HJianBo/subscriptions","organizations_url":"https://api.github.com/users/HJianBo/orgs","repos_url":"https://api.github.com/users/HJianBo/repos","events_url":"https://api.github.com/users/HJianBo/events{/privacy}","received_events_url":"https://api.github.com/users/HJianBo/received_events","type":"User","site_admin":false},"assignees":[{"login":"HJianBo","id":13825269,"avatar_url":"https://avatars1.githubusercontent.com/u/13825269?v=4","gravatar_id":"","url":"https://api.github.com/users/HJianBo","html_url":"https://github.com/HJianBo","followers_url":"https://api.github.com/users/HJianBo/followers","following_url":"https://api.github.com/users/HJianBo/following{/other_user}","gists_url":"https://api.github.com/users/HJianBo/gists{/gist_id}","starred_url":"https://api.github.com/users/HJianBo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HJianBo/subscriptions","organizations_url":"https://api.github.com/users/HJianBo/orgs","repos_url":"https://api.github.com/users/HJianBo/repos","events_url":"https://api.github.com/users/HJianBo/events{/privacy}","received_events_url":"https://api.github.com/users/HJianBo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-02-09T08:15:36Z","updated_at":"2018-02-12T08:02:13Z","closed_at":null,"author_association":"NONE","body":"after change configurartion file then emqttd_ctl plugins load emq_auth_mongo \r\n\r\nenter the user name and password bellow error generated \r\n\r\nAny one know How to fix It???\r\n\r\n13:33:46.845 [error] Client(mqttjs_3c83d6a3e4@127.0.0.1:63059): Username 'vishal1' login failed for {{badmap,{error,timeout}},[{maps,get,[<<\"password\">>,{error,timeout},undefined],[{file,\"maps.erl\"},{line,192}]},{emq_auth_mongo,'-check/3-lc$^0/1-0-',2,[{file,\"d:/emqtt/v2.3/2.3.4/emq-relx/deps/emq_auth_mongo/src/emq_auth_mongo.erl\"},{line,52}]},{emq_auth_mongo,check,3,\r\n\r\n\r\n[{file,\"d:/emqtt/v2.3/2.3.4/emq-relx/deps/emq_auth_mongo/src/emq_auth_mongo.erl\"},{line,52}]},{emqttd_access_control,auth,3,[{file,\"d:/emqtt/v2.3/2.3.4/emq-relx/deps/emqttd/src/emqttd_access_control.erl\"},{line,60}]},{emqttd_protocol,authenticate,2,[{file,\"d:/emqtt/v2.3/2.3.4/emq-relx/deps/emqttd/src/emqttd_protocol.erl\"},{line,536}]},{emqttd_protocol,process,2,[{file,\"d:/emqtt/v2.3/2.3.4/emq-relx/deps/emqttd/src/emqttd_protocol.erl\"},{line,214}]},{emqttd_ws_client,handle_cast,2,[{file,\"d:/emqtt/v2.3/2.3.4/emq-relx/deps/emqttd/src/emqttd_ws_client.erl\"},{line,157}]},{gen_server2,handle_msg,2,[{file,\"d:/emqtt/v2.3/2.3.4/emq-relx/deps/emqttd/src/gen_server2.erl\"},{line,1046}]}]}\r\n\r\n\r\nThnaks  In advance...!!!!"},"comment":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/comments/364850670","html_url":"https://github.com/emqtt/emqttd/issues/1495#issuecomment-364850670","issue_url":"https://api.github.com/repos/emqtt/emqttd/issues/1495","id":364850670,"user":{"login":"vishuPPatel","id":30747120,"avatar_url":"https://avatars3.githubusercontent.com/u/30747120?v=4","gravatar_id":"","url":"https://api.github.com/users/vishuPPatel","html_url":"https://github.com/vishuPPatel","followers_url":"https://api.github.com/users/vishuPPatel/followers","following_url":"https://api.github.com/users/vishuPPatel/following{/other_user}","gists_url":"https://api.github.com/users/vishuPPatel/gists{/gist_id}","starred_url":"https://api.github.com/users/vishuPPatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishuPPatel/subscriptions","organizations_url":"https://api.github.com/users/vishuPPatel/orgs","repos_url":"https://api.github.com/users/vishuPPatel/repos","events_url":"https://api.github.com/users/vishuPPatel/events{/privacy}","received_events_url":"https://api.github.com/users/vishuPPatel/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T08:02:13Z","updated_at":"2018-02-12T08:02:13Z","author_association":"NONE","body":"and this is my acl.conf file...\r\n\r\n\r\n%%--------------------------------------------------------------------\r\n%%\r\n%% [ACL](https://github.com/emqtt/emqttd/wiki/ACL)\r\n%%\r\n%% -type who() :: all | binary() |\r\n%%                {ipaddr, esockd_access:cidr()} |\r\n%%                {client, binary()} |\r\n%%                {user, binary()}.\r\n%%\r\n%% -type access() :: subscribe | publish | pubsub.\r\n%%\r\n%% -type topic() :: binary().\r\n%%\r\n%% -type rule() :: {allow, all} |\r\n%%                 {allow, who(), access(), list(topic())} |\r\n%%                 {deny, all} |\r\n%%                 {deny, who(), access(), list(topic())}.\r\n%%\r\n%%--------------------------------------------------------------------\r\n\r\n{allow, {user, \"dashboard\"}, subscribe, [\"$SYS/#\"]}.\r\n\r\n{allow, {ipaddr, \"127.0.0.1\"}, pubsub, [\"$SYS/#\", \"#\"]}.\r\n\r\n{deny, all, subscribe, [\"$SYS/#\", {eq, \"#\"}]}.\r\n\r\n"}}
{"actor":{"display_login":"vishuPPatel"}}