[Bug 22721] New: Logon fails with large contact list

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 11 13:33:22 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=22721

           Summary: Logon fails with large contact list
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-butterfly
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: shiyee at shiyee.dk


Logging on with a large contact list fails with "Network error".
I have a complete log from butterfly, but would like to only provide it in
private, since it is from a friend of mine.

The relevant lines seem to be:
DEBUG:Transport:>>> BLP 7 BL
DEBUG:Transport:<<< BLP 7 BL
...
DEBUG:Transport:>>> ADL 8 7499
        [payload]
DEBUG:Transport:>>> ADL 9 696
        [payload]
...
DEBUG:Transport:<<< 240 8
ERROR:protocol:Notification got error :240 8
INFO:Butterfly.ConnectionManager:Connection manager quitting

Looking a bit at the code in msnp/notification.py
(_address_book_state_changed_cb) reveals that the message seems to be hitting
the 7500 byte limit to the size of an ADL message.

I quickly browsed the libpurple source, and in protocols/msn/notification.c
there is a comment that "each ADL command may contain up to 150 contacts" -
maybe this is useful?

Any further information I can provide?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list