Posted by avb at 2006-04-09 08:38:07
I'm using pyicq-t (latest svn) and twisted 2.0. When my client sending online
presense to server nothing happend.
my icq stays offline. When i'm sending online presence to transport -- nothing
happend too. Offline again.
When i'm sending offline and then online presence(from XML console) to
transport, it logs to icq without any problems.
Here are some server side logs:
==> Sent online presence to server ==
[2006-04-09 08:14:49] INFO :: :: ServerDiscovery :: sendDiscoInfoResponse ::
{'ulang': None, 'to': u'avb@jabber.org.by/Gajim', 'jid': u'jit.jabber.org.by',
'ID': u'p23'} :: [2006-04-09
08:14:49]
Unhandled error in Deferred:
[2006-04-09 08:14:49] Traceback (most recent call last):
Failure: twisted.internet.error.TimeoutError: User timeout caused
connection failure.
==> Sent online presence to transport ==
[2006-04-09 08:16:49] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'el': <twisted.words.xish.domis
h.Element object at 0x40a1e66c>} ::
[2006-04-09 08:16:49] INFO ::
avb@jabber.org.by ::
Session :: onPresence :: {'status': None, 'el':
<twisted.words.xish.domish.Element object at 0x40a1e66c>, 'child2':
<twisted.words.xish.domish.Element object at 0x40a1e78c>, 'froj':
<twisted.words.protocols.jabber.jid.JID instance at 0x40a1e20c>, 'show':
None, 'url': None, 'fro': u'avb@jabber.org.by/Gajim', 'avatarHash': '',
'avatarType': '', 'ptype': None, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0x40a1eb2c>, 'to':
u'jit.jabber.org.by', 'child': <twisted.words.xish.domish.Element object at
0x40a1ef0c>, 'nickname': '', 'priority': None} :: Parsed presence packet
[2006-04-09 08:16:49] INFO :: avb@jabber.org.by :: Session ::
handleResourcePresence :: {'status': None, 'resource': u'Gajim', 'show': None,
'url': None, 'ptype': None, 'existing': True, 'priority': None, 'to':
u'jit.jabber.org.by', 'tor': None, 'source': u'avb@jabber.org.by'} :: Setting
status [2006-04-09 08:16:49] INFO ::
avb@jabber.org.by :: Session :: handleResourcePresence :: {'status': None,
'resource': u'Gajim', 'show': None, 'url': None, 'ptype': None, 'existing':
True, 'priority': None, 'to': u'jit.jabber.org.by', 'tor': None, 'source':
u'avb@jabber.org.by', 'highestActive': u'Gajim'} :: Updating status on legacy
service
[2006-04-09 08:16:49] INFO :: avb@jabber.org.by ::
glue.LegacyConnection :: setStatus :: {'url': None, 'nickname': u'avb',
'friendly': None, 'show': None} ::
<== Then transport do nothing with that client
Posted by jadestorm at 2006-04-09 09:56:56
Ah Gajim again.... it and Pandion have a lot of odd problems like this.
On the
==> Sent online presence to tranport == ... is that your manual send or
gajims?
Posted by avb at 2006-04-09 12:12:20
yeh, presence sent from XML console
Posted by avb at 2006-04-09 12:18:24
also this problem exist on PSI connection too. I want to note, that this
problem
sometimes doesn't exist. Sometimes i'm able to login icq at start but most
times
i need to manualy send 'unavailabe/available' presence from XML console for
loging in.
Posted by jadestorm at 2006-04-09 17:46:13
Hrm. That's bizarre. Have you ever seen any logs get generated when the
client
you are using fails to log you in?
Posted by guest at 2006-04-10 12:05:17
i was trying to reproduse bug now. Here is a log. Now i'm getting another
error.
See.
====
h.domish.Element object at 0x40a841cc>, 'nickname': '', 'priority': u'0'} ::
Parsed presence packet
[2006-04-10 11:57:37] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'el': <twisted.words.xish.domish.Element object at 0x40a841ec>} ::
[2006-04-10 11:57:37] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'status': None, 'el': <twisted.words.xish.domish.Element object at
0x40a841ec>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0x40a8436c>, 'show': None, 'url': None, 'fro': u'avb@jabber.org.by/Bombus',
'avatarHash': '', 'avatarType': '', 'ptype': None, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0x40a843cc>, 'to':
u'73135011@jit.jabber.org.by', 'child': <twisted.words.xish.domish.Element
object at 0x40a8424c>, 'nickname': '', 'priority': u'0'} :: Parsed presence
packet
[2006-04-10 11:57:37] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'el': <twisted.words.xish.domish.Element object at 0x40a8426c>} ::
[2006-04-10 11:57:37] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'status': None, 'el': <twisted.words.xish.domish.Element object at
0x40a8426c>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0x40a843ec>, 'show': None, 'url': None, 'fro': u'avb@jabber.org.by/Bombus',
'avatarHash': '', 'avatarType': '', 'ptype': None, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0x40a8444c>, 'to':
u'74164860@jit.jabber.org.by', 'child': <twisted.words.xish.domish.Element
object at 0x40a842cc>, 'nickname': '', 'priority': u'0'} :: Parsed presence
packet
[2006-04-10 11:57:37] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'el': <twisted.words.xish.domish.Element object at 0x40a842ec>} ::
[2006-04-10 11:57:37] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'status': None, 'el': <twisted.words.xish.domish.Element object at
0x40a842ec>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0x40a8446c>, 'show': None, 'url': None, 'fro': u'avb@jabber.org.by/Bombus',
'avatarHash': '', 'avatarType': '', 'ptype': None, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0x40a844cc>, 'to':
u'8208503@jit.jabber.org.by', 'child': <twisted.words.xish.domish.Element
object at 0x40a8434c>, 'nickname': '', 'priority': u'0'} :: Parsed presence
packet
[2006-04-10 11:57:37] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'el': <twisted.words.xish.domish.Element object at 0x40a8436c>} ::
[2006-04-10 11:57:37] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'status': None, 'el': <twisted.words.xish.domish.Element object at
0x40a8436c>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0x40a844ec>, 'show': None, 'url': None, 'fro': u'avb@jabber.org.by/Bombus',
'avatarHash': '', 'avatarType': '', 'ptype': None, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0x40a8454c>, 'to':
u'82656571@jit.jabber.org.by', 'child': <twisted.words.xish.domish.Element
object at 0x40a843cc>, 'nickname': '', 'priority': u'0'} :: Parsed presence
packet
[2006-04-10 11:57:38] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'el': <twisted.words.xish.domish.Element object at 0x40a843ec>} ::
[2006-04-10 11:57:38] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'status': None, 'el': <twisted.words.xish.domish.Element object at
0x40a843ec>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0x40a8456c>, 'show': None, 'url': None, 'fro': u'avb@jabber.org.by/Bombus',
'avatarHash': '', 'avatarType': '', 'ptype': None, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0x40a845cc>, 'to':
u'85648685@jit.jabber.org.by', 'child': <twisted.words.xish.domish.Element
object at 0x40a8444c>, 'nickname': '', 'priority': u'0'} :: Parsed presence
packet
[2006-04-10 11:57:38] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'el': <twisted.words.xish.domish.Element object at 0x40a8446c>} ::
[2006-04-10 11:57:38] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'status': None, 'el': <twisted.words.xish.domish.Element object at
0x40a8446c>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0x40a845ec>, 'show': None, 'url': None, 'fro': u'avb@jabber.org.by/Bombus',
'avatarHash': '', 'avatarType': '', 'ptype': None, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0x40a8464c>, 'to':
u'96363359@jit.jabber.org.by', 'child': <twisted.words.xish.domish.Element
object at 0x40a844cc>, 'nickname': '', 'priority': u'0'} :: Parsed presence
packet
[2006-04-10 11:57:38] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'el': <twisted.words.xish.domish.Element object at 0x40a844ec>} ::
[2006-04-10 11:57:38] INFO :: avb@jabber.org.by :: Session :: onPresence ::
{'status': None, 'el': <twisted.words.xish.domish.Element object at
0x40a844ec>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0x40a8466c>, 'show': None, 'url': None, 'fro': u'avb@jabber.org.by/Bombus',
'avatarHash': '', 'avatarType': '', 'ptype': None, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0x40a846cc>, 'to':
u'98718546@jit.jabber.org.by', 'child': <twisted.words.xish.domish.Element
object at 0x40a8454c>, 'nickname': '', 'priority': u'0'} :: Parsed presence
packet
[2006-04-10 11:57:38] INFO :: avb@jabber.org.by :: Session :: errback ::
{'args': <twisted.python.failure.Failure None>} :: Error fetching vcard
(avatar)
[2006-04-10 11:57:38] Unhandled error in Deferred:
[2006-04-10 11:57:38] Traceback (most recent call last):
Failure: None: None
====
Posted by avb at 2006-04-25 17:11:55
today i made a kernel upgrade to 2.6 tree.
As i understand now it use epoll reactor. This bug is gone now.
So the bug is in reactor which is used for 2.4 kernels by default.
Posted by jadestorm at 2006-04-26 00:46:00
Is the kernel the -only- thing you updated?
Posted by avb at 2006-04-26 10:18:37
not exactly. Also i made an upgrade of ejabberd to 1.1.0, but i'm not sure that
the problem was in it. But i will look changelog of it. maybe i will found
something intresting.
Owner: ---