Home > Socket Error > Socket Error #0 Indy

Socket Error #0 Indy

I see two possible solutions: have OnNewCookie call AddCookie() with a copy of ACookie instead of ACookie directly, or call AddServerCookie(ACookie.ServerCookie) instead of AddCookie(). –Remy Lebeau May 5 '12 at 15:36 Obviously, it is getting called at a time when the Indy code detects a problem with the socket, but the OS is not reporting the actual error. However, I still see the same errors when uploading from my machine... –TheDude Apr 27 '12 at 3:45 The fact that the ResponseCode is -1 means that either the I debugged with TidLogFile, all I could find is something like this: Stat Connected. his comment is here

I am using IdHttp and IdSSLIOHandlerSocketOpenSSL to handle "https://". It uses the core socket API directly instead. Another thought was problems with ISP, maybe timeouts ore sth like this, but it works fine on other machines. HTTP/1.1 200 OK Server: - Date: Tue, 19 May 2015 17:05:35 GMT Connection: close X-Server-Name: payment27 Cache-Control: no-store, no-cache, must-revalidate, max-age=0 Pragma: no-cache P3P: CP="NON DSP CURa CUSa OUR NOR STA"

But it has been running with these components for 2½ years without problems. Delphi Pages - Archive - Top - Contact Us Powered by vBulletin Version 3.8.8Copyright ©2000 - 2016, vBulletin Solutions, Inc. Stephan Jaschke - EDV-Beratung und Softwareentwicklung Mail: [email protected] - ICQ: 361511624 Stephan Jaschke Delphi Developer 2007-03-23 02:18:28 AM Re:socket error # 0 Remy Lebeau (TeamB) schrieb: Quote But you did

I deleted the old Indy version (including the old dcu, bpl, etc... getTransactionCount always returns 1048576, no matter what address How can we define lots of variables Does a natural 20 on an animal handling check do anything special? Hoi Jepes You need to repost your question on the Borland news server to make everybody see it and possibly answer your question. FSM (Finite State MAchine )4.

I'm not getting a result error from server. Check this Out Similar queries delphi - (Indy) TIdHTTP EIdSocketError Socket Error # 0 exceptions when downloading files - Stack Overflow Unix Socket - Summary Unix Socket - Structures Unix Socket There is if that is what WSAGetLastError() is actually returing. This rare condition is only likely to occur when a client has improperly converted a POST request to a GET request with long query information, when the client has descended into

generalist What is the relation between Aliasing and Flickering? When I call GlobalCookieManager.CookieCollection.AddCookie() in TUploadThread.NewCookie(), many times the internal cookies list contains a extra, broken cookies, but only the first two cookies are valid! –TheDude May 5 '12 at 15:04 So you end up with multiple TIdCookieManager objects referring to the same physical cookie objects. Re: Fastcode IntToStr B&V version 0.293.

Stephan Jaschke - EDV-Beratung und Softwareentwicklung Mail: [email protected] - ICQ: 361511624 Remy Lebeau (TeamB) Delphi Developer 2007-03-23 02:40:51 AM Re:socket error # 0 "Stephan Jaschke" writes Quote No I didn't. http://www.delphigroups.info/2/4/789975.html in an active directory domain name Airship weapons, gliders How do really talented people in academia think about people who are less capable than them? IMHO, the download page is not confusing, it is accurate and straight forward, it just takes a few links to find the actual download link, that's all. Remy: IdHTTP.Post(https_url) works just fine so I assume SSL is fine...I'm no expert here, what do you mean by SSL setup is not valid?

This is extremly annoying as on some PC it works on others it fails. this content Did you try the latest dev snapshot? Since CheckForSocketError() is the only method that sets the GStack.LastError property, what you describe suggests that DisconnectSocket() is resetting the LastError back to 0 before RaiseSocketError() is called, which is impossible Sometimes (I don't know in what case) I got this error during sending email from my application.

Double-check your settings. View More Recalll - Medium for programmers. So you end up with multiple TIdCookieManager objects referring to the same physical cookie objects. weblink In which case, the lowest error code is WSABASEERR (10000).

I made it in Delphi 2010. Password Lost Password? And please provide specific details to reproduce the problem.

I'm using INDY component.

TIdTCPConnection.WriteBuffer() does not directly call TIdStack.RaiseSocketError(). Quote If you are adding attachments to the message, then you need to place the text into a TIdText part instead. [and a lot more ...] Ok. Anything else would result in a exception being thrown by CheckForSocketError() instead of WriteBuffer(), and the ErrorCode would not be 0. FWIW, Indy download page is confusing, just a reminder to myself / anyone in the same position, the real download link to the latest build is here...I'll try with the latest

Just to be clear: It works for days and hours and suddenly (means first to 47th mail ok and 48th failed!) fails and will not work again, even after a reboot. Join them; it only takes a minute: Sign up Random Indy ResponseCode = -1 / EIdSocketError Socket Error # 0 exceptions up vote 3 down vote favorite 1 I have a Several different exception types are possible, including EIdSocketError, which contains the socket error code. check over here Problems with dynamic DB connection in COM Objects2.

Let see or try to figure out: - Send() had returned SOCKET_ERROR - WSAGetLastError() returned WSAESHUTDOWN, WSAECONNABORTED, or WSAECONNRESET as the CheckForSocketError must have returned True according the call stack (which All those weired things which may cause windows to fail - but nothing found.