Modify

#966 closed defect (obsolete)

skyped hangs shortly after client connects

Reported by: hrubi13@… Owned by: Miklos Vajna
Priority: normal Milestone:
Component: Skype Version: 3.0.5
Keywords: patch Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

After I connect via bitlbee to skyped, it hangs with message in debug log:

2012-05-24 16:33:47: Warning, receiving 1024 bytes failed ([Errno 1] _ssl.c:1359: error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record mac).
2012-05-24 16:33:48: Warning, sending 'USER someuser ONLINESTATUS ONLINE
' failed ([Errno 9] Bad file descriptor). count=3

And continues sending out the second message, without responding to client requests.

Attachments (1)

skyped_close_connection_on_send_error.patch (2.2 KB) - added by mk.fraggod@… at 2013-01-28T02:52:11Z.
Patch to fix the issue by closing the connection on first error

Download all attachments as: .zip

Change History (4)

comment:1 Changed at 2013-01-28T02:50:16Z by mk.fraggod@…

Problem there is gobject-specific code-path in global send() function that

  • Keeps retrying for 10s regardless of error (e.g. even if socket was closed), while errors are actually should be fatal there - it's a blocking socket, there's no EAGAIN, but feel free to correct me here.
  • Doesn't close the socket even after 10 (pointless!) retries and signals no error to the other code, so it goes on happily assuming connection is fine.

I've fixed the issue (among others) in my kinda-fork here and will attach the patch to the ticket. Anyone who use it, please be warned that it's in no way an official fix and all the usual "at your own risk", "don't bug upstream about it", etc rules apply.

Changed at 2013-01-28T02:52:11Z by mk.fraggod@…

Patch to fix the issue by closing the connection on first error

comment:2 Changed at 2014-02-04T05:22:34Z by dx

Keywords: patch added

comment:3 Changed at 2018-04-29T23:50:18Z by dx

Resolution: obsolete
Status: newclosed

Closing all skype tickets (plugin removed in a949b43ed657154d4ff8492bbdb16202a1a9f22d)

Modify Ticket

Action
as closed The owner will remain Miklos Vajna.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.