Friday 15 March 2013

ios - WL.Client.login() then nsurlerrordomain error 1012 -


Varkalight 6.2 To target a hybrid application to the iPad - we get the symptoms described below in the ExCode Simulator, which is totally dependent on the target device. Choose.

The app currently tries to call

  from   

WlCommoninit ()

Our target server is a full WL server running on Liberty Instance on a remote machine, we use HTTPS and a specified IP address

  https: // wxyz: 443 / worklight  

We have adjusted the deployment target and have rebuilt the app before running XCode.

WL.Client.login () error callback fire and we see the log message that we are trying to kill the right URL, we also see this error message

  NSURLErrorDomain Error -1012  

We have a complex network setup, with firewalls between IOS simulators and servers and even if we use a safari on a simulated device If we run, we can access the URL correctly.

Question:

  1. Does the NSRRL show the cause of Dorman Failure? Or is this just a part of the error processing?

  2. Any suggestions for further diagnosis?

Further investigation indicates that we have the wrong URL configured is. It seems that

  NSURLErrorDomain error -1012  

is not an indicator of the problem. Rather, the error is due to failure to reach the specified host. Conclusion: Study the logs before the NSUERRDOMMan message.


No comments:

Post a Comment