{ "id": "147076", "key": "AC-404", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "sprint": { "id": 500, "state": "future", "name": "SDK/Tooling Triage", "originBoardId": 100 }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2015-11-29T08:54:22.000+0000", "created": "2015-04-20T02:23:44.000+0000", "labels": [ "ios", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-29T08:54:22.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": "Since upgrading devices to iOS 8.3, NTML authentication no longer works. I have attached a simple app.js file that illustrates the issue. I've given the password to Ingo to add as a private comment.\r\n\r\nThis code works on iOS 8.2, but does not work on iOS 8.3.\r\n\r\nI've also attached Charles proxy output that shows the conversation between the server and app in both iOS versions.\r\n\r\nWith iOS8.2:\r\n- the app makes a request to the server\r\n- The server responds with a 401 and qop=\"auth\" string as expected\r\n- The app requests again with the Authorization: Digest header set\r\n- The server returns a valid response 200\r\n\r\nWith iOS8.3\r\n- the app makes a request to the server\r\n- The server responds with a 401 and qop=\"auth\" string as expected\r\n- The app requests again with the Authorization: Digest header set. However, the nc = 00000002 in the Authorization header. In iOS 8.2, nc=00000001\r\n- The server returns a 401 with a stale=true param in the qop=\"auth\" header.\r\n", "attachment": [ { "id": "55005", "filename": "app.js", "author": { "name": "jeffbonnes", "key": "jeffbonnes", "displayName": "Jeff Bonnes", "active": true, "timeZone": "Australia/Sydney" }, "created": "2015-04-20T02:23:44.000+0000", "size": 928, "mimeType": "text/javascript" }, { "id": "55004", "filename": "CharlesProxy.txt", "author": { "name": "jeffbonnes", "key": "jeffbonnes", "displayName": "Jeff Bonnes", "active": true, "timeZone": "Australia/Sydney" }, "created": "2015-04-20T02:23:44.000+0000", "size": 3901, "mimeType": "text/plain" } ], "flagged": false, "summary": "HTTP Digest Authentication (NTML) breaks on iOS 8.3", "creator": { "name": "jeffbonnes", "key": "jeffbonnes", "displayName": "Jeff Bonnes", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "jeffbonnes", "key": "jeffbonnes", "displayName": "Jeff Bonnes", "active": true, "timeZone": "Australia/Sydney" }, "environment": "TiSDK 3.5.1GA\r\nXCode 6.3\r\n", "comment": { "comments": [ { "id": "369349", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello\r\n\r\nWe tested this issue in our environment with the provided password. But we didn't get any success or error message after running the app. The app keeps showing a loading indicator after clicking on the button.\r\n\r\n[Screenshot|http://postimg.org/image/5ytf3d665/]\r\n\r\n*Testing Environment:*\r\nAppcelerator Studio, build: 4.3.3.201510212245\r\nAppcelerator Command-Line Interface, version 5.0.4\r\nTi sdk: 5.0.2 GA\r\nMac Osx: 10.9.5\r\n\r\n*Test Case:*\r\nProvided by the reporter.\r\n\r\nThanks", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-11-08T10:56:54.000+0000", "updated": "2015-11-23T07:28:14.000+0000" }, { "id": "371288", "author": { "name": "jeffbonnes", "key": "jeffbonnes", "displayName": "Jeff Bonnes", "active": true, "timeZone": "Australia/Sydney" }, "body": "Password has changed since this was reported. I will review the code and update to the latest SDK to confirm that it is still happening.", "updateAuthor": { "name": "jeffbonnes", "key": "jeffbonnes", "displayName": "Jeff Bonnes", "active": true, "timeZone": "Australia/Sydney" }, "created": "2015-11-24T00:53:53.000+0000", "updated": "2015-11-24T00:53:53.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }