Subject: XMPP registration with captcha - failed with response cancel "405" not-allowed
I try to register new account with a captcha , but registration failed.
I filled all fields in xdata, but it still crushes.
My request:
Server response:
Will be happy for any help!
I filled all fields in xdata, but it still crushes.
My request:
- <instructions xmlns=\"jabber:x:data\">Choose a username and password to register with this server</instructions><field xmlns=\"jabber:x:data\" type=\"hidden\" var=\"FORM_TYPE\"><value>urn:xmpp:captcha</value></field><field xmlns=\"jabber:x:data\" label=\"User\" var=\"username\" type=\"text-single\"><required /><value>victorsps</value></field><field xmlns=\"jabber:x:data\" label=\"Password\" var=\"password\" type=\"text-private\"><required /><value>a25160920</value></field><field xmlns=\"jabber:x:data\" type=\"fixed\" var=\"captcha-fallback-text\"><value>If you don't see the CAPTCHA image here, visit the web page.</value></field><field xmlns=\"jabber:x:data\" type=\"hidden\" var=\"captchahidden\"><value>workaround-for-psi</value></field><field xmlns=\"jabber:x:data\" label=\"CAPTCHA web page\" var=\"captcha-fallback-url\" type=\"text-single\"><value>http://jabber.freenet.de/captcha/13382908590620806174/image</value></field><field xmlns=\"jabber:x:data\" type=\"hidden\" var=\"from\"><value>jabber.freenet.de</value></field><field xmlns=\"jabber:x:data\" type=\"hidden\" var=\"challenge\"><value>13382908590620806174</value></field><field xmlns=\"jabber:x:data\" type=\"hidden\" var=\"sid\"><value>agsXMPP_1</value></field><field xmlns=\"jabber:x:data\" label=\"Enter the text you see\" var=\"ocr\" type=\"text-single\"><media xmlns=\"urn:xmpp:media-element\"><uri type=\"image/png\">cid:sha1+fc7819bf6ab28a54766950aa1e16e9521ae5a405@bob.xmpp.org</uri></media><required /><value>145957</value></field>"
Server response:
- <query xmlns="jabber:iq:register"><data xmlns="urn:xmpp:bob" cid="sha1+fc7819bf6ab28a54766950aa1e16e9521ae5a405@bob.xmpp.org" max-age="0" type="image/png">iVBORw0KGgoAAAANSUhEUgAAAIwAAAA8CAAAAACRYQ2XAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAA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5uYlXpufzUWG+vZPUmFD5bXmhFmCX3e78UupYBrvWd2q1JQUi/sFODF45o35/732/8E8Zfs3cOuGdYZQNSkAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDktMDJUMTU6Mjc6MTkrMDI6MDCc1KNXAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA5LTAyVDE1OjI3OjE5KzAyOjAw7Ykb6wAAAABJRU5ErkJggolQTkcNChoKAAAADUlIRFIAAAAoAAAAPAEAAAAAPMLFTQAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAJiS0dEAAHdihOkAAAAB3RJTUUH5AkCERsT1nQazQAAABBJREFUGNNj+A8CDKMkjUkAKsYq5D2hXoMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDktMDJUMTU6Mjc6MTkrMDI6MDCc1KNXAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA5LTAyVDE1OjI3OjE5KzAyOjAw7Ykb6wAAAABJRU5ErkJggg==</data><username>victorsps</username><password>a25160920</password><instructions>You need a client that supports x:data and CAPTCHA to register</instructions><x xmlns="jabber:x:data" type="form"><instructions>Choose a username and password to register with this server</instructions><field type="hidden" var="FORM_TYPE"><value>urn:xmpp:captcha</value></field><field label="User" var="username" type="text-single"><required /><value>victorsps</value></field><field label="Password" var="password" type="text-private"><required /><value>a25160920</value></field><field type="fixed" var="captcha-fallback-text"><value>If you don't see the CAPTCHA image here, visit the web page.</value></field><field type="hidden" var="captchahidden"><value>workaround-for-psi</value></field><field label="CAPTCHA web page" var="captcha-fallback-url" type="text-single"><value>http://jabber.freenet.de/captcha/13382908590620806174/image</value></field><field type="hidden" var="from"><value>jabber.freenet.de</value></field><field type="hidden" var="challenge"><value>13382908590620806174</value></field><field type="hidden" var="sid"><value>agsXMPP_1</value></field><field label="Enter the text you see" var="ocr" type="text-single"><media xmlns="urn:xmpp:media-element"><uri type="image/png">cid:sha1+fc7819bf6ab28a54766950aa1e16e9521ae5a405@bob.xmpp.org</uri></media><required /><value>145957</value></field></x></query><error xmlns="jabber:client" code="405" type="cancel"><not-allowed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error>
Will be happy for any help!
This post was edited on 2020-09-03, 16:57 by Alex.