{ "id": "134750", "key": "AC-1621", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-08-15T16:34:00.000+0000", "created": "2014-08-14T16:44:26.000+0000", "labels": [ "TCSupportTriage" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:38:06.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "According to the documentation of Titanium Studio says that to create a httpclient to connect to a url with https you have to add the property SecurityManager, otherwise create an exception\r\n\r\nin this documentation does not tell you how to generate the SecurityManager\r\n\r\nin Appcelerator Platform documentation says that to generate this securitymanager you need to add the module appcelerator.https and called through a require\r\n\r\nthe issue is that the module does not exist in Titanium Studio and I'm in trouble because since the last release: 3.3.0 is no longer possible to request for httpclient\r\n\r\nmy question is, is there any url where I can download this module?\r\n\r\nthe only thing i found was a broken url:\r\n\r\nhttps://github.com/appcelerator-modules/appcelerator.https\r\n\r\nwhat solution do you propose?\r\n\r\nregards", "attachment": [], "flagged": false, "summary": "appcelerator.https module is not available for Titanium Studio", "creator": { "name": "jalex.saldivar", "key": "jalex.saldivar", "displayName": "Alejandro Saldivar", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalex.saldivar", "key": "jalex.saldivar", "displayName": "Alejandro Saldivar", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio for mac, build: 3.3.0.201407100905\r\n", "comment": { "comments": [ { "id": "318862", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\r\n\r\nthe appcelerator.https is only available for Appcelerator Studio users. \r\n\r\nBest Regards", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-15T16:34:00.000+0000", "updated": "2014-08-15T16:34:00.000+0000" }, { "id": "318864", "author": { "name": "jalex.saldivar", "key": "jalex.saldivar", "displayName": "Alejandro Saldivar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "ok, so i assume that in titanium studio is not longer possible to connect to https urls?", "updateAuthor": { "name": "jalex.saldivar", "key": "jalex.saldivar", "displayName": "Alejandro Saldivar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-15T16:39:03.000+0000", "updated": "2014-08-15T16:39:03.000+0000" }, { "id": "318868", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\r\n\r\nYou can connect to any https webservice via your httpclient without issues. Appcelerator.https is focused to detecting man in the middle attacks. \r\n\r\n{code}\r\n var url = \"https://www.appcelerator.com\";\r\n var client = Ti.Network.createHTTPClient({\r\n // function called when the response data is available\r\n onload : function(e) {\r\n Ti.API.info(\"Received text: \" + this.responseText);\r\n alert('success');\r\n },\r\n // function called when an error occurs, including a timeout\r\n onerror : function(e) {\r\n Ti.API.debug(e.error);\r\n alert('error');\r\n },\r\n timeout : 5000 // in milliseconds\r\n });\r\n // Prepare the connection.\r\n client.open(\"GET\", url);\r\n // Send the request.\r\n client.send();\r\n{code}\r\n\r\nBest Regards", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-15T16:52:07.000+0000", "updated": "2014-08-15T16:52:07.000+0000" }, { "id": "318954", "author": { "name": "jalex.saldivar", "key": "jalex.saldivar", "displayName": "Alejandro Saldivar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "my bad, i thought it was necessary to use this module, i was wrong\r\n\r\nthanks mauro, i appreciate", "updateAuthor": { "name": "jalex.saldivar", "key": "jalex.saldivar", "displayName": "Alejandro Saldivar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-15T21:34:21.000+0000", "updated": "2014-08-15T21:34:21.000+0000" }, { "id": "330997", "author": { "name": "gertjans", "key": "gertjans", "displayName": "Gertjan Smits", "active": true, "timeZone": "Europe/Berlin" }, "body": "So does this mean that in order to detect mitm attacks, a securityManager needs to be created, and this can only be done via the appcelerator.https module (or custom created module)? Or can this also be done in pure JS?", "updateAuthor": { "name": "gertjans", "key": "gertjans", "displayName": "Gertjan Smits", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-11-06T11:56:13.000+0000", "updated": "2014-11-06T11:56:13.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }