Advertisement

02.08.2008 at 07:54AM PST, ID: 23148056
[x]
Attachment Details

Help on resoving an "ERangeError" when using Indy 10 calling IdHTTP.Get with IdSSLIOHandlerSocketOpenSSL

Asked by GSDAssociates in Internet and Delphi Programming, Delphi Programming, Secure Socket Layer (SSL) & HTTPS

Tags: Dell, RAM: 1.5 GB (Upgraded from 512 MB), Delphi, Indy "ERangeError"

Hi all,

I am using Borland Delphi 6 Professional in conjunction with the Indy 10 (10.0.0.17 to be precise) components in a program that communicates with a secure web server via HTTPS/SSL. The two indy components I am using are IdHTTP linked to an IdSSLIOHandlerSocketOpenSSL to handle the SSL side of things. The SSL uses a simple authentication method (username and password) combo - no certificate handling in play.

The program is designed to send 'jobs' to the web-server by sending XML strings (which are commands) to the web server. Typically the program will be sending between 5 and 30 jobs out a time each day.

For some reason, the program began experiencing "ERangeErrors" during the sending of the jobs. Specifically when the IdHTTP.Get method is called. Unfortunately I have been unable to reproduce this problem at my end, it is only happening on two of the clients workstations (which logically suggests a possible hardware issue such as memory?).

We tried upgrading the memory on the workstations to 1.5GB, and for the first couple of days, the error didn't occur, but it's started happening again. But having checked the memory\processes during execution, there seems to be plenty of memory available for the program to use.

I've found some helpful articles before but all suggested solutions have yet to solve the problem.

One article I recently found: http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_21380718.html

suggests including a path in Delphi to the Indy source files. I am going to try it to see if it works, but any other helpful advice would be much appreciated.

Thanks

- Paul (GSD)
Start Free Trial
[+][-]02.08.2008 at 08:09AM PST, ID: 20851460

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.08.2008 at 08:29AM PST, ID: 20851637

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.08.2008 at 09:22AM PST, ID: 20852149

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Internet and Delphi Programming, Delphi Programming, Secure Socket Layer (SSL) & HTTPS
Tags: Dell, RAM: 1.5 GB (Upgraded from 512 MB), Delphi, Indy "ERangeError"
Sign Up Now!
Solution Provided By: ziolko
Participating Experts: 2
Solution Grade: A
 
 
[+][-]03.20.2008 at 04:33AM PDT, ID: 21170090

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628