Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access violation using THTTPGet with OpenSSL under iOS after upgrading to XE7 update 1

After upgrading to Delphi XE7 update 1 I am seeing the following error when connecting to a server using TIdHTTP with TIdSSLIOHandlerSocketOpenSSL.

---------------------------
Debugger Exception Notification
---------------------------
Project Test_iOS raised exception class EAccessViolation with message 'Access violation at address 8FE090C9, accessing address C03F1E32'.
---------------------------
Break   Continue   Help   
---------------------------

The exception is thrown at line 3133 in IdSSLOpenSSL.

Tested and works fine on Windows and Android platforms.

Before the upgrade everything worked correctly. I also updated to XCode 6.1 at the same time, so perhaps this is part of the problem.

Anybody else seeing a similar error? Is there a workaround?

like image 360
norgepaul Avatar asked Nov 22 '14 10:11

norgepaul


1 Answers

I had same issue with xE7 - I'm in the pub so don't have the actual file names in my head.

But you need to download the open ssl files (there's 2) and stick them in the root of your project.

All worked fine after that. My error was because the open ssl was not shipped with xe7.

Hope that helps

like image 138
Mark Avatar answered Oct 01 '22 07:10

Mark