Hi all!
In my application, maked with C++ Builder 2009, I used Synapse HTTP library for REST API requests.
But with any URLs (https), and if my application run on my VPS server, requests always aborted with
error:
500 Sock: 10091 error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error 336032824
500 Sock: 10091 error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol 336031996
...
I couldn't fix this errors.
Then I try to use different HTTP library.
The choice fell on Overbyte ICS (file icsv858.zip)
Now I have installed Overbyte ICS Design-Time Package C++ Builder 2009.
I maked sample project OverbyteIcsHttpsTst which was in the archive with the library.
The project compiles without errors.
On my home computer (Windows 8.1) where is installed C++ Builder 2009 ...
- If I run this sample application with URLs http:// (for example http://synapse.ararat.cz) I have normal result.
By default, application form has edit boxes with Certificate Files and keys: "01cert.pem" "01key.pem" "cacert.pem".
- If I run this sample application with any URLs with https:// (for example https://google.com) and that edit boxes remain default values
I have error:
EAccessViolation: Access violation at address 0043F3C5 in module 'OverbyteIcsHttpsTst.exe'. Read of address 00000030
Request done, error #3
- If I run this sample application with URLs https:// and that edit boxes will be empty
I have no error.
On VPS server (Windows Server 2012) where is no installed C++ Builder 2009 ...
- If I run this sample application with URLs http:// I have normal result.
- If I run this sample application with URLs https:// and that edit boxes will be default or empty
I have error:
EAccessViolation: Access violation at address 0043F3C5 in module 'OverbyteIcsHttpsTst.exe'. Read of address 00000030
Request done, error #3
It's the same error I have in home with non-zero edit boxes.
Can anyone help to fix this errors?