Not logged in. · Lost password · Register
Forum: agsXMPP RSS
songof5ky #1
Member for a month · 3 posts
Group memberships: Members
Show profile · Link to this post
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:
  1. <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:
  1. <query xmlns="jabber:iq:register"><data xmlns="urn:xmpp:bob" cid="sha1+fc7819bf6ab28a54766950aa1e16e9521ae5a405@bob.xmpp.org" max-age="0" type="image/png">iVBORw0KGgoAAAANSUhEUgAAAIwAAAA8CAAAAACRYQ2XAAAABGdBTUEAALGPC/xhBQA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zMvVM48i7uDgriiqPHu1laC+jdaD7k9/W1CVdrP5uYlXpufzUWG+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, 15:57 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4367 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
you need to post your complete XML here, not only frangments. The stanza needs to start with I<iq/>. But better would be the complete Xml of the session.

Alex
songof5ky #3
Member for a month · 3 posts
Group memberships: Members
Show profile · Link to this post
Request:
"<iq xmlns=\"jabber:client\" xml:lang=\"en\" id=\"agsXMPP_1\" from=\"jabber.freenet.de\" type=\"result\"><query xmlns=\"jabber:iq:register\"><x xmlns=\"jabber:x:data\" type=\"form\"><instructions>Choose a username and password to register with this server</instructions><field var=\"FORM_TYPE\" type=\"hidden\"><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 var=\"captcha-fallback-text\" type=\"fixed\"><value>If you don't see the CAPTCHA image here, visit the web page.</value></field><field var=\"captchahidden\" type=\"hidden\"><value>workaround-for-psi</value></field><field label=\"CAPTCHA web page\" var=\"captcha-fallback-url\" type=\"text-single\"><value>http://jabber.freenet.de/captcha/5065572124713257701/image</value></field><field var=\"from\" type=\"hidden\"><value>jabber.freenet.de</value></field><field var=\"challenge\" type=\"hidden\"><value>5065572124713257701</value></field><field var=\"sid\" type=\"hidden\"><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+af53096a920f7bea5faf1d1d53b721c08b81b3fe@bob.xmpp.org</uri></media><required /><value>258866</value></field></x><data xmlns=\"urn:xmpp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vSQ32bK2tbB3dpYde4LIvPrHF1bRv8D/szJ07scakDY7QF9Ha/7VBZD3w2ZKvNyUyju0PztoHPfVW/2yDaFBgppjNtma+mytn79w5lUDgAqLYzOYlNsk5fvNtgOj12Wns0rPQibmS/co/OW+05McVC6tJ++C6pgiRFf6kdM6b65d3YXFYo8LUeY4Obe+J7mwvqg6yVLzMiFWsAGP+UKBSbPcU7mFCTn7BvizJ6to8CsPMK7uRtb2WlrSg75Xu5kWWDBGNNVW763Ydo4SJ7vR6bosG6JgG3080ymUImE2oP5/ipXmmjCcLF6KZ+pd4BHX3s9XlPs3WuYaE+/6gnmL3+21Y9mnlqBeeQ3h7/WlczIyZJ7eKrzX5QsOQjl980GAGUZhWVJ6U+1Rhduo8Ib+fyT9uazx6VVbf0beX2rzeRy9NfPFb5dmyv/J1up2RqgFwmw7/vkb35W/ANmDdg3oD5TwLzP2kuBEp8DvajAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA5LTAzVDE2OjM3OjI0KzAyOjAwoaDn6wAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOS0wM1QxNjozNzoyNCswMjowMND9X1cAAAAASUVORK5CYIKJUE5HDQoaCgAAAA1JSERSAAAAKAAAADwBAAAAADzCxU0AAAAEZ0FNQQAAsY8L/GEFAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAAB3YoTpAAAAAd0SU1FB+QJAxIlGLqZAQQAAAAQSURBVBjTY/gPAgyjJI1JACrGKuQ9oV6DAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA5LTAzVDE2OjM3OjI0KzAyOjAwoaDn6wAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOS0wM1QxNjozNzoyNCswMjowMND9X1cAAAAASUVORK5CYII=</data><instructions>You need a client that supports x:data and CAPTCHA to register</instructions><username>victorsps</username><password>a25160920</password></query></iq>"
songof5ky #4
Member for a month · 3 posts
Group memberships: Members
Show profile · Link to this post
Response:
 
