Home > Socket Error > Socket Error 10054 Indy

Socket Error 10054 Indy

Also, since this occurs in Indy 10 and not in Indy 9, there has got to be something up with the socket code in Indy 10. If our applications use Indy 9, this never happens. Calls to almost everything result in "Connection Reset By Peer" exceptions. TV episode or movie where people on planet only live a hundred days and fall asleep at prescribed time When is it a good idea to make Constitution the dump stat? Check This Out

Anyway, we would like to solve it and that is why we started testing with Indy 10, but it appears to have more serious problems. First, I'll setup a general applica… Delphi Interactively Combine Shapes with the Shape Builder Tool in Adobe Illustrator Video by: Bob Illustrator's Shape Builder tool will let you combine shapes visually Unfortunately, we have not found a solution, however, at least we only see this error reported rarely, so it does not unduly disrupt our production systems. Indy made it in the beginning when broke a line on 71 character. look at this web-site

As for the client code, we are simply using the Post() method of the TIdHTTP class passing the URL, the request data stream, and a stream to be filled with the Connection refused) it seems to recover again. Join the community of 500,000 technology professionals and ask your questions. This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

This sort of error can happen accidentally for example if the client computer experiences a sudden power failure or the client program is "killed" in the Task Manager. Or the NotifyPeer plays a role, see also the comments in the source about different scenarios –mjn May 9 '12 at 13:45 Freeing the object and creating a fresh ShareIt publishes our email address to other companies?3. Any help would be greatly appreciated.

We have a report server (created with Report Builder) that uses plug-ins (Delphi Runtime Packages) to generate individual reports. I would suggest solution 1 though :) 0 LVL 27 Overall: Level 27 Delphi 6 Message Active today Assisted Solution by:BigRat BigRat earned 150 total points ID: 135080372005-03-10 >>another solution We are not sure why this happens after long gaps between report requests, however, we have theorized that it has something to do with the loading on unloding of our plug-ins. Grab page, disconnect, wait and then grab again :) Go to Solution 3 3 3 3 Participants BigRat(3 comments) LVL 27 Delphi6 Mikho(3 comments) LVL 4 Delphi1 rossmcm(3 comments) 9 Comments

It simple deals with the simptom. I configured Outlook the same way I did my application so assume it is SMTP –MarkZA Sep 8 '13 at 6:49 Yes the version I am using is Indy Also, since this occurs in Indy 10 and not in >Indy 9, there has got to be something up with the socket code in Indy >10. Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We

Nope, the server will time out the connection anyway so as to reuse valuable server resources (see Apache web site on keep-alive handling). 0 LVL 4 Overall: Level 4 Delphi http://www.delphigroups.info/2/12/207875.html But if keep-alive is set it will eventually time out. Its default behavior is to call DisconnectNotifyPeer, which triggered the second exception. –Andy Clark May 10 '12 at 14:44 add a comment| Your Answer draft saved draft discarded Sign up Join them; it only takes a minute: Sign up Delphi + TidSMTP.Connect + Socket Error 10054 - Connection Reset by Peer up vote 0 down vote favorite I have a Delphi

Linux Windows OS Networking Paessler Network Management Network Analysis, Network Operations How to set up email signature rules on Exchange Server using Exchange Rules Video by: CodeTwo This video demonstrates how http://whistlemedia.net/socket-error/socket-error-10054-windows-7-compatibility-xp.html Share a link to this question via email, Google+, Twitter, or Facebook. Covered by US Patent. It should not be possible to get thatparticular error on the same machine.Post by VenuI am still getting this errorWhat does your actual code look like?

  • In addition, once the error appears, the communication between the client and server fails everytime, so the try..except would simply try forever.
  • But sometimes I receive a messagebox on the screen like: Socket error # 10054 Connection reset by peer.
  • What we really would like to know is why production >code that has run for four (4) years 24/7/365 on our servers with Indy 8 >and then Indy 9 now does
  • What are the advantages of doing accounting on your personal finances?
  • The above would also cope with the IP address changing as described by BigRat also, I believe. 0 LVL 4 Overall: Level 4 Delphi 1 Message Expert Comment by:Mikho ID:

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Lincoln writes: Quote Ciaran, Since we have created both the server and client applications, this is not our problem. And an error difficult, probability of appearance 1/72 12 Reply by Mitar 2013-01-14 16:28:09 Mitar Member Offline Registered: 2012-04-23 Posts: 242 Re: Indy SMTP - Socket error 10054 - Connection reset this contact form Join Now For immediate help use Live now!

And much of its logic is redundant as well,as it is duplicating logic that TIdHTTPServer natively implementsinternally.Post by VenuAt one instance, I need to run an external function (which takes5-7 secs) I'm using Indy 9. In addition, once the error appears, the communication >between the client and server fails everytime, so the try..except would >simply try forever.

Futuristic book (series) with big cities, illegals, and "Talented" Will a tourist have any trouble getting money from an ATM India because of demonetization?

Indy 9 Delphi 5 Win 2k 0 Comment Question by:rossmcm Facebook Twitter LinkedIn Email https://www.experts-exchange.com/questions/21333841/Indy-Error-10054.htmlcopy LVL 4 Best Solution byMikho thats why I said solution 1. What dice mechanic gives a bell curve distribution that narrows and increases mean as skill increases? I get it when trying to connect. I have already told you how to de-mystify the issue, by running Ethereal and/or showing your code, but you declined.

Does anyone know why this might be happening? This may not be your problem, but I came across an issue like this when the server was returning a redirection. Posted on 2006-12-05 Delphi 6 1 solution 2,216 Views Last Modified: 2008-03-17 I need to handle the socket error 10054 (Conection reset by peer). navigate here What we really would like to know is why production code that has run for four (4) years 24/7/365 on our servers with Indy 8 and then Indy 9 now does

Tighten space to use less pages. Lincoln Delphi Developer 2006-03-29 01:02:17 AM Re:Socket Error # 10054Connection reset by peer Adam, Why does it fix it? Join & Write a Comment Already a member? First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone.

Ciaran Ciaran Costelloe Delphi Developer 2006-03-24 08:07:21 AM Re:Socket Error # 10054Connection reset by peer Mark D. Covered by US Patent. Login. And at you where jumps out on the server or on the client?

Privacy Policy Site Map Support Terms of Use Board index » delphi » Socket Error 10054 Gerry Delphi Developer Socket Error 10054 2005-07-11 10:51:11 PM delphi177 Hi, I know Mark Ciaran Costelloe Delphi Developer 2006-03-22 06:41:04 AM Re:Socket Error # 10054Connection reset by peer Mark D. What are you doing when the erroroccurs?Gambit Venu 2008-03-27 08:47:08 UTC PermalinkRaw Message I am following the examplehttp://www.delphi3000.com/article.asp?ID=3081On "TfrmServer.httpServerCommandGet" I am doing the page processing.At one instance, I need to run I'll post it below. –Andy Clark May 9 '12 at 15:10 | show 3 more comments 1 Answer 1 active oldest votes up vote 6 down vote accepted Try this: try

All rights reserved. The application is still running fine, so I never investigated it further. Unfortunately, at the beginning of each day or when no reports have been requested for a long period of time, the follwoing exception is raised: "EIdWS2StubError, Error on call Winsock2 library Segmentation Fault... :-(4.

Not the answer you're looking for? kenpem: I'm not sure how to verify if the socket is closed or not... There is no general problem with Indy 10's TIdHTTP. Was Draco affected by the Patronus Charm?