Jump to content

Tokay

uniGUI Subscriber
  • Posts

    839
  • Joined

  • Last visited

  • Days Won

    19

Posts posted by Tokay

  1. On one of our installation we have such strange logs in the log file:

    Service.exe: 00003C68: 00:00:04 [Indy]:EIdOSSLAcceptError : Error accepting connection with SSL.
    EOF was observed that violates the protocol : Addr: $0000000000B762F8
    Service.exe: 00003948: 00:00:16 [Indy]:EIdOSSLAcceptError : Error accepting connection with SSL.
    EOF was observed that violates the protocol : Addr: $0000000000B762F8
    Service.exe: 00003438: 00:00:19 [Indy]:EIdOSSLAcceptError : Error accepting connection with SSL.
    EOF was observed that violates the protocol : Addr: $0000000000B762F8
    Service.exe: 00000A90: 00:00:24 [Indy]:EIdOSSLAcceptError : Error accepting connection with SSL.
    EOF was observed that violates the protocol : Addr: $0000000000B762F8
    Service.exe: 00002FF8: 00:01:00 [Indy]:EIdOSSLAcceptError : Error accepting connection with SSL.
    EOF was observed that violates the protocol : Addr: $0000000000B762F8
    Service.exe: 0000272C: 00:01:05 [Indy]:EIdOSSLAcceptError : Error accepting connection with SSL.

    Doesn't this lead to any problems? And does it possible to fix the issue?

    We use now 1.90.0.1562 version.

  2. 2 hours ago, x11 said:

    Подключил файльі

    В конце концов ошибка есть,  SEC_ERROR_UNKNOWN_ISSUER

    https://prnt.sc/YoqzvO0OLbhK

    Но приложение работает, хоть и пишет, что соединение незащищенное

    Screenshot_2.jpg

    Ошибка означает, что браузер не знает эмитента сертификата (issuer). Оно так и будет работать с любым веб сервером с самоподписанными сертификатами. Собственно если бы оно работало по-другому, то в сертификатах не было бы никакого практического смысла: любой (в том числе и злоумышленник) наклепал бы сертификатов и браузеры ничего бы по этому поводу не говорили.

  3. On 11/22/2023 at 2:47 PM, Sherzod said:

    image.png.73ba22193f6830985f48b77c9bc2e28c.png

    function chart.beforeInit(sender, config)
    {
        config.axes = {
            type: 'numeric',
            position: 'gauge',
            majorTickSteps: 5,
            renderer: function(axis, label, layoutContext) {
                return Ext.util.Format.number(label, "#")
            }
        }
    }

     

    It's strange, but I have different events. What's wrong?

    image.thumb.png.6ac5d02a3064873495d96b2b5d3eafb7.png

  4. On 11/13/2023 at 9:04 AM, andyhill said:

    When Winapi.Windows unit is added to ServerModule (in order to decode LOCALE_SYSTEM_DEFAULT required by GetLocaleFormatSettings)

    All reference to Bitmaps in Vcl.Graphics unit no longer works

    procedure CustomProc(Sender: TObject);
    var 
      bmp: TBitmap;
    begin

      bmp:= TBitmap.Create; ERROR UnDeclared Identifier Create
     

    Remove Winapi.Windows unit and rem out GetLocaleFormatSettings and all works normally ?

     

    unit ServerModule;

    interface

    uses
      Classes, SysUtils, StrUtils, ShlObj, ActiveX, Vcl.Graphics, Vcl.Imaging.jpeg,
    {Winapi.Windows,}
      DateUtils,
      //
      uniGUIServer, uniGUIMainModule, uniGUIApplication, uniGUITypes, uniGUISessionManager,
      //
      IdBaseComponent, IdAntiFreezeBase, IdAntiFreeze, IdComponent, IdTCPConnection, IdTCPClient,
      IdExplicitTLSClientServerBase, IdMessageClient, IdSMTPBase, IdSMTP, IdIOHandler, IdIOHandlerSocket,
      IdIOHandlerStack, IdSSL, IdSSLOpenSSL, IdMessage, idAttachmentFile, IdICMPClient, IdHTTP,
      uIdCustomHTTPServer,
      //
      IdSASLAnonymous, IdSASLDigest, IdSASLLogin, IdSASLOTP, IdSASL_CRAM_MD5, IdSASLPlain,
      IdSASL_CRAM_SHA1, IdSASLSKey, IdUserPassProvider
      ;

     

    you can imlicitly indicate which class you need:

    bmp1: Vcl.Graphics.TBitmap;

    bmp2: Windows.TBitmap;

    • Like 1
  5. On 11/3/2023 at 5:21 PM, Farshad Mohajeri said:

    Yes, but it is not an official Indy patch.

    Is this a problem? You also use not official version :) But adding new OpenSSL versions drastically reduced all the issues. We forced to add many Pascal and installer code to solve OpenSSL issues on the different Linuxes (most defaultly use 1.1+ not compatible version). Not to mention 1.0.2u is just outdated, and do not guarantee the most secure channels, also tls 1.3 does not suppoeted at all.

    • Upvote 1
×
×
  • Create New...