Home > indy error > indy error accepting connection with ssl

Indy Error Accepting Connection With Ssl

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up IdHttpServerexception:Error accepting connection with SSL. EOF was observed that violates the protocol; up vote 0 down vote favorite I have a Delphi 2007 TIdHttpServer Web App (Version 10). My IdHTTPServer1.onexception handler is handling a lot of these exceptions: Error accepting connection with SSL. EOF was observed that violates the protocol I also have the latest version of OpenSSL (1.0.2.4). I know it is protocol to have a MCVE (Minimal, Complete, and Verifiable example). However I am not able to replicate this. These exceptions are occurring in production environment. All I have been able to do is log the ip address. And the IP Addresses are random. So it does not appear to be any single "spam bot" that could be doing this. Do these exceptions mean something is making requests using a version of SSL that I am not supporting? Is there something I can do to fix this? Or is this something I should not worry about? Below is my code for setting up the server: ServerIOHandler := TIdServerIOHandlerSSLOpenSSL.Create(self); ServerIOHandler.SSLOptions.CertFile := 'C:\xxxxx.crt'; ServerIOHandler.SSLOptions.KeyFile := 'C:\xxxxx.key'; ServerIOHandler.SSLOptions.RootCertFile := 'C:\yyyyyyy.crt'; ServerIOHandler.SSLOptions.Method := sslvSSLv23; ServerIOHandler.SSLOptions.SSLVersions := [sslvSSLv23,sslvSSLv2, sslvSSLv3, sslvTLSv1,sslvTLSv1_1,sslvTLSv1_2]; ServerIOHandler.OnGetPassword := GetSSLPassword; IdHTTPServer1 := TEAIdHTTPServer.Create; IdHTTPServer1.MaxConnections := 1000; IdHTTPServer1.AutoStartSession := True; IdHTTPServer1.SessionState := True; IdHTTPServer1.OnCommandGet := MainGet; IdHTTPServer1.onexception := IdHttpServerexception; IdHTTPServer1.onlistenexception := IdHttpServerlistenexception; IdHTTPServer1.onconnect := IdHttpServerConnect; IdHTTPServe

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. http://stackoverflow.com/questions/32278708/idhttpserverexceptionerror-accepting-connection-with-ssl-eof-was-observed-that Join them; it only takes a minute: Sign up EIdOSSLConnectError Error connecting with SSL - EOF was observed up vote 0 down vote favorite My platform is this OS X Yosemite 10.10.5 newest Indy (10.6.2.0, download 2016 March 13 - Indy10_5346.zip) Lazarus 1.4.4 Concerning OpenSSL versions I have tried: HomeBrew OpenSSL installed like this: "brew install openssl --universal" http://stackoverflow.com/questions/35987485/eidosslconnecterror-error-connecting-with-ssl-eof-was-observed Built-in (0.9.8) OS X supplied in /usr/lib/ I am getting error: EIdOSSLConnecError Error connecting with SSL - EOF was observed that violates the protocol In file Protocols/IdSSLOpenSSLHeaders.pas at line 19418 However, as I am using newest of everything - why am I be getting this error? (Happens in call to OpenEncodedConnection) Here's how I setup my Indy HTTP client OpenSSL handler: FIOHandlerOpenSSL := TIdSSLIOHandlerSocketOpenSSL.Create; FIOHandlerOpenSSL.SSLOptions.SSLVersions := [sslvSSLv23,sslvTLSv1,sslvTLSv1_1,sslvTLSv1_2] FIOHandlerOpenSSL.Mode := sslmClient; FIOHandlerOpenSSL.VerifyMode := []; FIOHandlerOpenSSL.VerifyDepth := 0; osx delphi openssl indy lazarus share|improve this question edited Mar 14 at 17:46 asked Mar 14 at 12:23 Tom 55612467 Have a look at the answer Remy Lebeau gave here - forums.embarcadero.com/message.jspa?messageID=682440 –RBA Mar 14 at 12:55 Will try (thanks!) I will also post some more code –Tom Mar 14 at 13:16 No luck so far... I believe I use all the recommended settings now –Tom Mar 14 at 14:09 1 FIOHandlerOpenSSL.SSLOptions.SSLVersions[sslvSSLv23,sslvTLSv‌1,sslvTLSv1_1,sslvTL‌Sv1_2] is not valid code syntax. You need the := operator. And do not specify sslvSSLv23: FIOHandlerOpenSSL.SSLOptions.SSLVersions := [sslvTLSv1,sslvTLSv1_1,sslvTLSv1_2] &nd

with SSL. error:00000005:lib(0):func(0):DH lib The socket is not closed until the webserver is restarted. I expect that the reason for the http://www.delphigroups.info/2/4/512007.html SSL error is incorrect SSL settings in the client. But why http://www.devsuperpage.com/search/Articles.aspx?G=2&ArtID=95575 is the socket not released? Arvid Haugen Delphi Developer 2008-06-13 06:16:43 PM Re:Error accepting connection with SSL. Finally I figured out what was causing this problem: TidSchedulerofThreadPool. I have made a small demo project to illustrate this problem - see code indy error below. Start the SSLTest.exe (demo program) on a machine. Uncheck "Use SSL 2.0" and "Use SSL 3.0" in Internet option, advanced on another machine and start making https connections to SSLTest. In SSLTest the poolsize of TidSchedulerOfThreadPool is set to 400. After 400+ faulty SSL connections - you will not be able to indy error accepting connect from an IE with the correct SSL settings. Removing "TidSchedulerOfThreadPool" will make this example work. Reducing the poolsize will reduce the problem. A pool size of e.g. 10 will cause a slight hang every now and then. So I assume that the webserver will start working again after a while even with poolsize of 400... I am using Indy 10 from indy.fulgan.com/ZIP/ 20080219 10:00AM Central European time. SSL DLLs: Open SSL v0.9.8g from www.slproweb.com/products/Win32OpenSSL.html Test program: Unit5.dfm ------------------------------------------------------------ object Form5: TForm5 Left = 0 Top = 0 Caption = 'WebServerTest' ClientHeight = 72 ClientWidth = 410 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahoma' Font.Style = [] OldCreateOrder = False OnCreate = FormCreate OnDestroy = FormDestroy OnShow = FormShow PixelsPerInch = 96 TextHeight = 13 object Label1: TLabel Left = 8 Top = 8 Width = 190 Height = 13 Caption = 'Connections with "Error accepting SSL":' end object Label2: TLabel

 

Related content

indy error

Indy Error p p p here for a quick overview of the site Help Center Detailed answers to relatedl any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them a href http www indyproject org kb wherecanifindsocketerror htm http www indyproject org kb

indy error 11004

Indy Error p for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a relatedl Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange Questions socket error Want to Advertise Here Solved socket error Posted on - - Delphi Verified Solution Comments Views Last Modified - - When I put my URL string in to the

indy error connecting with ssl

Indy Error Connecting With Ssl p here for a quick overview relatedl of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up Delphi and Indy SSL connection not