{ "id": "83962", "key": "TIMOB-7039", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-02-09T23:53:24.000+0000", "created": "2011-12-15T21:03:49.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-09T23:53:24.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "attachment": [], "flagged": false, "summary": "iOS: Network - HTTPClient over SSL generates ASIHTTPRequestErrorDomain error", "creator": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Titanium 1.8.0.1 (12/17/11 19:53 c903964)\r\n* iOS 5.0.1 (9A405)\r\n* Device Details: only occurs on the device (have tested on iPhone 4S, iPHone 4, iPHone 3gS) \r\n* OSX 10.7.2\r\n* Titanium Studio 1.0.8.201112161851", "comment": { "comments": [ { "id": "176307", "author": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fix is in this article: http://stackoverflow.com/questions/7792949/ios-5-https-asihttprequest-stop-working\r\n\r\n\r\nIn our setup the problem was fixed by inserting\r\n\r\n[sslProperties setObject:(NSString *)kCFStreamSocketSecurityLevelSSLv3 forKey:(NSString *)kCFStreamSSLLevel];\r\njust above\r\n\r\nCFReadStreamSetProperty((CFReadStreamRef)[self readStream], kCFStreamPropertySSLSettings, sslProperties);\r\n", "updateAuthor": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-15T21:04:50.000+0000", "updated": "2011-12-15T21:04:50.000+0000" }, { "id": "176611", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thank you for raising this ticket.\r\n\r\nIf you are able to provide all the information described in the [JIRA Ticket Checklist|http://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] guidelines, *in the correct fields and using the right format*, I will be able to escalate it to the core team. Please click *edit* to amend the body of the ticket, rather than adding a comment. Remember to include a test case.\r\n\r\nI will mark this resolved for now. Please reopen when the ticket is complete.\r\n\r\nThanks in advance.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-19T16:20:38.000+0000", "updated": "2011-12-19T16:20:38.000+0000" }, { "id": "176733", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Gerry, thank you for updating the ticket.\r\n\r\nWould you mind sending the test case to community [at] appcelerator.com? You can mark it \"Not to be shared publicly\", if it is private.\r\n\r\nKind regards\r\n\r\n\r\n", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-20T11:21:39.000+0000", "updated": "2011-12-20T11:21:39.000+0000" }, { "id": "177009", "author": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I provided a URL to test via email. This is still marked as resolved. Can you comment as to whether you have the information you need to repro? Thanks.", "updateAuthor": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-22T08:02:06.000+0000", "updated": "2011-12-22T08:02:06.000+0000" }, { "id": "177010", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "I am very sorry, Gerry, but I did not receive the email :/ Would you check the address and send again?\r\n\r\nThere should be a button at the top of this ticket to reopen it.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-22T08:18:34.000+0000", "updated": "2011-12-22T08:18:34.000+0000" }, { "id": "177012", "author": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I resent it to community@appcelerator.com and jira@appcelerator.com. I guess I'm blind but don't see a button at the top of this ticket to reopen it.", "updateAuthor": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-22T08:33:47.000+0000", "updated": "2011-12-22T08:33:47.000+0000" }, { "id": "177284", "author": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Paul--can you comment on how I'm supposed to re-open this ticket?\r\n\r\nGerry", "updateAuthor": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-27T10:52:12.000+0000", "updated": "2011-12-27T10:52:12.000+0000" }, { "id": "177993", "author": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just following up as I haven't gotten a response since 12/22.", "updateAuthor": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-04T11:26:50.000+0000", "updated": "2012-01-04T11:26:50.000+0000" }, { "id": "178067", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Gerry, would you please resend the email. We have not received it.\r\n\r\nThank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-04T18:02:34.000+0000", "updated": "2012-01-04T18:02:34.000+0000" }, { "id": "178468", "author": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Paul--I've resent it multiple times. Are you certain you have not gotten it? Thanks.", "updateAuthor": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-08T15:04:12.000+0000", "updated": "2012-01-08T15:04:12.000+0000" }, { "id": "178469", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Gerry, I can't find it. Send it again, today, and let me know when you have done so. I will check as soon as I see your comment.\r\n\r\nThank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-08T15:24:24.000+0000", "updated": "2012-01-08T15:24:24.000+0000" }, { "id": "178573", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We already offer TLS versioning on clients in iOS. Please see this document:\r\n\r\nhttp://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Network.HTTPClient.tlsVersion-property.html\r\n\r\nThis ticket will be closed as WON'T FIX once it is confirmed that this feature solves the issue.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-09T14:57:31.000+0000", "updated": "2012-01-09T14:57:31.000+0000" }, { "id": "178580", "author": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yeah, I tried that but it makes no difference. It fails the same way. And if you look at the code in ASIHTTPRequest.m this is what I see:\r\n\r\nWith tlsVersion set to 1.2 you get this line of code executed:\r\n\r\n [sslProperties setObject:sslVersion forKey:(NSString*)kCFStreamSSLLevel];\r\n\r\nwhere sslVersion becomes: \"kCFStreamSocketSecurityLevelTLSv1_2SSLv3\"\r\n\r\nversus this line which I had to add to make it work:\r\n\r\n [sslProperties setObject:(NSString *)kCFStreamSocketSecurityLevelSSLv3 forKey:(NSString *)kCFStreamSSLLevel]; \r\n\r\nI'm not sure how iOS is handling the difference between the 2 strings but can tell you that the first string does not work with my SSL service.", "updateAuthor": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-09T15:46:01.000+0000", "updated": "2012-01-09T15:46:01.000+0000" }, { "id": "178989", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\r\nthe customer's mobilesdk was tainted. He downloaded the sdk again, and everything worked just fine. \r\n\r\nClosing. \r\n\r\nMauro", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-01-11T16:24:40.000+0000", "updated": "2012-01-11T16:24:40.000+0000" }, { "id": "178990", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Fixed. Customer's mobilesdk was corrupted. He downloaded it again and everything worked as expected. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-01-11T16:25:24.000+0000", "updated": "2012-01-11T16:25:24.000+0000" }, { "id": "178994", "author": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Huh? I think you are mistaken with someone else? I never indicated that my sdk was corrupted. Was there someone else you are thinking of?", "updateAuthor": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T16:34:59.000+0000", "updated": "2012-01-11T16:34:59.000+0000" }, { "id": "179005", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This may need to be reopened so that we can support legacy servers (or protocols?) which don't even support TLS 1.0 and only accept SSLv3.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T18:20:45.000+0000", "updated": "2012-01-11T18:20:45.000+0000" }, { "id": "179165", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening this bug based on Gerry's last comment.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-12T23:47:31.000+0000", "updated": "2012-01-12T23:47:31.000+0000" }, { "id": "179725", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Gerry -\r\n\r\nI don't know if you provided us with the sample code, but {{tlsVersion}} {{Ti.Network.TLS_VERSION_1_0}} works with the REST request in that. Again, see the documentation I referenced earlier. There is a description of when you need to manually set a lower TLS version than 1.2, and you are required to test these values before submitting a bug regarding SSL connectivity over {{Ti.Network.HTTPClient}}.\r\n\r\nIf setting a {{tlsVersion}} lower than 1.2 resolves your issue please inform us so that we can close this bug as INVALID.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-18T09:28:36.000+0000", "updated": "2012-01-18T09:31:23.000+0000" }, { "id": "179924", "author": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Stephen-you are correct in that it does work with the 1.0 setting so just mark this as working.\r\n\r\nThanks-Gerry", "updateAuthor": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-19T13:52:01.000+0000", "updated": "2012-01-19T13:52:01.000+0000" }, { "id": "180189", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "closing based on Gerry and Steven comments.", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-23T11:11:13.000+0000", "updated": "2012-01-23T11:11:13.000+0000" } ], "maxResults": 25, "total": 25, "startAt": 0 } } }