Bug 618355 - The server closed the socket
Summary: The server closed the socket
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libyahoo2
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ray Van Dolson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-26 18:34 UTC by Need Real Name
Modified: 2010-08-11 07:31 UTC (History)
2 users (show)

Fixed In Version: libyahoo2-1.0.1-1.fc13
Clone Of:
Environment:
Last Closed: 2010-08-11 07:28:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2010-07-26 18:34:59 UTC
Description of problem:
I had freehoo running smoothly after upgrading yesterday to the latest versions (freehoo-3.5.3-5.20100314cvs.fc12.i686.rpm,libyahoo2-1.0.0-1.fc12.i686.rpm).

Then after running actively for several hours, the program terminated with the message:
   The server closed the socket.

Each time I try to re-logon and enter the username and password, the program prints:
   Logging in as [myidname] in [Available] mode
and then immediately terminates with the same "The server closed the socket" error.

This happens no matter what id name I use. I still am able, however, to login using other clients.

Any idea what might be causing this problem?

(Note nothing else has changed on my Linux server over the past day and there is neither a high load nor high memory usage)

Thanks

Comment 1 Need Real Name 2010-07-26 18:59:31 UTC
I just tried running it without setting the default id in the freehoo.scm file or on the command line.

Now I get the additional error message just after dictionary loading and before querying for the ID:
     Just got an error; tag is
           system-error

The program then proceeds to query for ID and password before similarly quitting with the message:
    The server closed the socket.


I tried googling on both of the above errors and found nothing.

Comment 2 Ray Van Dolson 2010-07-26 19:04:38 UTC
Interesting.  Hopefully Yahoo didn't change their protocol again.  I am traveling but will test this on my F13 box as soon as I can.  Thanks for the report.

Comment 3 Need Real Name 2010-07-26 19:08:31 UTC
Oops disregard the 2nd message about "system-error" - I think that might have been caused by deleting the freehoo.scm file. The "server closed the socket" error persists.

Comment 4 Ray Van Dolson 2010-07-26 23:41:53 UTC
tcpdump is showing a DNS lookup to a yahoo.com address, then a TCP SYN packet to the resulting IP address on port 5050 to which the server responds with a RST, ACK.

This is either a transient issue, or some behavioral, protocol or infrastructure change on Yahoo's side.  I'll poke libyahoo2 upstream to see if anyone has any ideas or if some recent commits might resolve the issue.

Changing this to libyahoo2.

Comment 5 Ray Van Dolson 2010-07-26 23:55:13 UTC
This is infrastructure related on the Yahoo side.  They appear to have retired, or at least temporarily disable the cs101.msg.ac4.yahoo.com server.  A recent commits[1][2][3] in libyahoo2 addressed this issue.

As a temporary workaround, you can add the following to your /etc/hosts file:

98.136.48.74	cs101.msg.ac4.yahoo.com

Will work on either getting a new upstream 1.0.1 release or a patched 1.0.0 release for Fedora.

[1] http://libyahoo2.svn.sourceforge.net/viewvc/libyahoo2?view=revision&revision=371
[2] http://libyahoo2.svn.sourceforge.net/viewvc/libyahoo2?view=revision&revision=372
[3] http://libyahoo2.svn.sourceforge.net/viewvc/libyahoo2?view=revision&revision=373

Comment 6 Need Real Name 2010-07-27 02:03:57 UTC
WOW - pretty coincidental and frustratingly typical that yahoo breaks something less than 24 hours after I start using it...

I will be happy to test a patched version. Just let me know when one is ready...

As an aside, I know this is probably an upstream suggestion, but why not have the ability to specify one or more servers in the freehoo.scm file to either override the default or to be used in case the default fails. Many less configurable yahoo clients allow one to choose the yahoo server without requiring a patched/updated program. I'm a bit surprised that this is hard-wired into the library, especially since there has often been good reason to switch servers in the past since some seem to be more resistant to booting than others. Thanks

Comment 7 Ray Van Dolson 2010-07-27 03:01:06 UTC
Can you try the F12 builds here?

  http://koji.fedoraproject.org/koji/taskinfo?taskID=2353154

Should work fine with your existing freehoo.  /buzz isn't fixed yet though. :)

Comment 8 Need Real Name 2010-07-27 03:28:53 UTC
Works fine so far... Thanks for the incredibly fast response & fix!!!!

Comment 9 Fedora Update System 2010-07-27 04:09:31 UTC
libyahoo2-1.0.1-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/libyahoo2-1.0.1-1.fc13

Comment 10 Fedora Update System 2010-07-27 04:10:29 UTC
libyahoo2-1.0.1-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/libyahoo2-1.0.1-1.fc12

Comment 11 Fedora Update System 2010-07-30 08:31:31 UTC
libyahoo2-1.0.1-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libyahoo2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/libyahoo2-1.0.1-1.fc13

Comment 12 Fedora Update System 2010-07-30 08:36:36 UTC
libyahoo2-1.0.1-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libyahoo2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/libyahoo2-1.0.1-1.fc12

Comment 13 Fedora Update System 2010-08-11 07:28:17 UTC
libyahoo2-1.0.1-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2010-08-11 07:31:01 UTC
libyahoo2-1.0.1-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.