cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <>
Subject [jira] [Commented] (CB-10250) "NSURLErrorDomain error -999" Infinite Loop Breaks Remote Sites
Date Wed, 23 Dec 2015 11:31:46 GMT


jcesarmobile commented on CB-10250:

Yeah, it shouldn't lock the browser, I was just commenting what the NSURLError -999 is, and
I was a bit wrong, this is the official documentation:

NSURLErrorCancelled (-999)
"Returned when an asynchronous load is canceled. A Web Kit framework delegate will receive
this error when it performs a cancel operation on a loading resource. Note that an NSURLConnection
or NSURLDownload delegate will not receive this error if the download is canceled."

I've been looking and CDVUIWebViewDelegate has code to handle it, but it might be working

This is very hard to test, I've only seen the -999 error on youtube website sometimes, but
it doesn't block the app.

Can you provide your website or a sample website with the same problem?

> "NSURLErrorDomain error -999" Infinite Loop Breaks Remote Sites
> ---------------------------------------------------------------
>                 Key: CB-10250
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>         Environment: iOS 9.2
> iPad 2 Emulator
> cordova-ios 4.0.1
>            Reporter: vB Results, LLC.
>            Priority: Blocker
> Whenever I tap a link on a remote site I get the following errors looping infinitely
in the XCode console when running the emulator.
> The page itself then becomes unresponsive to anything but scrolling, tapping a link will
underline the link but nothing happens.
> "2015-12-22 21:28:51.931 My Project[50066:507275] Failed to load webpage with error:
The operation couldn’t be completed. (NSURLErrorDomain error -999.)
> 2015-12-22 21:28:51.932 My Project[50066:507275] file:///Users/user900330/Library/Developer/CoreSimulator/Devices/DBFAD775-E311-4A18-BA8A-D5F376404977/data/Containers/Bundle/Application/82A8E42A-397E-4B8B-B609-6FCD6A2D4AAF/
> 2015-12-22 21:28:51.932 My Project[50066:507275] Resetting plugins due to page load.
> 2015-12-22 21:28:51.934 My Project[50066:507275] Failed to load webpage with error: The
operation couldn’t be completed. (NSURLErrorDomain error -999.)"
> Relevant entries in config.xml:
> <content src="" />
> <allow-navigation href="*" />
> <access origin="*" />
> <allow-navigation href="content://*" />
> <allow-navigation href="cdvfile://*" />
> I was experiencing this error on cordova-ios 3.9.2 and it seemed to be fixed with 4.0.0.
 With 4.0.1 it's back!

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message