Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)
See original GitHub issueBug Report
Problem
The application screen keeps white.
What is expected to happen?
Load the contents of index.html
What does actually happen?
The application screen continues white.
Information
2019-05-06 16:29:37.710 MyApp[1690:710338] Apache Cordova native platform version 5.0.0 is starting.
2019-05-06 16:29:37.715 MyApp[1690:710338] Multi-tasking -> Device: YES, App: YES
2019-05-06 16:29:37.863 MyApp[1690:710338] Using UIWebView
2019-05-06 16:29:37.868 MyApp[1690:710338] [CDVTimer][console] 0.318050ms
2019-05-06 16:29:37.869 MyApp[1690:710338] [CDVTimer][handleopenurl] 0.393987ms
2019-05-06 16:29:37.876 MyApp[1690:710338] Unlimited access to network resources
2019-05-06 16:29:37.877 MyApp[1690:710338] [CDVTimer][intentandnavigationfilter] 7.097006ms
2019-05-06 16:29:37.877 MyApp[1690:710338] [CDVTimer][gesturehandler] 0.385046ms
2019-05-06 16:29:37.917 MyApp[1690:710338] [CDVTimer][splashscreen] 38.825035ms
2019-05-06 16:29:37.946 MyApp[1690:710338] [CDVTimer][statusbar] 28.538942ms
2019-05-06 16:29:37.948 MyApp[1690:710338] [CDVTimer][diagnostic] 1.608968ms
2019-05-06 16:29:37.953 MyApp[1690:710338] [CDVTimer][diagnostic_location] 4.774094ms
2019-05-06 16:29:37.958 MyApp[1690:710338] [CDVTimer][diagnostic_bluetooth] 4.623890ms
2019-05-06 16:29:37.959 MyApp[1690:710338] [CDVTimer][diagnostic_wifi] 0.315905ms
2019-05-06 16:29:37.960 MyApp[1690:710338] [CDVTimer][diagnostic_camera] 0.299931ms
2019-05-06 16:29:37.960 MyApp[1690:710338] [CDVTimer][diagnostic_notifications] 0.401020ms
2019-05-06 16:29:37.962 MyApp[1690:710338] [CDVTimer][diagnostic_microphone] 1.116037ms
2019-05-06 16:29:37.982 MyApp[1690:710338] [CDVTimer][diagnostic_contacts] 19.749999ms
2019-05-06 16:29:37.983 MyApp[1690:710338] [CDVTimer][diagnostic_calendar] 0.313044ms
2019-05-06 16:29:37.983 MyApp[1690:710338] [CDVTimer][diagnostic_reminders] 0.355959ms
2019-05-06 16:29:38.016 MyApp[1690:710338] [CDVTimer][diagnostic_motion] 32.029033ms
2019-05-06 16:29:38.019 MyApp[1690:710338] [CDVTimer][keyboard] 2.551079ms
2019-05-06 16:29:38.019 MyApp[1690:710338] [CDVTimer][TotalPluginStartup] 151.534081ms
2019-05-06 16:29:39.024 MyApp[1690:710338] Resetting plugins due to page load.
2019-05-06 16:29:39.109 MyApp[1690:710338] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)
2019-05-06 16:29:39.110 MyApp[1690:710338] Resetting plugins due to page load.
2019-05-06 16:29:40.957 MyApp[1690:710338] Finished load of: file:///var/containers/Bundle/Application/5BE9A2ED-2AAE-4D87-8676-D4AED809B626/MyApp.app/www/index.html
Command or Code
just run under these versions
Environment, Platform, Device
iPad iOS 9.3.5
Version information
$ cordova -v 9.0.0 $ ionic --version 4.10.3 “cordova-ios”: “5.0.0” “@ionic/v1-toolkit”: “^1.0.22”
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:14 (4 by maintainers)
Top Results From Across the Web
ionic failed to load webpage with error: The operation couldn't ...
From the error code "999", it looks like you are loading or reloading a second url before the UIWebView finished loading the first...
Read more >NSURLErrorDomain error -999, App s… - Apple Developer
I have created an ios app using Ionic framework. it runs well on browser. and also ionic Cordova emulate -l runs well. but...
Read more >Not able to launch iOS app due to Failed to load webpage ...
While installing build in iOS I am getting an issue like Failed to load webpage with error: The operation couldn't be completed.
Read more >FileTransfer Upload: Failed to load webpage with error: The ...
"Failed to load webpage with error: The operation couldn't be completed. (NSURLErrorDomain error -999.)" All the aspx page does is send me an ......
Read more >Failed To Load Webpage With Error: The Operation Couldn't ...
Failed To Load Webpage With Error: The Operation Couldn't Be Completed. (Nsurlerrordomain Error -999.) Cordova Ios. I'm trying to load a image from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m having this issue too. This is the
ionic info
:This is Xcode console:
Here is a preview:
@timbru31 it seems reinstalling the cordova-plugin-ionic-webview solved it for me. Many Thanks.