{ "id": "129824", "key": "AC-1462", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-05-04T05:34:35.000+0000", "created": "2014-04-30T05:06:24.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "37506", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "130269", "key": "AC-1000", "fields": { "summary": " \" 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.", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:54.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "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.", "attachment": [ { "id": "47881", "filename": "Screen Shot 2014-05-07 at 10.34.28 am.png", "author": { "name": "smkteekoy@gmail.com", "key": "smkteekoy@gmail.com", "displayName": "Sherin Michael", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-07T05:05:58.000+0000", "size": 93911, "mimeType": "image/png" } ], "flagged": false, "summary": " \" 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.", "creator": { "name": "smkteekoy@gmail.com", "key": "smkteekoy@gmail.com", "displayName": "Sherin Michael", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smkteekoy@gmail.com", "key": "smkteekoy@gmail.com", "displayName": "Sherin Michael", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.2.2, Mavericks, IOS SDK 7.1 , simulator 7.0 or 7.1", "comment": { "comments": [ { "id": "303014", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please let us know which server you are connecting to here. It would be great if you can provide a simple test to reproduce this issue.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-30T05:59:33.000+0000", "updated": "2014-04-30T05:59:33.000+0000" }, { "id": "303023", "author": { "name": "smkteekoy@gmail.com", "key": "smkteekoy@gmail.com", "displayName": "Sherin Michael", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Server details can not be given because its confidential. \r\nTest - just trying to connect to the server by sending a SOAP request results in the error. \r\nAll i know about is - http://www.appcelerator.com/blog/2012/11/the-titanium-sdk-and-certificate-validation/\r\nSo wanted to know if there is any settings be changed in order to bypass the TLS checking from the titanium studio , other than upgrading the server. ", "updateAuthor": { "name": "smkteekoy@gmail.com", "key": "smkteekoy@gmail.com", "displayName": "Sherin Michael", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-30T08:15:53.000+0000", "updated": "2014-04-30T08:15:53.000+0000" }, { "id": "303284", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Have you tried setting tlsVersion, in your application using setTlsversion method, to the version your server supports? We do not need the actual server information but what TLS version you are running there. We also need a Titanium test case to see how you are using this functionality.\r\n\r\nhttp://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Network.HTTPClient\r\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-02T05:28:11.000+0000", "updated": "2014-05-02T05:40:18.000+0000" }, { "id": "303292", "author": { "name": "smkteekoy@gmail.com", "key": "smkteekoy@gmail.com", "displayName": "Sherin Michael", "active": true, "timeZone": "America/Los_Angeles" }, "body": "What I do is \r\n\r\n\r\nfunction makeCall(payload, callback) {\r\n\r\n\tvar currentReq = Titanium.Network.createHTTPClient();\r\n\r\n\tcurrentReq.onload = function() {\r\n\t\t//some code here\r\n}\r\n\r\ncurrentReq.onerror = function(e) {\r\n//some code here\r\n\r\nTi.API.info(\"Error on Request\",+e.error);\r\n\r\n}\r\n\r\nI am getting \"NaN\" in the console. The payload is a SOAP request.\r\nWhen I set currentReq.setTlsVersion(1.0), the above said error is not displayed. But the request fails and am getting \"Nan\" as the error. The cod eworks fine in simulator 6.1 without setting the tlsversion. Server is using version 1.0", "updateAuthor": { "name": "smkteekoy@gmail.com", "key": "smkteekoy@gmail.com", "displayName": "Sherin Michael", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-02T13:42:52.000+0000", "updated": "2014-05-02T13:42:52.000+0000" }, { "id": "303412", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We will not be able to diagnose this issue without a complete runnable test case and access to your server. We are resolving this ticket due to the lack of a proper test case but let us know if you can provide this information and we would be happy to reopen this ticket.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-04T05:34:13.000+0000", "updated": "2014-05-04T05:34:13.000+0000" }, { "id": "303770", "author": { "name": "smkteekoy@gmail.com", "key": "smkteekoy@gmail.com", "displayName": "Sherin Michael", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please follow this test case:\r\n\r\n1.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)\r\n2. Paste the following code in app.js \r\n~\r\nmakeCall();\r\n\r\nfunction makeCall() {\r\n\tvar currentReq = Titanium.Network.createHTTPClient();\r\n \tcurrentReq.setTimeout(300000);\r\n\tcurrentReq.onload = function() {\t\t\r\n\t};\r\n\r\ncurrentReq.onerror = function(e) {\r\n\tvar status =this.status;\r\n\tvar statusText = this.statusText;\r\n\talert(\"Error on Request\",+e.error);\r\n};\r\ncurrentReq.open(\"GET\", \"http://developer.appcelerator.com/assets/img/DEV_appteam_photo.png\");\r\n\tcurrentReq.send();\r\n}\r\n~\r\n3. Run the project in IOS 7.1 simulator.\r\n\r\nYou will get the \"status\" 0, which indicates the \"UNSENT\" request.In the console, the given error will be displayed.\r\n\r\nThe 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 .", "updateAuthor": { "name": "smkteekoy@gmail.com", "key": "smkteekoy@gmail.com", "displayName": "Sherin Michael", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-07T04:47:50.000+0000", "updated": "2014-05-07T05:40:51.000+0000" }, { "id": "304324", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "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.\r\n\r\nNote that your console error is unrelated to your test as it is a warning about sending app analytics to Appcelerator server that uses HTTPS.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-12T05:46:15.000+0000", "updated": "2014-05-12T05:46:15.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }