[#267] ResourceConstraint registration error
Summary ResourceConstraint registration error
Queue gloox
Queue Version 1.0.18
Type Bug
State Resolved
Priority 2. Medium
Owners js (at) camaya (dot) net
Requester elexis1987 (at) gmx (dot) de
Created 01/29/2017 (2505 days ago)
Updated 02/23/2017 (2480 days ago)
Assigned 01/29/2017 (2505 days ago)
Resolved 02/21/2017 (2482 days ago)

02/23/2017 04:01:03 PM elexis1987 (at) gmx (dot) de Comment #4 Reply to this comment
(question marks = hooray smiley)

02/23/2017 03:59:29 PM elexis1987 (at) gmx (dot) de Comment #3 Reply to this comment
Thanks a lot!  ????????
02/21/2017 02:48:15 PM Jakob Schröter Comment #2
State ⇒ Resolved
Reply to this comment
Thanks, this is now fixed in SVN and will be in 1.0.19 (to be released today).
01/29/2017 12:04:17 PM Jakob Schröter State ⇒ Assigned
Assigned to Jakob Schröter
01/29/2017 04:38:22 AM elexis1987 (at) gmx (dot) de Comment #1
State ⇒ Unconfirmed
New Attachment: gloox_registration_constrained.patch Download
Queue ⇒ gloox
Summary ⇒ ResourceConstraint registration error
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
The XMPP server ejabberd prohibits registering accounts too quickly 
and responds with a resource-constraint error stanza (as defined by 

However gloox doesn't catch this specific registration error and 
returns RegistrationUnknownError.

The attached patch adds a new RegistrationConstrained type, so that 
the gloox user can display a proper error message.

This is in particular needed for the multiplayer lobby of the free 
realtime strategy game 0 A.D, as players often want to register a 
second account for their friend with the same IP address and wonder 
why that doesn't work, see  http://trac.wildfiregames.com/ticket/3771

Thanks for taking care!