opentok / cordova-plugin-opentok

Cordova Plugin for OpenTok - add webrtc video to your iOS or Android App
MIT License
30 stars 80 forks source link

NSURL -1100 Error #167

Open eccdev opened 5 years ago

eccdev commented 5 years ago

Hi,

I have a full fledged Opentok Cordova app that has been in use since 2015. I decided to try upgrading it to the latest version of the Cordova plugin, but wound up with an NSURL error as soon as the actual video chat page was reached after the logon and appointment selection page. To see whether the problem was with my code, I pulled down the sample app, and wound up with the same error. Here's the output from Xcode: 2019-06-09 13:01:53.826864-0400 OpenTokCordovaBasicVideoSample[675:66640] Apache Cordova native platform version 4.5.3 is starting. 2019-06-09 13:01:53.828279-0400 OpenTokCordovaBasicVideoSample[675:66640] Multi-tasking -> Device: YES, App: YES 2019-06-09 13:01:53.837616-0400 OpenTokCordovaBasicVideoSample[675:66640]

Started backup to iCloud! Please be careful. Your application might be rejected by Apple if you store too much data. For more information please read "iOS Data Storage Guidelines" at: https://developer.apple.com/icloud/documentation/data-storage/ To disable web storage backup to iCloud, set the BackupWebStorage preference to "local" in the Cordova config.xml file 2019-06-09 13:01:53.880360-0400 OpenTokCordovaBasicVideoSample[675:66640] Using UIWebView 2019-06-09 13:01:53.884050-0400 OpenTokCordovaBasicVideoSample[675:66640] [CDVTimer][console] 0.110984ms 2019-06-09 13:01:53.884483-0400 OpenTokCordovaBasicVideoSample[675:66640] [CDVTimer][handleopenurl] 0.308990ms 2019-06-09 13:01:53.887021-0400 OpenTokCordovaBasicVideoSample[675:66640] [CDVTimer][intentandnavigationfilter] 2.455950ms 2019-06-09 13:01:53.887268-0400 OpenTokCordovaBasicVideoSample[675:66640] [CDVTimer][gesturehandler] 0.162959ms 2019-06-09 13:01:53.887391-0400 OpenTokCordovaBasicVideoSample[675:66640] [CDVTimer][TotalPluginStartup] 3.553987ms 2019-06-09 13:01:54.282468-0400 OpenTokCordovaBasicVideoSample[675:66640] Resetting plugins due to page load. 2019-06-09 13:01:54.450279-0400 OpenTokCordovaBasicVideoSample[675:66684] NSURLConnection finished with error - code -1100 2019-06-09 13:01:54.462088-0400 OpenTokCordovaBasicVideoSample[675:66684] NSURLConnection finished with error - code -1100 2019-06-09 13:01:54.511560-0400 OpenTokCordovaBasicVideoSample[675:66640] Finished load of: file:///var/containers/Bundle/Application/96F85DE9-F82F-4CF4-B27E-E3A6FD33F498/OpenTokCordovaBasicVideoSample.app/www/index.html


I've built an app using the opentok-react-native with not problem for both Android and IOS, although I discovered I had to upgrade my api server's cypher settings to be up to what react native is expecting, and to be sure went to a windows server 2016 AWS ec2 instance to be sure. Interestingly enough, toxbox is unable to ping the 2016 instance, which has the same cypher settings as the 2012 r2 server. I'm wondering if this may be related.

Regards, Ed Colton