{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/190","repository_url":"https://api.github.com/repos/processone/ejabberd-contrib","labels_url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/190/comments","events_url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/190/events","html_url":"https://github.com/processone/ejabberd-contrib/issues/190","id":176542517,"number":190,"title":"acl:parse_ip_netmask","user":{"login":"gilangpr","id":3850533,"avatar_url":"https://avatars.githubusercontent.com/u/3850533?v=3","gravatar_id":"","url":"https://api.github.com/users/gilangpr","html_url":"https://github.com/gilangpr","followers_url":"https://api.github.com/users/gilangpr/followers","following_url":"https://api.github.com/users/gilangpr/following{/other_user}","gists_url":"https://api.github.com/users/gilangpr/gists{/gist_id}","starred_url":"https://api.github.com/users/gilangpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilangpr/subscriptions","organizations_url":"https://api.github.com/users/gilangpr/orgs","repos_url":"https://api.github.com/users/gilangpr/repos","events_url":"https://api.github.com/users/gilangpr/events{/privacy}","received_events_url":"https://api.github.com/users/gilangpr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"badlop","id":96807,"avatar_url":"https://avatars.githubusercontent.com/u/96807?v=3","gravatar_id":"","url":"https://api.github.com/users/badlop","html_url":"https://github.com/badlop","followers_url":"https://api.github.com/users/badlop/followers","following_url":"https://api.github.com/users/badlop/following{/other_user}","gists_url":"https://api.github.com/users/badlop/gists{/gist_id}","starred_url":"https://api.github.com/users/badlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlop/subscriptions","organizations_url":"https://api.github.com/users/badlop/orgs","repos_url":"https://api.github.com/users/badlop/repos","events_url":"https://api.github.com/users/badlop/events{/privacy}","received_events_url":"https://api.github.com/users/badlop/received_events","type":"User","site_admin":false},"assignees":[{"login":"badlop","id":96807,"avatar_url":"https://avatars.githubusercontent.com/u/96807?v=3","gravatar_id":"","url":"https://api.github.com/users/badlop","html_url":"https://github.com/badlop","followers_url":"https://api.github.com/users/badlop/followers","following_url":"https://api.github.com/users/badlop/following{/other_user}","gists_url":"https://api.github.com/users/badlop/gists{/gist_id}","starred_url":"https://api.github.com/users/badlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlop/subscriptions","organizations_url":"https://api.github.com/users/badlop/orgs","repos_url":"https://api.github.com/users/badlop/repos","events_url":"https://api.github.com/users/badlop/events{/privacy}","received_events_url":"https://api.github.com/users/badlop/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-09-13T03:54:31Z","updated_at":"2016-11-08T10:37:25Z","closed_at":null,"body":"CRASH REPORT Process <0.25828.1> with 0 neighbours crashed with reason: call to undefined function acl:parse_ip_netmask({127,0,0,1})\n\nI want to test using mod_rest plugin, but error came..\nwhats the problem? or am I missing something?\n"},"comment":{"url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/comments/259102890","html_url":"https://github.com/processone/ejabberd-contrib/issues/190#issuecomment-259102890","issue_url":"https://api.github.com/repos/processone/ejabberd-contrib/issues/190","id":259102890,"user":{"login":"cobrowserAlex","id":10495775,"avatar_url":"https://avatars.githubusercontent.com/u/10495775?v=3","gravatar_id":"","url":"https://api.github.com/users/cobrowserAlex","html_url":"https://github.com/cobrowserAlex","followers_url":"https://api.github.com/users/cobrowserAlex/followers","following_url":"https://api.github.com/users/cobrowserAlex/following{/other_user}","gists_url":"https://api.github.com/users/cobrowserAlex/gists{/gist_id}","starred_url":"https://api.github.com/users/cobrowserAlex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cobrowserAlex/subscriptions","organizations_url":"https://api.github.com/users/cobrowserAlex/orgs","repos_url":"https://api.github.com/users/cobrowserAlex/repos","events_url":"https://api.github.com/users/cobrowserAlex/events{/privacy}","received_events_url":"https://api.github.com/users/cobrowserAlex/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T10:37:25Z","updated_at":"2016-11-08T10:37:25Z","body":"Solved it! a default mod_rest.yml was installed in ```<ejabberd_install_dir>.ejabberd-modules/mod_rest/conf/mod_rest.yml``` moving that to  mod_rest.yml.dist made everything work again.\r\n\r\nthe content of this file:\r\n```\r\nmodules:\r\n  mod_rest:\r\n    allowed_ips:\r\n      - \"> {127,0,0,1} .\"\r\nlisten:\r\n  -\r\n    port: 5285\r\n    module: ejabberd_http\r\n    request_handlers:\r\n       \"/rest\": mod_rest\r\n```\r\nmaybe that helps in fixing this for the next one..."}}
{"actor":{"display_login":"cobrowserAlex"}}