Jump to content

Vitao

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by Vitao

  1. After 2 days try using idHttp with Digest Authentication, with no success, changed to ICS. Installed ICS (v865) from Getit Package Manager (Delphi Rio). In 20 minutes all worked fine. Congratulations to Mr Francois and all involved in development. In Overbyte.eu I find ICS v870. Uninstall ICS 865 and install ICS v870 and... no good news! When HttpCli1.Get is executed, an exception occurs: Preject camera.exe raised exception class $C0000005 with message access violation au 0x00000000: read of address 0x00000000 My source code is exactly the same as used with version 865. Considering that it only took me 20 minutes to run the project using the ICS 865, I decided to spend some more time looking for more information. I uninstalled v870 and installed v867. Digest Authentication works fine. I repeated the process with version 868. It also worked fine! I repeated the process again, now with version 869 and the exception occurred. Analyzing the source code of OverbyteIcsDigestAuth, I noticed that in version 869 it was rewritten, including Digest SHA256 and SSL. I commented out $DEFINE USE_SSL in OverbyteIcsDefs.inc and recompiled everything. Running the project, it worked fine. Therefore, it concludes that if USE_SSL is defined, an error occurs when calling the HTTPCLI.GET method (with Digest Authentication) This application uses GET calls to cameras on the internal network that are performed without SSL (http://192.168.2.10/cgi-bin/snapshop.cgi?channel=1). Of course, the easiest solution would be to remove the define USE_SSL, but the same application in question uses https in other functionalities.
  2. Really the problem was the load of DLLs related to SSL. After this adjustment, everything works perfectly. Thanks to all for your help. Vitao
×