cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vB Results, LLC. (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10250) "NSURLErrorDomain error -999" Infinite Loop Breaks Remote Sites
Date Wed, 13 Jan 2016 07:30:39 GMT

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

vB Results, LLC. commented on CB-10250:
---------------------------------------

[~jcesarmobile] Reproduced on iPad again.  Same with cordova-ios 4.0.0 and 4.0.1.

Install this app, which has the problem: https://itunes.apple.com/us/app/business-advice-forum/id1060344371?mt=8

Tap links very quickly, before the page finishes loading, and you will eventually trigger
the error.

You only have to trigger this once.  And when you do, the infinite loop starts and the app
is hosed.

Didn't have this issue when I had the <content /> url set to index.html which redirected
to the site.

The reason we can't keep using a local content url and redirect is that breaks our plugins.

> "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
>          Components: iOS
>         Environment: iOS 9.2
> iPad 2 Emulator
> cordova-ios 4.0.1
>            Reporter: vB Results, LLC.
>              Labels: triaged
>
> 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


Mime
View raw message