Lance's TextBox

For software developers using IPWorks, PowerShell, RSSBus, etc.


News

 Subscribe Add to Technorati Favorites

 

 

 

 


 

 

Search My Blog:

 

 

My Stats

  • Posts - 439
  • Comments - 188
  • Trackbacks - 265

Twitter












Tag Cloud


Recent Comments


Recent Posts


Archives


Post Categories


Blogs


Miscellanous


Noteworthy Stuff


Popular Posts



Last month I mentioned winsock error 10053, "Software caused connection abort" (basically, the error means that something on the localhost caused the connection to be closed), and how it is so often caused by virus scanners. I pointed out that this is not always the case, and sometimes the problem is very difficult to troubleshoot. But don't worry, this is pretty common and it is most likely not a bug in your code, just something that needs to be considered when implementing error handling.

Besides AV software, another common cause of this error is that a remotehost stops acknowledging receipt of TCP packets. When TCP packets are sent to a remotehost, and the remotehost does not acknowledge that packet, the local socket will attempt retries - but if the remote host never responds, a 10053 error will occur.


posted @ Wednesday, July 20, 2005 7:52 AM | Filed Under [ Programming ]

Comments

Gravatar # re: Winsock error 10053: Part II
Posted by Ross on 8/17/2005 8:06 AM
you saved me a lot of trouble my av was the problem thanks
Gravatar # re: Winsock error 10053: Part 2
Posted by Chris on 8/8/2006 12:51 PM
me 2 , mcafee access protection . ;-))
Gravatar # re: Winsock error 10053: Part 2
Posted by Sandeep Acharekar on 2/10/2007 3:45 AM
I have DHCP server. In last week i saw the error 10053 (2745) in windows 2003.

From that day i facing the problem of connectivity. After every 20-30 minutes client machines are automatically drop the connectivity from server and again some time automatically detect connectivity.
Gravatar # re: Winsock error 10053: Part 2
Posted by knewt on 3/14/2007 3:56 AM
host based smtp server are known to cause this error
An ISP is usually rejecting requests from such type of smtp servers
Gravatar # re: Winsock error 10053: Part 2
Posted by Don Miller on 6/8/2007 3:15 PM
We had this error occur at a 10 minute intervals after establishing a TCP/IP connection to a host system. This was finally traced back to a bad ROUTE entry on the Server. The ROUTE entry used the Server's network card's address, instead of the Gateway device's IP address. This caused the Gateway to not know how to route a packet sent from the Server after the ARP timeout period.
Hope this helps someone else.

Gravatar # re: Winsock error 10053: Part 2
Posted by Adoflo on 6/15/2007 4:26 AM
We have this error in a machine running with mdaemon 9 and aspemail component, the problem is when we try send an email via this component we got the socket error:

mail.servidores.net ESMTP MDaemon 9.0.4; Fri, 15 Jun 2007 09:48:21 +0200
Fri 2007-06-15 09:48:21: <-- EHLO dns2
Fri 2007-06-15 09:48:21: --> 250-servidores.net Hello dns2, pleased to meet you
Fri 2007-06-15 09:48:21: --> 250-ETRN
Fri 2007-06-15 09:48:21: --> 250-AUTH=LOGIN
Fri 2007-06-15 09:48:21: --> 250-AUTH LOGIN
Fri 2007-06-15 09:48:21: --> 250-8BITMIME
Fri 2007-06-15 09:48:21: --> 250 SIZE 825032704
Fri 2007-06-15 09:48:21: <-- AUTH LOGIN
Fri 2007-06-15 09:48:21: --> 334 Xcm5hbW
Fri 2007-06-15 09:48:21: <-- RtaW5Ac2Vydmlkb3JlubmV0
Fri 2007-06-15 09:48:21: --> 334 UGFc3dvcmQ6
Fri 2007-06-15 09:48:21: <-- ******
Fri 2007-06-15 09:48:21: --> 235 Authentication successful
Fri 2007-06-15 09:48:21: Authenticated as admin@servidor.net
Fri 2007-06-15 09:48:21: <-- MAIL FROM: <admin@servidor.net>
Fri 2007-06-15 09:48:21: --> 250 <admin@servidor.net>, Sender ok
Fri 2007-06-15 09:48:21: <-- RCPT TO: <admin@businet.net>
Fri 2007-06-15 09:48:21: Error writing to socket
Fri 2007-06-15 09:48:21: Winsock Error 10053 Connection abort.
Fri 2007-06-15 09:48:21: SMTP session terminated (Bytes in/out: 153/333)

Any Idea ??
Gravatar # re: Winsock error 10053: Part 2
Posted by Paul on 6/28/2007 4:53 PM
I am useing an SMTP through an msn server. As Qwest DSL does not support SMTPs, and I am getting the error 10053, everything was working great up tuill a few days ago, now nothing works.
I have been using smtp.email.msn.com as the outgoing smtp. Is my ISP blocking these transmitions now? Or is it the MSN e-mail I am using to piggyback on?
Gravatar # re: Winsock error 10053: Part 2
Posted by Laser on 10/27/2007 12:56 AM
My laptop was running ok until I uninstalled some softwares ( fix-it utility 7, and ...) and stopped some software from starting up. Then I got disconnection problems for windows live messenger, yahoo messenger and skype. All these software will drop connection in about every 13 minutes. I identified it as an error 10053 by looking the windows live messenger's connection log file. For every 13 minutes "Zone_Net CTCPNetworkLayer::OnMessage (013B12D8) (2) >> Got WM_WSASELECT_MESSAGE(1055) from WSAAsyncSelect for socket = 2088, error = 10053, event = FD_CLOSE" appears in the log file. I tried everything I can think of (uninstalled firewall; reinstall fix-it utility and restore to a old checkpoint; then uninstalled avg antivirus and fix-it utility) none of them worked. I am so frustrated.
Gravatar # re: Winsock error 10053: Part 2
Posted by D on 5/12/2008 8:02 PM
I have a question can a virus cause this too? I accidently went on a site that you can't get out of it freezes your computer and shows everything on your desktop screen and makes everything go weird then my computer crashed and when I went back I had this error on IE, FX, and safari.
Gravatar # re: Winsock error 10053: Part 2
Posted by Eric on 5/31/2008 6:00 PM
Thanks Don Miller, your advice helped me out. Your mention of the ARP timeout is what clued me in, as I was getting this error every 10 minutes.

I have a router behind a router. The internal router was in the DMZ of the external one. I'm pretty sure the trouble came because both routers essentially had the same external IP address & the keep-alive packet that was sent after the 10 minute ARP timeout period, did not know which one to send it to.

I simply logged into the external router & removed the internal router from DMZ mode, and then just forwarded all the ports I needed to it instead.

It's more of a maintenance headache... but at least it works.
Gravatar # re: Winsock error 10053: Part 2
Posted by imfirewall on 6/9/2008 11:17 PM
I got 10054 error in windows 2003. The client can connect to server, but it will fail to send any data.
Post a comment





 

Please add 4 and 4 and type the answer here: