FFREDIANELLI Posted July 12, 2022 Share Posted July 12, 2022 Hi guys, please some help. I created a link in email with the application unigui and passing parameters, if i click in the link in outlook, our gmail, etc... the page open and close imediately. If i copy the link and paste in browser it open and work perfectly... so... may be because i'm not using ssl ? do I have to buy a certificate ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 12, 2022 Share Posted July 12, 2022 Hello, Your case is not very clear. Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted July 12, 2022 Author Share Posted July 12, 2022 1 hour ago, Sherzod said: Hello, Your case is not very clear. Hi Sherzod, problably by my english. My application create an email , in the body of the email , the application create a hyperlink, to my site with an unigui application. In the link i have parameters (crypted) to explain what to the application. The guy that receive the email click on hyperlink and the site open, for some milliseconts ( i can see the gif of unigui running...) but closes. If the guy copy the hyperlink to the browser, it open and do the expected things... I do not know if is the site that do not have ssl certificate, because if i put in the same application a link to a commercial site... it open. Quote Link to comment Share on other sites More sharing options...
Roberto Nicchi Posted July 13, 2022 Share Posted July 13, 2022 10 hours ago, FFREDIANELLI said: Hi Sherzod, problably by my english. My application create an email , in the body of the email , the application create a hyperlink, to my site with an unigui application. In the link i have parameters (crypted) to explain what to the application. The guy that receive the email click on hyperlink and the site open, for some milliseconts ( i can see the gif of unigui running...) but closes. If the guy copy the hyperlink to the browser, it open and do the expected things... I do not know if is the site that do not have ssl certificate, because if i put in the same application a link to a commercial site... it open. Could be the Antivirus software ? Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted July 13, 2022 Author Share Posted July 13, 2022 4 hours ago, Roberto Nicchi said: Could be the Antivirus software ? Same effect with antivirus disabled. Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted July 13, 2022 Share Posted July 13, 2022 no html ao gerar, o link, coloque o parametro para que o link abra em uma nova aba do novegador, ex <a href="https://www.WordPress.com" target="_blank">WordPress Homepage</a> Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted July 15, 2022 Author Share Posted July 15, 2022 On 7/13/2022 at 10:58 AM, Wilton Ergon said: no html ao gerar, o link, coloque o parametro para que o link abra em uma nova aba do novegador, ex <a href="https://www.WordPress.com" target="_blank">WordPress Homepage</a> Obrigado Wilton, mas não teve efeito, testei de todas as formas com o mesmo link que uso em outro aplicativo e nao vai, começo a desconfiar do hyperserver, que no outro aplicativo não utilizo. Thank Wilton , no positive effect, tested in all forms , I'm starting to think that may be or ssl that i do not have in this server or hyperserver that i'm using in this server. Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 38 minutes ago, FFREDIANELLI said: Obrigado Wilton, mas não teve efeito, testei de todas as formas com o mesmo link que uso em outro aplicativo e nao vai, começo a desconfiar do hyperserver, que no outro aplicativo não utilizo. Thank Wilton , no positive effect, tested in all forms , I'm starting to think that may be or ssl that i do not have in this server or hyperserver that i'm using in this server. Hello, what response (security) headers You use, this may be a reason of problem ! Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted July 15, 2022 Author Share Posted July 15, 2022 5 hours ago, irigsoft said: Hello, what response (security) headers You use, this may be a reason of problem ! Thants irigsoft , but if i don't know where to create this security headers, problably i do not created it... 😑 , struggling to solve the problem i created the email link to point to my local computer and this message error is show in a white page, but at list i can see something... Access denied: with the name of my unigui application. some other idea ? Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 15 minutes ago, FFREDIANELLI said: some other idea ? 1. add exit; on UniGUIServerModuleHTTPCommand after begin of procedure and try again. 2. try with StandAloneApp.exe (did You have error message) Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 3. Try this link as QR Code Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted July 15, 2022 Author Share Posted July 15, 2022 10 minutes ago, irigsoft said: 1. add exit; on UniGUIServerModuleHTTPCommand after begin of procedure and try again. 2. try with StandAloneApp.exe (did You have error message) 1. I do not have UniGUIServerModuleHTTPCommand in my uniguiservermmodule. 2. this message Access denied i can see only in my standalone local execution, if i run in hyperserver in the server , it only closes the windows. Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 3 minutes ago, FFREDIANELLI said: 1. I do not have UniGUIServerModuleHTTPCommand in my uniguiservermmodule. 2. this message Access denied i can see only in my standalone local execution, if i run in hyperserver in the server , it only closes the windows. ok, 1. try to Start As Administrator 2. Set Rights of directory for Everyone fullControl Do you have an "Access Denied" message (string) somewhere in the code Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 14 minutes ago, FFREDIANELLI said: 2. this message Access denied i can see only in my standalone local execution, if i run in hyperserver in the server , it only closes the windows. what is your start url, is it different from the email url? if so then try adding some headers in UniGUIServerModuleHTTPCommand as: //send the request origin, path, and string when executing a request with the same origin. AResponseInfo.CustomHeaders.AddValue('Referrer-Policy', 'strict-origin-when-cross-origin'); another possible reason is that your url starts with https and you redirect to http (if you don't have headers for this then google may block you) , also check if it is set that way uniServerModule.Options.soAutoRedirectHttps = False; and to end all suggestions, try to create a test case with a single button that opens a link in a new window (and tell me if it works?) Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted July 15, 2022 Author Share Posted July 15, 2022 10 minutes ago, irigsoft said: what is you starting URL, is it different from email url ? if so then tray to add some headers in UniGUIServerModuleHTTPCommand like: //send the origin, path, and querystring when performing a same-origin request. AResponseInfo.CustomHeaders.AddValue('Referrer-Policy', 'strict-origin-when-cross-origin'); other possible reason is Your URL starts with https and You redirect to http, (If you dont have headers for that then google can blocked You) uniServerModule.Options.soAutoRedirectHttps = False; and end of all, try to create test case with one button that open link in new window (and tell me is it work?) Searching in the folder there is only one ocurrence of the Denied Acess , I think that only who has access to the unigui sources can say where it is used... uIdResourceStrings_RSStackEACCES, L"Access denied." Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 Just now, FFREDIANELLI said: Searching in the folder there is only one ocurrence of the Denied Acess , I think that only who has access to the unigui sources can say where it is used... uIdResourceStrings_RSStackEACCES, L"Access denied." Simple check: change message in code and try, after that unigui team maybe can tell what going on Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 Do You use WhiteIPList?, if so then You must populate Your IP on it! Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 look at this topic: "The issue was resolved by registering mime, in accordance with the file extension." Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted July 15, 2022 Author Share Posted July 15, 2022 12 minutes ago, irigsoft said: Simple check: change message in code and try, after that unigui team maybe can tell what going on but where change this... the error is triggered before the first command of the oncreate of the mainform... Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted July 15, 2022 Author Share Posted July 15, 2022 3 minutes ago, irigsoft said: Do You use WhiteIPList?, if so then You must populate Your IP on it! not in this application, and see that, if I copy and paste the hyperlink in the browser directly the program works !!! so, is something that the unigui see that the application came from another source (email in html) and nnot form the adress bar of the browser. Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 If you try only localhost:8079/?M=..... Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 1 minute ago, FFREDIANELLI said: not in this application, and see that, if I copy and paste the hyperlink in the browser directly the program works !!! so, is something that the unigui see that the application came from another source (email in html) and nnot form the adress bar of the browser. try to create a test case with a single button that opens a link in a new window (and tell me if it works?) Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 look for this: Quote Link to comment Share on other sites More sharing options...
irigsoft Posted July 15, 2022 Share Posted July 15, 2022 look for this: Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted July 15, 2022 Author Share Posted July 15, 2022 My log file the message is similar tho this one but in this threath do not have a solution Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.