You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "vB Results, LLC. (JIRA)" <ji...@apache.org> on 2015/12/23 11:12:46 UTC

[jira] [Comment Edited] (CB-10250) "NSURLErrorDomain error -999" Infinite Loop Breaks Remote Sites

    [ https://issues.apache.org/jira/browse/CB-10250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069464#comment-15069464 ] 

vB Results, LLC. edited comment on CB-10250 at 12/23/15 10:12 AM:
------------------------------------------------------------------

Regular engine, UIWebView.  I don't have this problem with WKWebView but it does not allow me to use AppendUserAgent due to a bug so I can't use WKWebView ;-(

And even if the navigation is canceled, it should not lock up the browser.  Literally, clicking a link renders the browser unusable and repeats this error message indefinitely, these error messages are not from repeated actions on my part.


was (Author: vbresults):
Regular engine, UIWebView.  I don't have this problem with WKWebView but it does not allow me to use AppendUserAgent due to a bug so I can't use WKWebView ;-(

> "NSURLErrorDomain error -999" Infinite Loop Breaks Remote Sites
> ---------------------------------------------------------------
>
>                 Key: CB-10250
>                 URL: https://issues.apache.org/jira/browse/CB-10250
>             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/My%20Project.app/www/index.html?error=Failed%20to%20load%20webpage%20with%20error:%20The%20operation%20couldn%E2%80%99t%20be%20completed.%20(NSURLErrorDomain%20error%20-999.)
> 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="http://www.example.com/page.php" />
> <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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org