Stop displaying the Script Error related to SSL
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Stop displaying the Script Error related to SSL
Hello All,
Since it is my first post here in the RunRev forum, I'd like to wish all the success for everyone.
My need is to know how to avoid displaying an the error message that pop up using the Browser Sampler I downloaded and tested it, and this is the script for the Pop Up windows included
on mouseUp
if "InetBrowser" is not among the lines of the openStacks then
set the altHomeURL of stack "InetBrowser" to "https://domain-name (dot) com/index.html"
go stack "InetBrowser"
end if
end mouseUp
The thing is I receive an error message when I run the Sampler Browser stating the there is an SSL error (since the https web page it self has error),
Is there a code/script that commands the application to ignore any script error to be displayed or am I doing something wrong, since I can not host the files under an other web server.
Thank you
Ramzi
Since it is my first post here in the RunRev forum, I'd like to wish all the success for everyone.
My need is to know how to avoid displaying an the error message that pop up using the Browser Sampler I downloaded and tested it, and this is the script for the Pop Up windows included
on mouseUp
if "InetBrowser" is not among the lines of the openStacks then
set the altHomeURL of stack "InetBrowser" to "https://domain-name (dot) com/index.html"
go stack "InetBrowser"
end if
end mouseUp
The thing is I receive an error message when I run the Sampler Browser stating the there is an SSL error (since the https web page it self has error),
Is there a code/script that commands the application to ignore any script error to be displayed or am I doing something wrong, since I can not host the files under an other web server.
Thank you
Ramzi
Re: Stop displaying the Script Error related to SSL
Hi Ramzi,
Welcome to the forum:)!
Take a look at "libURLSetSSLVerification" in the dictionary.
You would set it to false in the InetBrowser stack before the revBrowserOpen.
I think that will take care of the problem for you.
Simon
Welcome to the forum:)!
Take a look at "libURLSetSSLVerification" in the dictionary.
You would set it to false in the InetBrowser stack before the revBrowserOpen.
I think that will take care of the problem for you.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Stop displaying the Script Error related to SSL
Hello Simon,
Thank you for your courtesy in replying my request.
The thing is I tried to use this command " libUrlSetSSLVerification false" as follows:
on mouseUp
libUrlSetSSLVerification false
if "InetBrowser" is not among the lines of the openStacks then
set the altHomeURL of stack "InetBrowser" to "https://...domain(dot)com/index.html"
go stack "InetBrowser"
end if
end mouseUp
But it did not work
I also, added libUrlSetSSLVerification false to make it looks like this in the InetBrowser Stack script
libUrlSetSSLVerification false
local tBrowserId
put revBrowserOpen(tWindowId, pUrl) into tBrowserId
I am a bit lost here, since I am trying to get it right by logic but I failed. I am doing something wrong here, so a kind of a precise place to insert the command would be kind.
Basically, I did not change any thing inside the original script of the downloaded Browser Sampler, I just by logic tried to insert that command (libUrlSetSSLVerification false) where I thought it should be.
Thank you,
Ramzi
Thank you for your courtesy in replying my request.
The thing is I tried to use this command " libUrlSetSSLVerification false" as follows:
on mouseUp
libUrlSetSSLVerification false
if "InetBrowser" is not among the lines of the openStacks then
set the altHomeURL of stack "InetBrowser" to "https://...domain(dot)com/index.html"
go stack "InetBrowser"
end if
end mouseUp
But it did not work
I also, added libUrlSetSSLVerification false to make it looks like this in the InetBrowser Stack script
libUrlSetSSLVerification false
local tBrowserId
put revBrowserOpen(tWindowId, pUrl) into tBrowserId
I am a bit lost here, since I am trying to get it right by logic but I failed. I am doing something wrong here, so a kind of a precise place to insert the command would be kind.
Basically, I did not change any thing inside the original script of the downloaded Browser Sampler, I just by logic tried to insert that command (libUrlSetSSLVerification false) where I thought it should be.
Thank you,
Ramzi
Re: Stop displaying the Script Error related to SSL
Hi Ramzi,
Sorry I think I read your original post incorrectly.
Is this the type of error you are getting?
http://quality.runrev.com/show_bug.cgi?id=7721
You will have to sign up to use the site but if it matches what you are seeing please add a comment.
Simon
Sorry I think I read your original post incorrectly.
Is this the type of error you are getting?
http://quality.runrev.com/show_bug.cgi?id=7721
You will have to sign up to use the site but if it matches what you are seeing please add a comment.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Stop displaying the Script Error related to SSL
Hello,
Thank you again Simon for your kind assistance.
I have made a video and uploaded here:
youtube(dot)com/embed/3y7L210Ktgs?rel=0&vq=hd720
Please copy and paste it in your web browser and change (dot) with the correct character.
I explained there all I did and what I faced in a random example.
Thank you
Ramzi
Thank you again Simon for your kind assistance.
I have made a video and uploaded here:
youtube(dot)com/embed/3y7L210Ktgs?rel=0&vq=hd720
Please copy and paste it in your web browser and change (dot) with the correct character.
I explained there all I did and what I faced in a random example.
Thank you
Ramzi
Re: Stop displaying the Script Error related to SSL
Hi Ramzi,
The first error is the one they talk about in that bug report, but I can't tell if the second error can be included.
You have the libUrlSetSSLVerification false in the correct place (one of them at least) and that doesn't seem to solve the problem.
I didn't notice but was there an error code in that messagebox?
Not sure if I can be of much more help.
You can try;
That may work for you.
Simon
The first error is the one they talk about in that bug report, but I can't tell if the second error can be included.
You have the libUrlSetSSLVerification false in the correct place (one of them at least) and that doesn't seem to solve the problem.
I didn't notice but was there an error code in that messagebox?
Not sure if I can be of much more help.
You can try;
Code: Select all
put url "https://that_big_long_url.com" into myUrl
set the htmlText of field "myHTML" to myUrl
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Stop displaying the Script Error related to SSL
Hello Simon,
Yes, indeed I inserted the command in many places in order to see its impact, but not working at 100%.
The thing is I tried to use many https website, I have noticed sites Like https(dot)Google(dot)com or htttps(dot)youtube(dot)com do not cause this error to be displayed in the final windows application.
Concerning the error messages, the first one is related to showing/displaying Adsense Ads inside the Pop up windows (once I accept it) the ads won't show up, the second one, which is the one that I am trying to hide forever, is related to the SSL certificate itself, I think when the web page that should be displayed in the pop up windows has error/bug..., that script error comes up...
Anyhow, I will keep on trying to see the final outcome.
Thank you for your kind support,
Ramzi
Yes, indeed I inserted the command in many places in order to see its impact, but not working at 100%.
The thing is I tried to use many https website, I have noticed sites Like https(dot)Google(dot)com or htttps(dot)youtube(dot)com do not cause this error to be displayed in the final windows application.
Concerning the error messages, the first one is related to showing/displaying Adsense Ads inside the Pop up windows (once I accept it) the ads won't show up, the second one, which is the one that I am trying to hide forever, is related to the SSL certificate itself, I think when the web page that should be displayed in the pop up windows has error/bug..., that script error comes up...
Anyhow, I will keep on trying to see the final outcome.
Thank you for your kind support,
Ramzi