phonegap / phonegap-plugin-contentsync

Download and cache remotely hosted content
Apache License 2.0
206 stars 98 forks source link

Getting boringssl_session_read error #190

Open KimberleeDArmstrong opened 6 years ago

KimberleeDArmstrong commented 6 years ago

Expected Behaviour

Before adding the latest version of the plugin this was working. Files were unzipped and put into the app and loaded.

Actual Behaviour

Now I am getting this error.... 2018-01-03 09:55:22.270110-0600 Lineman-App[414:198345] Resetting plugins due to page load. 2018-01-03 09:55:23.376159-0600 Lineman-App[414:198345] Finished load of: file:///var/containers/Bundle/Application/E75D6F37-04CC-458C-9D95-E404FCEFC9ED/Lineman-App.app/www/index.html 2018-01-03 09:55:24.274513-0600 Lineman-App[414:198345] device ready 2018-01-03 09:55:24.274646-0600 Lineman-App[414:198345] device ready 2018-01-03 09:55:36.965866-0600 Lineman-App[414:198345] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2018-01-03 09:55:36.967644-0600 Lineman-App[414:198345] [MC] Reading from public effective user settings. 2018-01-03 09:55:37.334458-0600 Lineman-App[414:198345] API error: <_UIKBCompatInputView: 0x1068a5840; frame = (0 0; 0 0); layer = <CALayer: 0x101ea7c20>> returned 0 width, assuming UIViewNoIntrinsicMetric 2018-01-03 09:55:37.334975-0600 Lineman-App[414:198345] API error: <_UIKBCompatInputView: 0x1068a5840; frame = (0 0; 0 0); layer = <CALayer: 0x101ea7c20>> returned 0 width, assuming UIViewNoIntrinsicMetric 2018-01-03 09:56:00.944289-0600 Lineman-App[414:198345] loadJavascripts() from app index.html 2018-01-03 09:56:01.622078-0600 Lineman-App[414:198345] appPath file:///var/mobile/Containers/Data/Application/E53197BB-2DC2-4EDE-BDB6-1F03B033955C/Library/NoCloud/www 2018-01-03 09:56:01.622415-0600 Lineman-App[414:198345] Creating app directory /var/mobile/Containers/Data/Application/E53197BB-2DC2-4EDE-BDB6-1F03B033955C/Library/NoCloud/www 2018-01-03 09:56:01.624598-0600 Lineman-App[414:198629] copyCordovaAssets 2018-01-03 09:56:01.625000-0600 Lineman-App[414:198629] Copying Root App 2018-01-03 09:56:01.625832-0600 Lineman-App[414:198629] - mergeFolders: /var/containers/Bundle/Application/E75D6F37-04CC-458C-9D95-E404FCEFC9ED/Lineman-App.app/www intoPath: /var/mobile/Containers/Data/Application/E53197BB-2DC2-4EDE-BDB6-1F03B033955C/Library/NoCloud/www 2018-01-03 09:56:01.627701-0600 Lineman-App[414:198629] subPath: cordova-js-src 2018-01-03 09:56:01.629965-0600 Lineman-App[414:198629] create directory 2018-01-03 09:56:01.631358-0600 Lineman-App[414:198629] subPath: cordova-js-src/exec.js 2018-01-03 09:56:01.631729-0600 Lineman-App[414:198629] copyItemAtPath 2018-01-03 09:56:01.646431-0600 Lineman-App[414:198629] subPath: cordova-js-src/platform.js . . . 2018-01-03 09:56:06.871404-0600 Lineman-App[414:198629] copyItemAtPath 2018-01-03 09:56:06.876831-0600 Lineman-App[414:198629] subPath: themes/webdemo.css 2018-01-03 09:56:06.877491-0600 Lineman-App[414:198629] copyItemAtPath 2018-01-03 09:56:06.909110-0600 Lineman-App[414:198629] subPath: themes/webdemo.min.css 2018-01-03 09:56:06.909715-0600 Lineman-App[414:198629] copyItemAtPath 2018-01-03 09:56:07.309856-0600 Lineman-App[414:198759] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert 2018-01-03 09:56:07.310697-0600 Lineman-App[414:198759] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert 2018-01-03 09:56:07.310755-0600 Lineman-App[414:198759] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert 2018-01-03 09:57:08.474592-0600 Lineman-App[414:198345] Resetting plugins due to page load.

Any ideas what might be causing this?

Reproduce Scenario (including but not limited to)

Steps to Reproduce

This is my sync call with options set as such... var sync = ContentSync.sync({src:localStorage.ims_url+"/uploaded_files/LinemanApp.zip", id:"www", type:"merge", copyRootApp:true, copyCordovaAssets:true, header:false});

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

iOS 11.2.1

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

NA

Cordova CLI version and cordova platform version

Kimberlees-MacBook-Pro:dvLinemanAppSDK kimberleearmstrong$ cordova -version 8.0.0 Kimberlees-MacBook-Pro:dvLinemanAppSDK kimberleearmstrong$ cordova platform ios version Installed platforms: ios 4.5.4 Available platforms: android ~7.0.0 browser ~5.0.1 osx ~4.0.1 windows ~5.0.0 www ^3.12.0 Kimberlees-MacBook-Pro:dvLinemanAppSDK kimberleearmstrong$

Plugin version

Kimberlees-MacBook-Pro:dvLinemanAppSDK kimberleearmstrong$ cordova plugin ls com.googlemaps.ios 2.4.0 "Google Maps SDK for iOS" cordova-background-geolocation-lt 2.9.1 "BackgroundGeolocation" cordova-plugin-actionsheet 2.2.2 "ActionSheet" cordova-plugin-background-fetch 5.1.1 "CDVBackgroundFetch" cordova-plugin-camera 4.0.1 "Camera" cordova-plugin-cocoalumberjack 0.0.4 "CocoaLumberjack" cordova-plugin-console 1.0.2 "Console" cordova-plugin-device 2.0.1 "Device" cordova-plugin-dialogs 1.2.0 "Notification" cordova-plugin-file 5.0.0 "File" cordova-plugin-file-transfer 1.7.0 "File Transfer" cordova-plugin-googlemaps 2.0.10-beta-20170919-1445 "cordova-plugin-googlemaps" cordova-plugin-network-information 2.0.1 "Network Information" cordova-plugin-urlhandler 0.7.0 "URLHandler" cordova-plugin-whitelist 1.2.1 "Whitelist" cordova-spatialite-storage 1.1.0 "Cordova sqlite/spatialite storage plugin" phonegap-plugin-barcodescanner 7.0.0 "BarcodeScanner" phonegap-plugin-contentsync 1.4.2 "content-sync" phonegap-plugin-push 1.8.1 "PushPlugin" uk.co.workingedge.phonegap.plugin.launchnavigator 3.1.1 "Launch Navigator"

Sample Code that illustrates the problem

see above

Logs taken while reproducing problem

see above

Mijildinho commented 6 years ago

Same problem to me when I run my app that is calling Waston API!

renkosteenbeek commented 6 years ago

So did you figure out what was wrong?