Adium

Ticket #5454 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

"Could not send: a connection error occured" when closing MSN window after sending message

Reported by: adium Assigned to: nobody
Priority: normal Milestone: Waiting on libpurple
Component: MSN Version: 1.0.3
Severity: critical Keywords: msn connection error window close
Cc: Patch: None
Pending:

Description (Last modified by catfish_man)

Problem

When you close a MSN chat window immediately after sending a message, a connection error will be reported.

Steps to reproduce Login to MSN Open a chat window Type a message Immediately after hitting "enter", close the window (using command+w) You'll get a 'Could not send message' back, and the message is either sent or not sent (can't figure that one out).

I think Adium doesn't send the message correctly when you close the window too soon.

The debug window output relevant is as follows:

16:01:52: (Libgaim: msn) S: SB 069: USR 1 OK mahrain@hotmail.com MahRain%20-%20...万古长青
16:01:52: (Libgaim: msn) C: SB 069: CAL 2 bartzonnenberg@hotmail.com
16:01:53: (Libgaim: msn) S: SB 069: CAL 2 RINGING 327365923
16:01:53: gaim closeChat:MSN.bartzonnenberg@hotmail.com
16:01:53: closeChat: Removed <<<AIChat: 0x123675d0>:MSN.bartzonnenberg@hotmail.com>> [<NSCFSet: 0x155cef0> ()]
16:01:53: (Libgaim: msn) S: SB 069: JOI bartzonnenberg@hotmail.com Bart%20
16:01:53: (Libgaim: msn) Processing queue
16:01:53: (Libgaim: msn) Sending message
16:01:53: (Libgaim: msn) C: SB 069: MSG 3 A 153
16:01:53: (Libgaim: msn) C: SB 069: MSG 4 U 96
16:01:53: (Libgaim: msn) C: SB 069: OUT
16:01:53: (Libgaim: msn) Switchboard with unassigned conversation
16:01:53: adiumGaimConvWriteConv: Received Message could not be sent because an error with the switchboard occurred: from bartzonnenberg@hotmail.com [512]
16:01:53: [AIChat: 11bbe4d0 initForAccount]
16:01:53: chatWithContact: Added <<<AIChat: 0x11bbe4d0>:<new>>> [<NSCFSet: 0x155cef0> (<AIChat: 0x11bbe4d0>:<new>)]
16:01:53: gaim openChat:<AIChat: 0x11bbe4d0>:MSN.bartzonnenberg@hotmail.com for MSN.bartzonnenberg@hotmail.com
16:01:53: *** Conversation error type 6 (bartzonnenberg@hotmail.com): Message could not be sent because an error with the switchboard occurred:
16:01:53: adiumGaimConvWriteConv: Received <FONT FACE="MS Sans Serif"><FONT COLOR="#000000">nee half 10</FONT></FONT> from bartzonnenberg@hotmail.com [2048]
16:01:53: (Libgaim: msn) destroy httpconn (0x12389340)
16:01:54: gaim closeChat:MSN.bartzonnenberg@hotmail.com
16:01:54: closeChat: Removed <<<AIChat: 0x11bbe4d0>:MSN.bartzonnenberg@hotmail.com>> [<NSCFSet: 0x155cef0> ()]
16:02:04: (Libgaim: msn) C: NS 000: PNG
16:02:04: (Libgaim: msn) S: NS 000: QNG 50

Machine details:

MacBook Pro 1,5GB of memory Mac OS X Tiger 10.4.7 (fully updated).

Change History

09/06/2006 03:35:47 PM changed by catfish_man

  • description changed.

fix up formatting a bit

09/06/2006 03:37:44 PM changed by catfish_man

paulwilde on irc says he's seen this

09/08/2006 08:48:50 PM changed by evands

  • milestone changed from Adium X 1.0 to Adium X 1.0.1.

Not a regression.

10/10/2006 06:44:45 PM changed by johnl

I see this on a daily basis, using the latest beta version of Adium (1.0b14).

12/11/2006 04:02:04 PM changed by Davidtrials

Problem was not present for me up until upgrading to 1.0b16, now at b17, and problem is still present.

MacBook Pro, 1GB RAM, Mac OS X Tiger 10.4.8

04/09/2007 03:46:05 PM changed by tick

  • milestone changed from Adium X 1.2 to Good idea for "later".

Moving to the good idea milestone, move back individually if you intend to work on these.

04/26/2007 02:16:20 PM changed by jas8522

  • patch_status set to None.
  • version changed from 1.0b11 to 1.1svn.
  • milestone changed from Good idea for "later" to Needs dev review.

Definitely occurs in all the versions since 1.0 final. I have confirmed that the message does indeed send every time I've received this, so it might be best to detect and simply not show the error. If any further debug logging is required, let me know.

04/26/2007 02:17:42 PM changed by jas8522

  • summary changed from Connection error when closing MSN window after sending message to "Could not send: a connection error occured" when closing MSN window after sending message.

04/26/2007 06:35:38 PM changed by jas8522

  • milestone changed from Needs dev review to Waiting on libpurple.

05/03/2007 11:49:37 AM changed by dirksierd

don't know if it's still relevant mentioning, but I'm having this problem aswell, console says: May 3 17:46:22 Dirk-Sierd /Applications/Adium.app/Contents/MacOS/Adium: doClip: empty path. But i'm getting this message anyhow all the time someone gets send / received. (#6847)

05/06/2007 12:31:50 AM changed by jas8522

  • version changed from 1.1svn to 1.0.2.

General problem -> definitely not SVN specific, so setting back to last release version.

05/09/2007 04:26:29 PM changed by joonas

I have this problem too. Even with new 1.0.3. version. I have G4 and 10.4.9.

05/14/2007 04:43:40 PM changed by jas8522

  • version changed from 1.0.2 to 1.0.3.

Interestingly if you're using Skype software and you attempt to close a message window directly after (seems like 1second) sending a message it refuses to close and gives a system beep. Almost exactly as if they are trying to prevent something similar to what is happening here with the MSN connectivity.

I thought it was an interesting point to mention... it leads me to believe that either they've got a similar problem with the implementation of their messaging services as libpurple does with the MSN servers or there's something odd going on with the way Cocoa is currently handling connectivity. The latter guess also seems to tie in to the fact that I haven't heard of a single person using Pidgin (and couldn't find a related ticket on the Pidgin trac) encountering this problem.

Any thoughts?

05/15/2007 07:57:35 AM changed by mstevens

I'm not an adium user, but I was googling for error messages.

I'm frequently getting "Message could not be sent because an error with the switchboard occurred" when trying to send messages to MSN contacts on gaim and pidgin.

05/15/2007 11:29:12 AM changed by jas8522

mstevens - I believe there was some nasty server issues related to MSN connectivity over the last few days. It seems to be resolved as of about noon yesterday... hopefully this is the case with you as well!

05/15/2007 11:49:49 AM changed by mstevens

I've been seeing this for quite a while, so I don't think that's the same problem.

The messages always actually seem to go through, I just get an error as well.

05/23/2007 07:15:59 AM changed by radioharris

This problem always happens for me since Adium 0.6 Please write us a patch !

05/23/2007 07:34:00 AM changed by radioharris

In the column Milestone of this ticket there is : Waiting on libpurple. But Proteus also uses this library but the bug is not present... so it seems to be specific to Adium...

05/23/2007 12:23:26 PM changed by edr1084

This should now be fixed in libpurple. We'll be able to see if that carries through to us once we merge the new version.

05/23/2007 12:24:23 PM changed by edr1084

http://cia.vc/stats/project/pidgin/.message/d0381 for those of you playing at home.

05/23/2007 01:46:20 PM changed by catfish_man

  • status changed from new to closed.
  • resolution set to fixed.

(In [19783]) Updated libpurple to, if I'm understanding how this works correctly, c64484e549f605c8959a21553d3eb5aab736b69c. Silly monotone. Anyway, this fixes #5454 and a file transfer issue; possibly some other things as well