[AC-1000] " Unable to securely connect to XXXXXXXXXXX with the latest TLS. Trying again with TLS1.0. It is highly suggested that the server be updated to the latest TLS support." The application does not run in simulator.
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2014-05-19T06:16:37.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Sherin Michael |
Assignee | Ritu Agrawal |
Created | 2014-05-12T04:37:18.000+0000 |
Updated | 2016-03-08T07:37:19.000+0000 |
Description
When tried to run titanium code base using SDK 3.2.2 and IOS SDK 7.1 getting the eerror " Unable to securely connect to XXXXXXXXXXX with the latest TLS. Trying again with TLS1.0. It is highly suggested that the server be updated to the latest TLS support." The application does not run in simulator.
Attachments
Please follow this test case: 1.Create a new classic project in Titanium. (In Titanium Studio 3.2.1, SDK 3.2.2. , CLI 3.2.1, IOS SDK 7.1 , Mavericks, Xcode 5.1) 2. Paste the following code in app.js ~~~ makeCall(); function makeCall() { var currentReq = Titanium.Network.createHTTPClient(); currentReq.setTimeout(300000); currentReq.onload = function() { }; currentReq.onerror = function(e) { var status =this.status; var statusText = this.statusText; alert("Error on Request",+e.error); } ; currentReq.open("GET", "http://developer.appcelerator.com/assets/img/DEV_appteam_photo.png"); currentReq.send(); } ~~~ 3. Run the project in IOS 7.1 simulator. You will get the "status" 0, which indicates the "UNSENT" request.In the console, the given error will be displayed. The same problem is seen even if no request is sent. Just create a new project and try it in the given environment, and you will get the same error regarding connection to the Analytics. I have attached a screen shot of the error .
I tried your test case and it runs just fine with 3.2.3 GA release. I added an alert to unload function and it gets called correctly. Your test is using HTTP and not HTTPS protocol so TLS or SSL should not be in play anyway. Note that your console error is unrelated to your test as it is a warning about sending app analytics to Appcelerator server that uses HTTPS.
Resolving this ticket as we cannot reproduce it and the reporter has not followed up with more information.