Summary: | Connection to ICQ server fails every few secounds | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Siegmar Alber <siegmaralber> |
Component: | ICQ and AIM Plugins | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | baum-im-wald, btsai, tanim |
Priority: | NOR | ||
Version: | 0.12 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | log of oscar login and automatic logout after 2sec |
Description
Siegmar Alber
2006-06-18 16:21:07 UTC
*** Bug 129336 has been marked as a duplicate of this bug. *** I am getting this bug now and it only happens to one of my 4 account on icq/aim. I am using Kopete 0.12. kopete (oscar - raw protocol): [void KNetworkByteStream::slotError(int)] Socket error 14 kopete (oscar - raw protocol): [void KNetworkConnector::slotError(int)] Error detected: 14 kopete (oscar - raw protocol): [void ClientStream::cr_error()] kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()] kopete (oscar): [void OscarAccount::logOff(Kopete::Account::DisconnectReason)] accountId='VRWarper' kopete (oscar - raw protocol): [void ConnectionHandler::clear()] Clearing all connections kopete (oscar - raw protocol): [void SSIManager::clear()] Clearing the SSI list kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant: toString=] kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant: toString=] kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant: toString=] kopete (oscar/aim): [virtual void AIMAccount::disconnected(Kopete::Account::DisconnectReason)] Attempting to set status offline kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant: toString=] kopete (oscar - raw protocol): [void ConnectionHandler::remove(Connection*)] Removing connection 0x89574d0 kopete (oscar - raw protocol): [void KNetworkByteStream::slotConnectionClosed()] Socket has been closed. kopete (oscar - raw protocol): ..by ourselves! kopete (oscar - raw protocol): socket error is no error kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()] kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()] kopete (oscar - raw protocol): [void KNetworkByteStream::slotConnectionClosed()] Socket has been closed. kopete (oscar - raw protocol): ..by ourselves! kopete (oscar - raw protocol): socket error is no error kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()] kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()] kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()] kopete (oscar - raw protocol): [void CoreProtocol::addIncomingData(const QByteArray&)] Received 35 bytes. kopete (oscar - raw protocol): [virtual Transfer* SnacProtocol::parse(const QByteArray&, uint&)] family: 3 subtype: 12 flags: 0 id: 3141514777 *** This bug has been confirmed by popular vote. *** Seems to work now for some reason, or at least it has for ~ 2 weeks now. Perhaps something with AOL's servers initially changed and then changed back? Strangely enough, GAIM seemed to work fine through this period when kopete didn't work with AIM or ICQ. well, for me it's still broken. today I did a fresh build of 0.12 and tried it again. switching back to kopete from KDE 3.5.3 solves my problems, but with 0.12, I am only able to stay connected via ICQ; the same account does not work with AIM. about a second after kopete has sucessfully conneted to AIM, it gets (reproducable) disconnected--just as described above :-( I am having the same problem with Kopete .12 on Kubuntu 6.06. AIM will disconnect randomly after being online for a minute or so. GAIM doesn't seem to exhibit this behaviour. Can someone who is still experiencing this problem send full log or at least couple lines before KNetworkByteStream::slotError(int). Thanks. Created attachment 16923 [details] log of oscar login and automatic logout after 2sec please find attached the requested log of kopete. kopete 0.12 was build with --enable-debug=full using the provided debian scripts. a small patch was added to fix Bug 127749 (kopeteaway.cpp). just ask if you require more information. Daniel Daniel Frein was using ICQ account as an AIM account. He fixed his problem by changing accounts in kopete. So I still need full log. Thanks Dear Daniel, The following messages arise after all contacts are received from a server: --------cut-------------- kopete (oscar/icq): [virtual void ICQContact::userInfoUpdated(const QString&, const UserDetails&)] extendedStatus is xxxxxxxx kopete (oscar - raw protocol): [void Client::addICQAwayMessageRequest(const QString&, Client::ICQStatus)] adding away message request for 21943113 to queue kopete (oscar - raw protocol): [void Client::removeICQAwayMessageRequest(const QString&)] removing away message request for 21943113 from queue kopete (oscar - raw protocol): [virtual Transfer* SnacProtocol::parse(const QByteArray&, uint&)] family: 3 subtype: 11 flags: 0 id: xxxxxxxxxxxx kopete (oscar - raw protocol): [void UserDetails::fill(Buffer*)] Got user info for 157553751 kopete (oscar - raw protocol): [Oscar::DWORD Oscar::parseCapabilities(Buffer&, QString&)] CAPS: CAP_TYPING CAP_ICQSERVERRELAY CAP_UTF8 CAP_XTRAZ CAP_ISICQ kopete (oscar/icq): [virtual void ICQContact::userInfoUpdated(const QString&, const UserDetails&)] extendedStatus is xxxxxxxxxxxxx kopete (oscar - raw protocol): [void Client::removeICQAwayMessageRequest(const QString&)] removing away message request for xxxxxxxx from queue kopete (oscar - raw protocol): [void KNetworkByteStream::slotError(int)] Socket error 10 kopete (oscar - raw protocol): [void KNetworkConnector::slotError(int)] Error detected: 10 kopete (oscar - raw protocol): [void ClientStream::cr_error()] kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()] kopete (oscar): [void OscarAccount::logOff(Kopete::Account::DisconnectReason)] accountId='xxxxxxxx' kopete (oscar - raw protocol): [void ConnectionHandler::clear()] Clearing all connections kopete (oscar - raw protocol): [void SSIManager::clear()] Clearing the SSI list kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant: toString=] kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant: toString=] kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant: toString=] kopete (oscar/icq): [virtual void ICQAccount::disconnected(Kopete::Account::DisconnectReason)] Attempting to set status offline kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant: toString=] kopete (oscar - raw protocol): [void ConnectionHandler::remove(Connection*)] Removing connection 0x82923d0 kopete (oscar - raw protocol): [void KNetworkByteStream::slotConnectionClosed()] Socket has been closed. kopete (oscar - raw protocol): ..by ourselves! kopete (oscar - raw protocol): socket error is no error kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()] kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()] kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()] kopete: [virtual void KopeteWindow::closeEvent(QCloseEvent*)] just closing because we have a system tray icon kopete (oscar - raw protocol): [void Client::nextICQAwayMessageRequest()] request queue count 30 kopete: [void KopeteApplication::quitKopete()] --------cut-------------- PS. Full log contains confidential information. :-) I can't provide you with one. Sorry. I am sorry. I was mistaken, having addressed only to Daniel. SVN commit 560658 by rjarosz: Fix bug 129366 Connection to ICQ server fails every few secounds. I broke it when was fixing another bug, I'm sorry. BUG: 129366 M +1 -1 client.cpp --- branches/kopete/0.12/kopete/protocols/oscar/liboscar/client.cpp #560657:560658 @@ -1212,7 +1212,7 @@ return; if ( c->isSupported( 0x0002 ) || - c->supportedFamilies().count() == 0 ) //emit on login + d->stage == ClientPrivate::StageOne ) //emit on login { emit socketError( code, string ); } can somebody with this problem test the fix that was committed to subversion and confirm that it works? I've applied this patch and now I get the following message trying to set online status: The ICQ server thinks the client you are using is to old. Danil The ICQ server thinks the client you are using is to old, is diffrend bug 130630 that came up yesterday. Please apply patch from bug 130630 or update to current svn. Thanks Dear Roman, The problem is solved! Thank you! Danil cool, and thaks. Please all with this problem check your firewalls because this bug was caused by Kopete when it could not connect to icq buddy icon server. It could be your firewall or they server was/is down. If it's your firewalls you won't get icq pictures of your contacts. *** Bug 129811 has been marked as a duplicate of this bug. *** |