Opened 3 months ago

Last modified 3 months ago

#23717 new defect

Cannot create multiple temporary XMPP accounts in the same session

Reported by: huyvq Owned by:
Priority: Medium Milestone:
Component: Applications/Tor Messenger Version:
Severity: Normal Keywords:
Cc: sukhbir, arlolra, boklm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

TM version: 0.5.0b1 (based on Instantbird 1.6a1pre)

Steps to reproduce:

  • Create a temporary XMPP account -> succeeded
  • Create another temporary XMPP account. The Accounts window shows Error: without any details (please see the screenshot).

Debug Log shows:

LOG (@ prpl-jabber: XMPPParser.prototype._logReceivedData resource:///modules/xmpp-xml.jsm:349)
received:
<iq xmlns="jabber:client" id="396b4d85-c241-7747-ad55-e1025d6a2ce9" type="error" from="jabber.otr.im">
<error xmlns="jabber:client" type="wait">
<not-acceptable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq> 

Child Tickets

Attachments (1)

error.png (33.6 KB) - added by huyvq 3 months ago.

Download all attachments as: .zip

Change History (3)

Changed 3 months ago by huyvq

Attachment: error.png added

comment:1 Changed 3 months ago by sukhbir

Thanks for reporting!

I am guessing this is because jabber.otr.im is rate-limiting the new registrations from a given IP, which is what happens during one session.

I see two ways of fixing this:

  • throw up a better error message (which it should but since in this case it doesn't have much to go with other than "error", or maybe we are not handling it properly)
  • randomize the servers each time the user requests a temporary account (we can only do this with servers that don't use OCR during registration)

Suggestions welcome!

comment:2 Changed 3 months ago by huyvq

I think we should do both.

Can we let the user select the server he/she wants? ChatSecure provides a number of servers which don't require captcha during registration (https://github.com/ChatSecure/xmpp-server-list/blob/master/servers.json)

Note: See TracTickets for help on using tickets.