I keep getting an error
There was an error creating the account: Not allowed
I was wondering if someone could either tell me what I'm doing wrong or tell me the next steps to debug this problem.
I've tried disabling captchas, but commenting out the captcha_cmd etc lines don't seem to do anything (neither disable captcha nor solve my problem).
I've changed the true domain to example.net in the files that follow.
The log file shows:
=INFO REPORT==== 2012-01-13 12:27:37 === I(<0.360.0>:ejabberd_listener:281) : (#Port<0.4537>) Accepted connection {{192,168,1,109},58703} -> {{192,168,1,10},5281} =INFO REPORT==== 2012-01-13 12:27:37 === D(<0.2100.0>:ejabberd_http:141) : S: [{["register"],mod_register_web}] =INFO REPORT==== 2012-01-13 12:27:37 === I(<0.2100.0>:ejabberd_http:143) : started: {tls, {tlssock,#Port<0.4537>, #Port<0.4538>}} =INFO REPORT==== 2012-01-13 12:27:39 === D(<0.2100.0>:ejabberd_http:914) : GOT ssl data "GET /register/ HTTP/1.1\r\nHost: jabber.example.net:5281\r\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nAccept-Charset: UTF-8,*\r\nConnection: keep-alive\r\n\r\n" =INFO REPORT==== 2012-01-13 12:27:39 === D(<0.2100.0>:ejabberd_http:952) : Method: "GET" =INFO REPORT==== 2012-01-13 12:27:39 === D(<0.2100.0>:ejabberd_http:959) : URI: "/register/" Version: "HTTP/1.1" L3: [] =INFO REPORT==== 2012-01-13 12:27:39 === D(<0.2100.0>:ejabberd_http:918) : Parsed request {ok, {http_request,'GET', {abs_path,"/register/"}, {1,1}}} =INFO REPORT==== 2012-01-13 12:27:39 === D(<0.2100.0>:ejabberd_http:260) : ({tlssock,#Port<0.4537>,#Port<0.4538>}) http query: 'GET' /register/ =INFO REPORT==== 2012-01-13 12:27:39 === D(<0.2100.0>:ejabberd_http:329) : ["register"] matches ["register"] =INFO REPORT==== 2012-01-13 12:27:41 === D(<0.2100.0>:ejabberd_http:914) : GOT ssl data "GET /register/new HTTP/1.1\r\nHost: jabber.example.net:5281\r\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nAccept-Charset: UTF-8,*\r\nConnection: keep-alive\r\nReferer: https://jabber.example.net:5281/register/\r\n\r\n" =INFO REPORT==== 2012-01-13 12:27:41 === D(<0.2100.0>:ejabberd_http:952) : Method: "GET" =INFO REPORT==== 2012-01-13 12:27:41 === D(<0.2100.0>:ejabberd_http:959) : URI: "/register/new" Version: "HTTP/1.1" L3: [] =INFO REPORT==== 2012-01-13 12:27:41 === D(<0.2100.0>:ejabberd_http:918) : Parsed request {ok, {http_request,'GET', {abs_path,"/register/new"}, {1,1}}} =INFO REPORT==== 2012-01-13 12:27:41 === D(<0.2100.0>:ejabberd_http:260) : ({tlssock,#Port<0.4537>,#Port<0.4538>}) http query: 'GET' /register/new =INFO REPORT==== 2012-01-13 12:27:41 === D(<0.2100.0>:ejabberd_http:329) : ["register","new"] matches ["register"] =INFO REPORT==== 2012-01-13 12:27:43 === D(<0.2099.0>:ejabberd_http:260) : (#Port<0.4536>) http query: 'GET' /captcha/125719653/image =INFO REPORT==== 2012-01-13 12:27:43 === D(<0.2099.0>:ejabberd_http:329) : ["captcha","125719653","image"] matches ["captcha"] =INFO REPORT==== 2012-01-13 12:27:56 === D(<0.2100.0>:ejabberd_http:914) : GOT ssl data "POST /register/new HTTP/1.1\r\nHost: jabber.example.net:5281\r\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nAccept-Charset: UTF-8,*\r\nConnection: keep-alive\r\nReferer: https://jabber.example.net:5281/register/new\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: 96\r\n\r\nusername=testuser&password=1234asdf&password2=1234asdf&id=125719653&key=385966®ister=Register" =INFO REPORT==== 2012-01-13 12:27:56 === D(<0.2100.0>:ejabberd_http:952) : Method: "POST" =INFO REPORT==== 2012-01-13 12:27:56 === D(<0.2100.0>:ejabberd_http:959) : URI: "/register/new" Version: "HTTP/1.1" L3: [] =INFO REPORT==== 2012-01-13 12:27:56 === D(<0.2100.0>:ejabberd_http:918) : Parsed request {ok, {http_request,'POST', {abs_path,"/register/new"}, {1,1}}} =INFO REPORT==== 2012-01-13 12:27:56 === D(<0.2100.0>:ejabberd_http:260) : ({tlssock,#Port<0.4537>,#Port<0.4538>}) http query: 'POST' /register/new =INFO REPORT==== 2012-01-13 12:27:56 === D(<0.2100.0>:ejabberd_http:430) : client data: "username=testuser&password=1234asdf&password2=1234asdf&id=125719653&key=385966®ister=Register" =INFO REPORT==== 2012-01-13 12:27:56 === D(<0.2100.0>:ejabberd_http:329) : ["register","new"] matches ["register"]
I'm running this in a jail on FreeBSD 8.2:
FreeBSD jabber.example.net 8.2-RELEASE FreeBSD 8.2-RELEASE #14 r+3c62a32-dirty: Wed Oct 5 12:04:06 CDT 2011 root@server:/usr/obj/usr/src/sys/POLLING amd64
To disable captcha, use the
To disable captcha, use the value 'undefined' instead of removing the option.
Regarding "Not allowed", there are many reasons for the registration to be disallowed.
And it isn't possible to determine that from those logs.