Jump to content

Mehmet Emin

uniGUI Subscriber
  • Posts

    229
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Mehmet Emin

  1. uses

    uniDateTimePicker, unimDatePicker, uniGUIInterfaces, 

    .....

     

    var IPicker: IUniDateTimePicker;

    begin

    IPicker := UnimDatePicker1;
    IPicker.FirstDayOfWeek := TCalDayOfWeek.dowFriday;

  2. Ben bu hatayı alıyorum:

    Invalid session or session Timeout. (Invalid URI: /comcheckxxxxxxxxxxxxxx ) Restart application

    Yani bana cevap uniGUI den dönüyor. Sizin durumda bu URL'ler uniGUI'ye ulaşmıyor.

    IIS ayarlarını mümkünse tekrar sıfırdan yapın.

    https://b2b.test.com/test.dll çalışıyorsa ancak bunun altındaki URL ler çalışmıyorsa IIS kaynaklı.

  3. Kullanım doğru. Siz yine de DNS kaydını kontrol edin IP sizin subdomain'e point ediyor mu?

    C:\Users\user>ping b2b.test.com

    Reply from 216.58.206.206: bytes=32 time=61ms TTL=114
    Reply from 216.58.206.206: bytes=32 time=62ms TTL=114

    Bu komutun cevabı sizin hedeflediğiniz IP mi?

     

  4. Normalde ISAPI, service veya standalone hepsinde çalışması lazım.

    procedure TUniServerModule.UniGUIServerModuleHTTPCommand(
      ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo;
      var Handled: Boolean);
    begin

    //Debug.Log(ARequestInfo.URI);


      if ARequestInfo.URI = '/islem' then
      begin
        AResponseInfo.ContentText := 'OK';
        AResponseInfo.ResponseNo  := 200;
        AResponseInfo.ContentType := 'text/html';
        Handled := True;
      end;
    end;

    Başlangıçta ARequestInfo.URI yi bir loga yazdırıp bakın bakalım hiç çağırıyor mu UniGUIServerModuleHTTPCommand'ı?

    Aynı program normal uniGUI formları ile de hizmet veriyorsa o bölümlere erişilebiliyor mu?

  5. Or if you are running stand alone or service than this code:

    procedure TUniServerModule.UniGUIServerModuleHTTPCommand(
      ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo;
      var Handled: Boolean);
    begin
      AResponseInfo.CustomHeaders.AddValue('X-Frame-Options', 'DENY');
    end;
     

    • Like 2
  6. One possible case may be that libmysql.dll depends on something like Visual C++ Redistributable Packages and they are not installed in your production server. Did you test a simple VCL form with a fdconnection on it? Is it the same error message?

  7. I am using both service and stand alone (VCL) there is no difference in SSL certificate handling.

    5 hours ago, oflor said:

    but inside the net (intranet) the certificate is "insecure".

    What is the exact browser message?

  8. @oflor I am using a single ssl certificate in both internet and intranet server.

    I mean in the public internet dns the host name points to an host on internet and in intranet dns points to 192.168.x.xx local LAN.

    And I don't get any errors with this type of setup. Make sure that you setup the certificate correctly on intranet server (make sure ssl dlls are newest version)

    29 minutes ago, oflor said:

    Internally are a transparent redirect on the dns to point sebaotweb.sebaot.com to the server using internal IP address.

    I think there is also a possibility that during transparent redirection your proxy or security module may be causing this warning. Because in some setups I saw that proxies install their own ssl as CA root between client and internet in order to decode ssl traffic to analize.

    • Like 1
  9.   you will need ssl dlls 64/32bit (FMSoft\Framework\uniGUI\SSL\dll) put them to your executable location

      You will require cert.pem, key.pem and root.pem to start SSL.
      https:// is required for webcam access by browser.
     

  10. I just found a little late. There is already a component developed for webcam. I recommend you also have look into this.

     

     

  11. 3 minutes ago, dkeene said:

    you saying that the attached index.html, adapter-latest.js and main.js files need to reside on each remote computer?

    no. just on your server. Its my bad English. I mean put them in a location your uniGUI server can see that is all.

  12. On 6/13/2020 at 7:55 PM, dkeene said:

    Does this only work on the Mobile unigui environment?
    Is your device working now?

    By the way just tested on desktop it works fine.

    Capture.PNG

×
×
  • Create New...