Opened 11 years ago

Closed 10 years ago

#1574 closed defect (fixed)

error handling

Reported by: rakaur Owned by: asterix
Priority: normal Milestone: 0.11
Component: None Version: hg
Severity: normal Keywords:
Cc: Blocked By:
Blocking: OS:


As far as I can tell, Gajim does very little in the way of error handling. If I get errors back from transports saying "you can't sign in right now, the transport is down" Gajim doesn't tell me anything. Also, it seems as if it doesn't even have a handler for stream errors (debug always says 'unknown stanza').

Change History (3)

comment:1 Changed 11 years ago by asterix

could you copy here the XML things you receive please ?

comment:2 Changed 10 years ago by jim++

  • Milestone set to 0.11
  • Version set to svn

Example, trying to register to dead icq gateway :

<iq to="icq" type="get" id="42" from="">
<query xmlns="jabber:iq:register" />

<iq to='' type='error' id='42' from='icq'>
<query xmlns='jabber:iq:register'/>
<error type='wait' code='502'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Component 'icqlinker' is not connected to server</text>

=>> UI popup :

*Invalid answer* 
Transport icq answered wrongly to register request.

See ticket #2520 also.

comment:3 Changed 10 years ago by asterix

  • Resolution set to fixed
  • Status changed from new to closed

(In [7a2f3c437d2a37793ff2e671163531d6d932dc09]) show error message when we try to register to an unavailable transport. fixes #1574

Note: See TracTickets for help on using tickets.