MikeH Well-Known Member Licensed User Longtime User Jan 6, 2015 #1 I get error: The operation couldn’t be completed. (NSURLErrorDomain error -1200.) with url: https://www.vehicleenquiry.service.gov.uk/Default.aspx Other urls work fine and the same code works perfectly in b4a. I also tried hc.InitializeAcceptAll("hc") but no difference. Changing to http (rather than https) also makes no difference. Thanks for any help, Mike.
I get error: The operation couldn’t be completed. (NSURLErrorDomain error -1200.) with url: https://www.vehicleenquiry.service.gov.uk/Default.aspx Other urls work fine and the same code works perfectly in b4a. I also tried hc.InitializeAcceptAll("hc") but no difference. Changing to http (rather than https) also makes no difference. Thanks for any help, Mike.
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2015 #2 You cannot change to http because this site redirects it to https. The actual error is: cfnetwork sslhandshake failed (-9806) The server aborts the handshake for some reason. I've tried several workarounds and wasn't able to find the cause of this issue. Upvote 0
You cannot change to http because this site redirects it to https. The actual error is: cfnetwork sslhandshake failed (-9806) The server aborts the handshake for some reason. I've tried several workarounds and wasn't able to find the cause of this issue.
MikeH Well-Known Member Licensed User Longtime User Jan 7, 2015 #3 Thank you for trying, Erel. I can load this site into a webview, but I want to present the data in a different way. Is it possible to read the html from a webview? IOS must be saving it to somewhere. Upvote 0
Thank you for trying, Erel. I can load this site into a webview, but I want to present the data in a different way. Is it possible to read the html from a webview? IOS must be saving it to somewhere.
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2015 #4 Yes: https://www.b4x.com/android/forum/threads/javascript.46467/#post-287376 Upvote 0