2017년 5월 8일 월요일

How to ignore SSL errors with the Web Component?


Based on the stock example I made a program that can do do GET requests with the Web component.
A call to finance.google via http://  returns the stock information.
A call to my LMS via https:// returns error 1101 "Unable to get a response with the specified URL"

Then I tried the WebViewer component (instead of the Web component).
A call to my LMS with the identical URL via https:// returned error 2501 "SSL connaction could not complete"
Then I Set WebViewer.IgnoreSslErrors to True and tried again. It worked! Now the call returns the expected XML.

Now my question: The Web Component doesn't have an IgnoreSSLErrors function.
Is there a way to ignore SSL errors with the Web component and get it to work too?

--
error 1101 normally means, there is no internet connection, you did not get any response at all from that URL

 The Web Component doesn't have an IgnoreSSLErrors function. 
exactly

Is there a way to ignore SSL errors with the Web component and get it to work too?
no, but I don't think, it is an SSL error in this case...

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

--
Thanks for your reaction. I made a minimal program to demonstrate the problem.
Attached the code and the screen output.
With a call to http://finance.google.com all buttons deliver the requested output.
With this https:// call only Button3 delivers the requested output 



--
probably you can adjust something on the server side?

--
OK, I will try to get the server fixed. Thanks for your help

--

댓글 없음:

댓글 쓰기