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 IdSSLIOHandlerSocketOpenSS
L 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.
- Paul (GSD)