Deploy Live Updates - reload the web view error


#1

I have followed the step by step on the “Continuous Deployment & Live Updates with Ionic Deploy” from Matt’s video.

Downloading an update from “production” channel is working, but seeing the following errors from xcode console after downloading is complete and to reload the web view.


018-04-12 16:55:01.847674-0500 deploy-video[4084:1203889] Zip Extraction: 99%
2018-04-12 16:55:01.848506-0500 deploy-video[4084:1203889] Zip Extraction: 100%
2018-04-12 16:55:01.851600-0500 deploy-video[4084:1203889] Zip Extraction: 100%

2018-04-12 16:55:01.858823-0500 deploy-video[4084:1203889] Removed Version ab7dc1b3-32d8-433e-9cef-4f571057dd08 success? 1
2018-04-12 16:55:01.858839-0500 deploy-video[4084:1203889] Version Count: 1
2018-04-12 16:55:01.859366-0500 deploy-video[4084:1203889] Excluding /var/mobile/Containers/Data/Application/52A0B689-6136-4BA9-AC18-7A5BD4E19FFA/Library/Application Support/ from backup
2018-04-12 16:55:01.859381-0500 deploy-video[4084:1203889] updating version label
2018-04-12 16:55:01.860503-0500 deploy-video[4084:1203889] Unzipped…
2018-04-12 16:55:01.860517-0500 deploy-video[4084:1203889] Removing www.zip 1
2018-04-12 16:55:01.861205-0500 deploy-video[4084:1203889] uuid is: 92ffd8e4-77d5-45a3-95db-cd27e6c7f5e9
2018-04-12 16:55:01.861221-0500 deploy-video[4084:1203889] ignore version: NOTHING_TO_IGNORE
2018-04-12 16:55:01.865159-0500 deploy-video[4084:1203957] Redirecting to: file:/var/mobile/Containers/Data/Application/52A0B689-6136-4BA9-AC18-7A5BD4E19FFA/Library/Application%20Support/92ffd8e4-77d5-45a3-95db-cd27e6c7f5e9/index.html?cordova_js_bootstrap_resource=/var/containers/Bundle/Application/A0756349-198A-4192-9FAC-3032A261CD7E/deploy-video.app/www/cordova.js
2018-04-12 16:55:01.865203-0500 deploy-video[4084:1203889] Reloading the web view.
2018-04-12 16:55:01.871565-0500 deploy-video[4084:1203889] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)


#2

Bump, seeing the exact same issue. In addition, my snapshots are not actually applying.

As far as I can tell, it happened after upgrading Pro Deploy and WKWebView (if you happen to be using that), but I’m not entirely sure


#3

Adding the followings to config.xml did get rid of “Failed to load webpage with error” but now i am getting another error…

[BoringSSL] Function boringssl_session_errorlog: line 2881 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert


#4

Never mind. Still getting the same error.

2018-04-16 10:43:37.986834-0500 deploy-video[9311:2641357] updating version label
2018-04-16 10:43:37.987559-0500 deploy-video[9311:2641357] Unzipped…
2018-04-16 10:43:37.987570-0500 deploy-video[9311:2641357] Removing www.zip 1
2018-04-16 10:43:37.988307-0500 deploy-video[9311:2641357] uuid is: a848e9a9-7ca2-49e7-8a64-9704933a1daf
2018-04-16 10:43:37.988319-0500 deploy-video[9311:2641357] ignore version: NOTHING_TO_IGNORE
2018-04-16 10:43:37.991475-0500 deploy-video[9311:2641396] Redirecting to: file:/var/mobile/Containers/Data/Application/5D39F18A-EE12-47D1-B16F-E6F5F67A34AA/Library/Application%20Support/a848e9a9-7ca2-49e7-8a64-9704933a1daf/index.html?cordova_js_bootstrap_resource=/var/containers/Bundle/Application/7B191012-A763-42B7-A57F-C4F1CFB1F56B/deploy-video.app/www/cordova.js
2018-04-16 10:43:37.991521-0500 deploy-video[9311:2641357] Reloading the web view.
2018-04-16 10:43:37.997174-0500 deploy-video[9311:2641357] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)
2018-04-16 10:43:38.421809-0500 deploy-video[9311:2641357] Ionic Native: deviceready event fired after 357 ms


#5

Downgradecordova-plugin-ionic to 4.0.1 and cordova-plugin-ionic-webview to 1.1.16 works


#6

Yup, that’s what Ive been doing across the board.

While 4.1.4 was a step in the right direction, it unfortunately did not solve these deploy and reload issues.


#7

Same problem!
Fixed, thanks to @oncallfnb :slight_smile: