[Pidgin] #2638: "Message could not be sent because a connection error occurred:" (on MSN)

Pidgin trac at pidgin.im
Mon Aug 27 19:31:59 EDT 2007


#2638: "Message could not be sent because a connection error occurred:" (on MSN)
---------------------------+------------------------------------------------
  Reporter:  ThorbjornTux  |       Owner:       
      Type:  defect        |      Status:  new  
  Priority:  minor         |   Milestone:       
 Component:  libpurple     |     Version:  2.1.0
Resolution:                |    Keywords:       
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by evands):

 This is [http://trac.adiumx.com/ticket/7682 Adium Ticket #7682]. From the
 debug logging there, it appears that the socket callback is being
 triggered for a write when libpurple is expecting only a read:
 {{{
 16:31:56: (Libpurple: msn) new httpconn (0x5bb480)
 16:31:56: (Libpurple: msn) C: NS 000: XFR 9 SB
 16:31:56: (Libpurple: msn) Appending message to queue.
 16:31:56: (Libpurple: msn) S: NS 000: XFR 9 SB 207.46.27.51:1863 CKI
 995428939.65248221.13824190
 16:31:56: (Libpurple: dns) DNS query for 'gateway.messenger.hotmail.com'
 queued
 16:31:56: (Libpurple: msn) C: SB 001: USR 1 test2 at test.com
 995428939.65248221.13824190
 16:31:56: Performing DNS resolve: gateway.messenger.hotmail.com:80
 16:31:56: DNS resolve complete for gateway.messenger.hotmail.com:80
 16:31:56: (Libpurple: dnsquery) IP resolved for
 gateway.messenger.hotmail.com
 16:31:56: (Libpurple: proxy) Attempting connection to 207.46.96.154
 16:31:56: (Libpurple: proxy) Connecting to
 gateway.messenger.hotmail.com:80 with no proxy
 16:31:56: (Libpurple: proxy) Connection in progress
 16:31:57: (Libpurple: proxy) Connected to
 gateway.messenger.hotmail.com:80.
 16:31:57: Called write with no write_tag (read_tag 58 write_tag 0) for
 8981480
 16:31:59: (Libpurple: msn) Connection error from Switchboard server
 (207.46.27.51): Reading error
 16:31:59: (Libpurple: msn) Switchboard with unassigned conversation
 16:31:59: adiumPurpleConvWriteConv: Received Message could not be sent
 because a connection error occurred: from test at test.com [512]
 16:31:59: *** Conversation error type 6 (test at test.com): Message could not
 be sent because a connection error occurred:
 16:31:59: adiumPurpleConvWriteConv: Received <FONT FACE="MS Sans
 Serif"><FONT COLOR="#000000">Test</FONT></FONT> from test at test.com [2048]
 16:31:59: (Libpurple: msn) destroy httpconn (0x5bb480)
 }}}

 The debug logging which doesn't start with {{{(Libpurple}}} is from Adium;
 the "Called write with no write_tag" occurs when the socket callback is
 called as described above.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/2638#comment:22>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list