Mehmet Emin
uniGUI Subscriber-
Posts
229 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
Events
Everything posted by Mehmet Emin
-
uses uniDateTimePicker, unimDatePicker, uniGUIInterfaces, ..... var IPicker: IUniDateTimePicker; begin IPicker := UnimDatePicker1; IPicker.FirstDayOfWeek := TCalDayOfWeek.dowFriday;
-
uniGUI dll'iniz normal form requestlere yanıt veriyor ve düzgün çalışıyorsa. https://b2b.test.com:8443/test.dll/olmayanbirurl 404 dönüyorsa https://b2b.test.com:8443/test.dll/islem 405 dönüyorsa ISAPI GET,POST vs. izinler ile ilgili. Yardımcı olamadım.
-
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ı.
-
Son olarak https://b2b.test.com:8443/test.dll/olmayanbirurl yazınca ne hata alıyorsunuz?
-
Siz bu URL yi browser'a mı yazıyorsunuz yoksa örn. bir delphi client uygulamasında mı çağırıyorsunuz?
-
Ben sizin verdiğiniz örneğin aynısını kullanıyorum ISAPI/Standalone sorunsuz çalışıyor.
-
Bir ihtimal kullandığınız uniGUI sürümünde HTTPCommand'ın ISAPI altında çağrımı ile ilgili bir problem olabilir mi? Güncel sürümde misiniz?
-
Ayrıca port adresiniz 443 den farklı ise örn. 8443 -> https://b2b.test.com:8443/test.dll/islem
-
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?
-
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?
-
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;
-
Are you running on IIS? If yes you can add it like this: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
-
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?
-
@oflor I was going to write the possible reasons but @Sherzod's link explains all possible reasons. Must be one of them.
-
I am using both service and stand alone (VCL) there is no difference in SSL certificate handling. What is the exact browser message?
-
@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) 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.
-
Do you have the option to process this in browser ? HTMLElement.innerText would do it. Then you can send it to server.
-
I tried to set this property to http://cdn.... but it is not what I expected. Can you explain how to use this? Thanks
-
Depending on your build. Copy x64 or x86 dlls (not both) into where your exe located.
-
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.
-
I just found a little late. There is already a component developed for webcam. I recommend you also have look into this.
-
Compile this one. webcam.7z webcam.7z
-
no. just on your server. Its my bad English. I mean put them in a location your uniGUI server can see that is all.
-
I dont have any access to laptop now. I will attach to this thread as I return on Wednesday.
-