Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What to do about an NSURLErrorDomain -999? [duplicate]

Possible Duplicate:
How do I fix NSURLErrorDomain error -999 in iPhone 3.0 OS

I have an iphone app, built with Jqtouch and phonega,p framework successfully made and submitted to the appstore several times. Then I updated to the new phonegap1.0.0, and then started getting errors related to something called webview. Eventually was advised to create new xcode project and import the old www folder into it. There are now no more errors but the app gets stuck in a loop with the error NSURLErrorDomain error -999. The app loads then starts flashing wildly between screens and the debugger repeats endlessly:

2011-08-31 16:55:13.520 MyIphoneApp[16657:207] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)

like image 918
danssker Avatar asked Aug 31 '11 16:08

danssker


1 Answers

That error number corresponds to NSURLErrorCancelled and means that the asynchronous load of the resource was cancelled.

Source Foundation Constants Reference at developer.apple.com

like image 159
Mike Hay Avatar answered Oct 17 '22 17:10

Mike Hay