{<iq xmlns="jabber:client" xml:lang="en" id="agsXMPP_2" from="jabber.freenet.de" type="error"><query xmlns="jabber:iq:register"><data xmlns="urn:xmpp:bob" max-age="0" cid="sha1+af53096a920f7bea5faf1d1d53b721c08b81b3fe@bob.xmpp.org" type="image/png">iVBORw0KGgoAAAANSUhEUgAAAIwAAAA8CAAAAACRYQ2XAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfkCQMSJRi6mQEEAAANWUlEQVRo3u1ZZ1hVV7p+T6FzDl0sVBULIjbUGOy9oyYTO9ZojDqTceRaEmMZExWjRmPNaEyQqGOsVxMVY+woGlGKoCJKPXQ4HDhw6n7vj71BMJm53vkz93nG/efs9a21vv2ur6/vyIj/P48cb8C8AfMGzBsw/4lg9Lp/Pxil+FN5PanSJszXw1WttCoAACyO82rZUvl/YGWshp2j3FRh8bCvp1nyYdIKbq0Ur8VBRgDQb04I7+bn5WBrIz8U3WubE4Aan3n2RkNA66A2r4lFfy7N4mGwMXsm3v5ygETLPiwccAxvavLq0dn5dcEkDZy9zkEisHbx3VtqIH3U+QpNfo3BYAgKCgr4X/nU/LBgwvgQf3sAyXkrlswAAFz+TgiZbZtZrL9T7BPR8/XAJK9YG9aApP1LTYwNzkdfAVCQl5tjMBgsrQID/Bz/CZuyDbW76gemiu5fDwdwY+Xc/v4iKe1CSlTw64CpWDSvdyOdFk5ZMhpbMvZKw9zc3AKDwWiK6PvSFAw6o8XNTUGZRNhWPrNVAw53e+ntkT0ievRLktmm0Xfrd75iwAf9+4nzySEipqZbFg90TBxSt8TXF9Z8TWHhkj3dAYCwZj0oLrUXKtJHDHPxBAB8fW9/I7mFDT01GbOmDG9AssFVpzAJgaVAqxRqhaZN7F+VTGW7xy4AsCbBIUFY8UcAQPev3moZ1/oV3OedRNEYi3RWq0JnMql++H7Fg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cAAAAASUVORK5CYII=</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 var="FORM_TYPE" type="hidden"><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 var="captcha-fallback-text" type="fixed"><value>If you don't see the CAPTCHA image here, visit the web page.</value></field><field var="captchahidden" type="hidden"><value>workaround-for-psi</value></field><field label="CAPTCHA web page" var="captcha-fallback-url" type="text-single"><value>http://jabber.freenet.de/captcha/5065572124713257701/image</value></field><field var="from" type="hidden"><value>jabber.freenet.de</value></field><field var="challenge" type="hidden"><value>5065572124713257701</value></field><field var="sid" type="hidden"><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+af53096a920f7bea5faf1d1d53b721c08b81b3fe@bob.xmpp.org</uri></media><required /><value>258866</value></field></x></query><error code="405" type="cancel"><not-allowed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>}
Avatar
Alex #5
Member since Feb 2003 · 4367 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Please see here in XEP-0004: Data Forms how to handle and reply to data forms correctly.

You also still have not sent us the complete XML session as we requested it
This post was edited on 2020-09-04, 16:37 by Alex.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS