Bug 107023 - unknown error disconnect reconnect
Summary: unknown error disconnect reconnect
Status: RESOLVED DUPLICATE of bug 102217
Alias: None
Product: kopete
Classification: Applications
Component: ICQ and AIM Plugins (show other bugs)
Version: 0.10.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 107036 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-08 11:12 UTC by arne anka
Modified: 2005-06-26 06:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arne anka 2005-06-08 11:12:40 UTC
Version:           0.10.2 (using KDE 3.4.1, Debian Package 4:3.4.1-1 (3.1))
Compiler:          gcc version 3.3.6 (Debian 1:3.3.6-5)
OS:                Linux (i686) release 2.6.11.10

kopete just disconnected for the 3d time today with (kind of)
"unknown error. disconnecting". 
an "unknown error" is not really informative, even more -- if kopete does not know itself why it disconnected it has to attempt a reconnect asap (even more as reconnecting works flawlessly)! at least something like "try reconnecting?" should be included in such a message. below a few lines from .xsession-errors that may be related.

QFile::open: No file name specified ... (several times)
QObject::connect: Cannot connect (null)::isConnectedChanged() to Kopete::Contact::slotAccountIsConnec
tedChanged()
QFile::open: No file name specified... (several times)
QMetaObject::findSignal:ClientStream: Conflict with Stream::readyRead()
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
QObject::connect: No such signal TypingNotifyTask::gotInfo(const QString&)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'oscarclient')
QFile::open: No file name specified ... (several times)
Comment 1 Slick 2005-06-08 12:24:22 UTC
> kopete just disconnected for the 3d time today with (kind of)
> "unknown error. disconnecting".
> an "unknown error" is not really informative, even more -- if kopete does
> not know itself why it disconnected it has to attempt a reconnect asap
> (even more as reconnecting works flawlessly)! at least something like "try
> reconnecting?" should be included in such a message. below a few lines from
> .xsession-errors that may be related.



I have been experiencing the same problem.  AIM and ICQ disconnect due to an 
UnknownError Has Occured and once this happens it reconnects almost instantly 
to  a few minslater having the samne thing happen, untill such time as i 
close Kopete and re-open it.
Comment 2 Matt Rogers 2005-06-08 14:13:52 UTC
I need debug output in order to fix this. In order for you to provide me with debug output (I don't have this problem, so i can't get my own debug output), you'll need to recompile kopete with --enable-debug.

./configure --enable-debug --prefix=`kde-config --prefix`
make
su -c "make install"

should get you recompiled. Running kopete from a konsole session will let you see (and save the debug output). Please only log into the account that's having problems to make the debug output as small as possible. If you need more assistance, please mail us at kopete-devel@kde.org or join on IRC in the #kopete channel on freenode.
Comment 3 Matt Rogers 2005-06-08 18:51:29 UTC
*** Bug 107036 has been marked as a duplicate of this bug. ***
Comment 4 arne anka 2005-06-15 09:41:18 UTC
well, as compiling a debug-enabled version is not feasible for me atm and after experiencing the same error today again all of a sudden, thinking now it's merely an icq.com caused server-problem, i will close the bug.
i'm pretty sure there's nothing to do for the kopete-guys, only for icq.com (or maybe my local netadmin?).
Comment 5 Ken Zalewski 2005-06-15 14:23:28 UTC
I do not think this bug should be closed.  I use Gaim and Trillian too, and this problem does NOT occur on those platforms.  In fact, when I'm at the office, I'm forced to use Windows 2000 and Trillian all day long, and I do not get these spurious disconnects.  Therefore, I do not believe you can call it an ICQ or AIM problem.

Kopete is the only multi-protocol IM program that I know of that disconnects in this manner when using ICQ/AIM, and it seems to occur when some other user in the contact list signs on or off.

It's up to you, but I think the bug should remain open until someone gets a handle on it.  You might want to open up a dialog with the Trillian developers.  Maybe they have already crossed this bridge.
Comment 6 arne anka 2005-06-15 18:37:56 UTC
ok, if you think so it's probably better to reopen.
Comment 7 Matt Rogers 2005-06-15 22:04:42 UTC
If any of you are compiling with debug enabled, please capture the debug output from the ICQ plugin so I can see what packets are getting sent before you get the disconnection error. (I can't reproduce)
Comment 8 Kevin Boergens 2005-06-23 12:01:26 UTC
Hi, same problem for me. SVN 2 days old, Debian sid with KDE 3.4.0 from debian's server

[void ConnectionStatusPlugin::slotCheckStatus()]
kopete (oscar - raw protocol): [void KNetworkByteStream::slotError(int)] Socket error 17
kopete (oscar - raw protocol): [void KNetworkConnector::slotError(int)] Error detected: 17
kopete (oscar - raw protocol): [void ClientStream::cr_error()]
kopete (oscar - raw protocol): [virtual void KNetworkByteStream::close()] Closing stream.
kopete (oscar - raw protocol): [void KNetworkByteStream::slotConnectionClosed()] Socket has been closed.
kopete (oscar - raw protocol): ..by ourselves!
kopete (oscar - raw protocol): socket error is Die Gegenstelle hat die Verbindung beendet
kopete (oscar - raw protocol): [virtual void KNetworkByteStream::close()] Closing stream.
kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()]
kopete (oscar - raw protocol): [virtual void KNetworkByteStream::close()] Closing stream.
kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()]
kopete (oscar - raw protocol): [virtual void KNetworkByteStream::close()] Closing stream.
ASSERT: debug output not ended with \n
[
0: /usr/lib/libkdecore.so.4(_Z11kdBacktracei+0x45) [0xb70198a5]
1: /usr/lib/libkdecore.so.4(_Z11kdBacktracev+0x2b) [0xb7019c2b]
2: /usr/lib/libkdecore.so.4(_ZN10kdbgstreamD1Ev+0x88) [0xb7015c68]
3: /usr/lib/libkopete_oscar.so.2(_ZN6Client11streamErrorEi+0xa9) [0xb5cd9c07]
4: /usr/lib/libkopete_oscar.so.2(_ZN6Client9qt_invokeEiP8QUObject+0x9f) [0xb5cdd34b]
5: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x14c) [0xb6a1071c]
6: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEii+0xed) [0xb6a1087d]
7: /usr/lib/libkopete_oscar.so.2(_ZN10Connection5errorEi+0x37) [0xb5d0a84b]
8: /usr/lib/libkopete_oscar.so.2(_ZN10Connection7qt_emitEiP8QUObject+0x6d) [0xb5d0aa61]
9: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x181) [0xb6a10751]
10: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEii+0xed) [0xb6a1087d]
11: /usr/lib/libkopete_oscar.so.2(_ZN6Stream5errorEi+0x38) [0xb5cf0808]
12: /usr/lib/libkopete_oscar.so.2(_ZN12ClientStream8cr_errorEv+0xaa) [0xb5ceea3c]
13: /usr/lib/libkopete_oscar.so.2(_ZN12ClientStream9qt_invokeEiP8QUObject+0x6f) [0xb5cef013]
14: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x14c) [0xb6a1071c]
15: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEi+0xb4) [0xb6a10544]
16: /usr/lib/libkopete_oscar.so.2(_ZN9Connector5errorEv+0x2f) [0xb5cdffc1]
17: /usr/lib/libkopete_oscar.so.2(_ZN17KNetworkConnector9slotErrorEi+0xbd) [0xb5cf1181]
18: /usr/lib/libkopete_oscar.so.2(_ZN17KNetworkConnector9qt_invokeEiP8QUObject+0x6d) [0xb5cf14e3]
19: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0xc6) [0xb6a10696]
20: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEii+0xed) [0xb6a1087d]
21: /usr/lib/libkopete_oscar.so.2(_ZN10ByteStream5errorEi+0x38) [0xb5cedb74]
22: /usr/lib/libkopete_oscar.so.2(_ZN18KNetworkByteStream9slotErrorEi+0xbb) [0xb5cf2203]
23: /usr/lib/libkopete_oscar.so.2(_ZN18KNetworkByteStream9qt_invokeEiP8QUObject+0xc5) [0xb5cf243d]
24: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x14c) [0xb6a1071c]
25: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEii+0xed) [0xb6a1087d]
26: /usr/lib/libkdecore.so.4(_ZN8KNetwork17KClientSocketBase8gotErrorEi+0x33) [0xb7144633]
27: /usr/lib/libkdecore.so.4(_ZN8KNetwork15KBufferedSocket16slotReadActivityEv+0x16c) [0xb714b9dc]
28: /usr/lib/libkdecore.so.4(_ZN8KNetwork15KBufferedSocket9qt_invokeEiP8QUObject+0x72) [0xb714be02]
29: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x14c) [0xb6a1071c]
30: /usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEii+0xed) [0xb6a1087d]
31: /usr/lib/libqt-mt.so.3(_ZN15QSocketNotifier9activatedEi+0x32) [0xb6d50452]
32: /usr/lib/libqt-mt.so.3(_ZN15QSocketNotifier5eventEP6QEvent+0x50) [0xb6a2cf00]
33: /usr/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0xbf) [0xb69b3e1f]
34: /usr/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x11e) [0xb69b341e]
35: /usr/lib/libkdecore.so.4(_ZN12KApplication6notifyEP7QObjectP6QEvent+0xb5) [0xb7001ac5]
36: /usr/lib/libqt-mt.so.3(_ZN10QEventLoop23activateSocketNotifiersEv+0xea) [0xb69a381a]
37: /usr/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x413) [0xb695ccb3]
38: /usr/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0xe8) [0xb69c61d8]
39: /usr/lib/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x28) [0xb69c6088]
40: /usr/lib/libqt-mt.so.3(_ZN12QApplication4execEv+0x21) [0xb69b4071]
41: kopete(_ZN7QWidget22windowActivationChangeEb+0x7dc) [0x8071174]
42: /lib/tls/libc.so.6(__libc_start_main+0xf4) [0xb61f1974]
43: kopete(_ZN6QFrame10paintEventEP11QPaintEvent+0x49) [0x8070a31]
]
kopete (oscar - raw protocol): [void Client::streamError(int)] CLIENT ERROR (Error10)
kopete (oscar - raw protocol): [void SSIManager::clear()] Clearing the SSI list
kopete (oscar): [void OscarAccount::protocolError(int, int, const QString&)] Received fatal protocol error3, 0
kopete (oscar): [virtual void OscarAccount::disconnect()] accountId='104205695'
kopete (oscar/icq): [virtual void ICQAccount::disconnected(Kopete::Account::DisconnectReason)] Attempting to set status offline
kopete (oscar/icq): [virtual void ICQAccount::disconnected(Kopete::Account::DisconnectReason)] Attempting to set status offline
kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()]
kopete (oscar - raw protocol): [virtual void KNetworkByteStream::close()] Closing stream.

Thanks,
  Kevin
Comment 9 Matt Rogers 2005-06-23 14:09:28 UTC
Please translate "Die Gegenstelle hat die Verbindung beendet" although i'm pretty sure it means "Remote Host closed the connection"
Comment 10 Andre Duffeck 2005-06-23 14:35:51 UTC
exactly :)
Comment 11 Matt Rogers 2005-06-26 06:57:53 UTC

*** This bug has been marked as a duplicate of 102217 ***