id

57

publisher

goffi@goffi.org/d08fc2c8-30c5-4081-bff7-2f0f733436e8

title
Error when trying to join a MUC from a not reachable service
reporter
Adrien
created
17/11/2013, 11:17
updated
17/11/2013, 11:17
labels
Backend
type
bug
status
queued
priority
normal
milestone
0.7
severity
normal
body

Trying to join a MUC which is not accessible because it is not hosted by the local prosody service and the server is not exposed to the Internet, we get a Timeout error message which is not silent enough: it blocks sat. First this message which doesn't block: Error while joining room Then after a couple of dozens seconds: #Jumping into debugger for post-mortem of exception ' C: Deferred was created: C: File "/usr/local/bin/twistd", line 14, in <module> C: run() C: File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 27, in run C: app.run(runApp, ServerOptions) C: File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 652, in run C: runApp(config) C: File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp C: _SomeApplicationRunner(config).run() C: File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 390, in run C: self.postApplication() C: File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/_twistd_unix.py", line 231, in postApplication C: self.startReactor(None, self.oldstdout, self.oldstderr) C: File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 402, in startReactor C: self.config, oldstdout, oldstderr, self.profiler, reactor) C: File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 321, in runReactorWithLogging C: pdb.runcall(reactor.run) C: File "/usr/lib/python2.7/pdb.py", line 1248, in runcall C: return Pdb().runcall(*args, **kwds) C: File "/usr/lib/python2.7/bdb.py", line 436, in runcall C: res = func(*args, **kwds) C: File "/usr/local/lib/python2.7/dist-packages/twisted/internet/_glibbase.py", line 298, in run C: self.callWhenRunning(self._reschedule) C: File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb C: retval = candidate_method(self, *args, **keywords) C: File "<DBus bridge>", line 1, in joinMUC C: File "/home/souliane/workspace/sat/sat/bridge/DBus.py", line 89, in _callback C: result = self.cb[name](*args, **kwargs) C: File "/home/souliane/workspace/sat/sat/plugins/plugin_xep_0045.py", line 192, in _join C: d = self.join(room_jid, nick, options, profile) C: File "/home/souliane/workspace/sat/sat/plugins/plugin_xep_0045.py", line 178, in join C: return self.clients[profile].join(room_jid, nick, history_options, password).addCallbacks(self.__room_joined, self.__err_joining_room, callbackKeywords={'profile': profile}, errbackArgs=[room_jid, nick, history_options, password, profile]) C: File "/usr/local/lib/python2.7/dist-packages/wokkel-0.7.1-py2.7.egg/wokkel/muc.py", line 1471, in join C: password) C: File "/usr/local/lib/python2.7/dist-packages/wokkel-0.7.1-py2.7.egg/wokkel/muc.py", line 614, in join C: return self._sendDeferred(presence) C: File "/usr/local/lib/python2.7/dist-packages/wokkel-0.7.1-py2.7.egg/wokkel/muc.py", line 575, in _sendDeferred C: d = defer.Deferred() I: First Invoker was: I: File "/usr/local/bin/twistd", line 14, in <module> I: run() I: File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 27, in run I: app.run(runApp, ServerOptions) I: File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 652, in run I: runApp(config) I: File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp I: _SomeApplicationRunner(config).run() I: File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 390, in run I: self.postApplication() I: File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/_twistd_unix.py", line 231, in postApplication I: self.startReactor(None, self.oldstdout, self.oldstderr) I: File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 402, in startReactor I: self.config, oldstdout, oldstderr, self.profiler, reactor) I: File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 321, in runReactorWithLogging I: pdb.runcall(reactor.run) I: File "/usr/lib/python2.7/pdb.py", line 1248, in runcall I: return Pdb().runcall(*args, **kwds) I: File "/usr/lib/python2.7/bdb.py", line 436, in runcall I: res = func(*args, **kwds) I: File "/usr/local/lib/python2.7/dist-packages/twisted/internet/_glibbase.py", line 298, in run I: self.callWhenRunning(self._reschedule) I: File "/usr/local/lib/python2.7/dist-packages/twisted/internet/_glibbase.py", line 333, in _simulate I: self.runUntilCurrent() I: File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent I: call.func(*call.args, **call.kw) I: File "/usr/local/lib/python2.7/dist-packages/wokkel-0.7.1-py2.7.egg/wokkel/muc.py", line 559, in onTimeout I: d.errback(xmlstream.TimeoutError("Timeout waiting for response.")) ': > /usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py(480)_startRunCallbacks() -> raise AlreadyCalledError(extra)

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_57

You are not logged. You need to log in to comment.