{ "id": "164616", "key": "TIMOB-24177", "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": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-12-01T02:55:14.000+0000", "created": "2016-11-21T04:59:59.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "httpclient", "qe-6.1.0", "regression" ], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [ { "id": "53552", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "155096", "key": "TIMOB-20483", "fields": { "summary": "Android HTTPClient onsendstream progress is wrong", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-12-01T19:21:58.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Ti SDK 6.1.0+ (6.1.0.v20161121162514) has error. But, 6.0.0.GA is ok\r\n\r\nWhen using TiHTTPClient with Non-english language + POST json request, raised errors.\r\n(No error in only english request)\r\n\r\n{code:java}\r\n[ERROR] TiHTTPClient: (TiHttpClient-1) [308,308] HTTP Error (java.net.ProtocolException): expected 17 bytes but received 21\r\n[ERROR] TiHTTPClient: java.net.ProtocolException: expected 17 bytes but received 21\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.http.HttpConnection$FixedLengthSink.write(HttpConnection.java:299)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.okio.RealBufferedSink.flush(RealBufferedSink.java:221)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.okio.RealBufferedSink$1.flush(RealBufferedSink.java:204)\r\n[ERROR] TiHTTPClient: \tat java.io.FilterOutputStream.flush(FilterOutputStream.java:88)\r\n[ERROR] TiHTTPClient: \tat ti.modules.titanium.network.httpurlconnection.StringEntity.writeTo(StringEntity.java:64)\r\n[ERROR] TiHTTPClient: \tat ti.modules.titanium.network.TiHTTPClient$ClientRunnable.handleURLEncodedData(TiHTTPClient.java:1394)\r\n[ERROR] TiHTTPClient: \tat ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1199)\r\n[ERROR] TiHTTPClient: \tat java.lang.Thread.run(Thread.java:818)\r\n[ERROR] {\"tlsVersion\":3,\"timeout\":120000,\"domain\":null,\"autoEncodeUrl\":true,\"username\":null,\"autoRedirect\":true,\"password\":null,\"readyState\":1,\"responseText\":\"\",\"statusText\":null,\"connectionType\":\"POST\",\"connected\":false,\"responseXML\":null,\"status\":0,\"location\":\"http://parseserver-bsmcf-env.us-east-1.elasticbeanstalk.com/parse/functions/findUsers\",\"allResponseHeaders\":\"\",\"validatesSecureCertificate\":false,\"responseData\":null,\"bubbleParent\":true,\"apiName\":\"Ti.Network.HTTPClient\",\"_events\":{\"disposehandle\":{}}}\r\n{code}\r\n\r\nThis is sample code\r\nFirst call raised error.\r\nBut second call is ok(english only).\r\n\r\n{code:java}\r\nhttpCall('POST', 'http://parseserver-bsmcf-env.us-east-1.elasticbeanstalk.com/parse/functions/findUsers', JSON.stringify({username: \"인연\"}), console.log, console.error);\r\nhttpCall('POST', 'http://parseserver-bsmcf-env.us-east-1.elasticbeanstalk.com/parse/functions/findUsers', JSON.stringify({username: \"test\"}), console.log, console.error);\r\n\r\nfunction httpCall(method, url, data, success, error) {\r\n var handled = false;\r\n\r\n var xhr = Ti.Network.createHTTPClient({\r\n timeout : 120000\r\n });\r\n\r\n xhr.onload = function(e) {\r\n if (handled)\r\n return;\r\n handled = !0;\r\n\r\n if (xhr.status >= 200 && xhr.status < 300) {\r\n var response;\r\n try {\r\n response = JSON.parse(xhr.responseText);\r\n } catch (e) {\r\n // error(e.toString());\r\n success(xhr.responseText, xhr.status, xhr);\r\n }\r\n if (response) {\r\n success(response, xhr.status, xhr);\r\n }\r\n } else {\r\n error(xhr);\r\n }\r\n };\r\n\r\n xhr.onerror = function(e) {\r\n if (handled)\r\n return;\r\n handled = !0;\r\n\r\n error(xhr);\r\n };\r\n\r\n xhr.open(method, url, !0);\r\n xhr.setRequestHeader(\"Content-Type\", \"text/plain\");\r\n xhr.setRequestHeader('X-Parse-Application-Id', 'G7Iqo0zI1d02WsznzwiI6zTl6UL2g5b5');\r\n xhr.send(data);\r\n}\r\n{code}\r\n\r\nCalc expected length functions related unicode string has problem.\r\n\"인연\" is 4+4=8byte. \"received 21\" is right.\r\nMaybe, string is claculateded 2+2=4byte, it is wrong.", "attachment": [ { "id": "60753", "filename": "스크린샷 2016-11-22 오후 2.12.48.png", "author": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "created": "2016-11-22T05:18:23.000+0000", "size": 933778, "mimeType": "image/png" } ], "flagged": false, "summary": "Android : TiHTTPClient / Request Length Expected Wrong (6.1.0 regression)", "creator": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "subtasks": [], "reporter": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "environment": "Last login: Tue Nov 22 14:34:36 on ttys002\r\nInGrowths-iMac:testhttp InGrowth$ appc info\r\nAppcelerator Command-Line Interface, version 6.0.0\r\nCopyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 6.9.1\r\n npm Version = 3.10.8\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.8\r\n Core Package = 6.0.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.10\r\n node-appc Version = 0.2.31\r\n\r\nTitanium SDKs\r\n 6.1.0.v20161121162514\r\n Version = 6.1.0\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161121162514\r\n Platforms = iphone, android, mobileweb\r\n git Hash = 4570845\r\n git Timestamp = 11/22/2016 00:29\r\n node-appc Version = 0.2.39\r\n 6.1.0.v20161118021723\r\n Version = 6.1.0\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20161118021723\r\n Platforms = iphone, android, mobileweb\r\n git Hash = 77a2590\r\n git Timestamp = 11/18/2016 10:24\r\n node-appc Version = 0.2.39\r\n 6.0.0.GA\r\n Version = 6.0.0\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.GA\r\n Platforms = iphone, android, mobileweb\r\n git Hash = 1aa3df8\r\n git Timestamp = 11/13/2016 09:27\r\n node-appc Version = 0.2.39\r\n 5.5.1.GA\r\n Version = 5.5.1\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = b18727f\r\n git Timestamp = 09/27/16 05:38\r\n node-appc Version = 0.2.36\r\n 5.5.0.GA\r\n Version = 5.5.0\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.5.0.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = 44a2e3f\r\n git Timestamp = 09/13/16 12:38\r\n node-appc Version = 0.2.36\r\n 5.4.0.GA\r\n Version = 5.4.0\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.4.0.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = 4ba4c0a\r\n git Timestamp = 08/10/16 05:43\r\n node-appc Version = 0.2.35\r\n 5.3.1.GA\r\n Version = 5.3.1\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.3.1.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = ee11b10\r\n git Timestamp = 06/09/16 01:33\r\n node-appc Version = 0.2.33\r\n 5.3.0.GA\r\n Version = 5.3.0\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.3.0.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = 94fa8af\r\n git Timestamp = 06/01/16 10:17\r\n node-appc Version = 0.2.33\r\n 5.2.2.GA\r\n Version = 5.2.2\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = b685ddb\r\n git Timestamp = 03/28/16 14:12\r\n node-appc Version = 0.2.33\r\n 5.2.1.GA\r\n Version = 5.2.1\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.2.1.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = 23e1c7d\r\n git Timestamp = 03/18/16 22:51\r\n node-appc Version = 0.2.33\r\n 5.2.0.GA\r\n Version = 5.2.0\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = 384775e\r\n git Timestamp = 02/20/16 08:04\r\n node-appc Version = 0.2.33\r\n 5.1.2.GA\r\n Version = 5.1.2\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = ca822b2\r\n git Timestamp = 12/16/15 19:00\r\n node-appc Version = 0.2.32\r\n 5.1.1.GA\r\n Version = 5.1.1\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = e46100b\r\n git Timestamp = 11/24/15 11:07\r\n node-appc Version = 0.2.32\r\n 5.1.0.GA\r\n Version = 5.1.0\r\n Install Location = /Users/InGrowth/Library/Application Support/Titanium/mobilesdk/osx/5.1.0.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = 0913213\r\n git Timestamp = 11/18/15 21:44\r\n node-appc Version = 0.2.32\r\n \r\nMac OS X\r\n Command Line Tools = installed\r\n\r\nIntel® Hardware Accelerated Execution Manager (HAXM)\r\n Installed = yes\r\n Memory Limit = 2 GB\r\n\r\nJava Development Kit\r\n Version = 1.8.0_51\r\n Java Home = /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home\r\n\r\nGenymotion\r\n Path = not found\r\n Genymotion Executable = not found\r\n Genymotion Player = not found\r\n Home = not found\r\n\r\nVirtualBox\r\n Executable = not found\r\n Version = unknown\r\n\r\nAndroid SDK\r\n Android Executable = /Users/InGrowth/Library/android-sdk-macosx/tools/android\r\n ADB Executable = /Users/InGrowth/Library/android-sdk-macosx/platform-tools/adb\r\n SDK Path = /Users/InGrowth/Library/android-sdk-macosx\r\n\r\nAndroid NDK\r\n NDK Path = /Users/InGrowth/Library/android-sdk-macosx/ndk-bundle\r\n NDK Version = 12.1.2977051\r\n\r\nAndroid Platforms\r\n 1) android-22\r\n Name = Android 5.1.1 **Not supported by Titanium SDK 6.1.0.v20161121162514**\r\n API Level = 22\r\n Revision = 2\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = no ABIs.\r\n Path = /Users/InGrowth/Library/android-sdk-macosx/platforms/android-22\r\n 2) android-23\r\n Name = Android 6.0\r\n API Level = 23\r\n Revision = 3\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = no ABIs.\r\n Path = /Users/InGrowth/Library/android-sdk-macosx/platforms/android-23\r\n\r\nAndroid Add-Ons\r\n 3) Google Inc.:Google APIs:22\r\n Name = Android 5.1.1 (API level 22) **Not supported by Titanium SDK 6.1.0.v20161121162514**\r\n Vendor = Google Inc.\r\n Revision = 1\r\n Description = Android + Google APIs\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = no ABIs.\r\n Path = /Users/InGrowth/Library/android-sdk-macosx/add-ons/addon-google_apis-google-22\r\n Libraries = com.android.future.usb.accessory: API for USB Accessories (usb.jar)\r\n com.google.android.media.effects: Collection of video effects (effects.jar)\r\n com.google.android.maps: API for Google Maps (maps.jar)\r\n\r\n 4) Google Inc.:Google APIs:23\r\n Name = Android 6.0 (API level 23)\r\n Vendor = Google Inc.\r\n Revision = 1\r\n Description = Android + Google APIs\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = x86_64\r\n Path = /Users/InGrowth/Library/android-sdk-macosx/add-ons/addon-google_apis-google-23\r\n Libraries = com.android.future.usb.accessory: API for USB Accessories (usb.jar)\r\n com.google.android.media.effects: Collection of video effects (effects.jar)\r\n com.google.android.maps: API for Google Maps (maps.jar)\r\n\r\n\r\nAndroid Emulators\r\n Nexus_5_API_23\r\n Path = /Users/InGrowth/.android/avd/Nexus_5_API_23.avd\r\n SDK Version = Google APIs (Google Inc.)\r\n ABI = x86_64\r\n Skin = 1080x1920\r\n SD Card = /Users/InGrowth/.android/avd/Nexus_5_API_23.avd/sdcard.img\r\n Based On = Android 6.0 (API level 23)\r\n Google APIs = yes\r\n\r\nGenymotion Emulators\r\n None\r\n\r\nConnected Android Devices\r\n None\r\n\r\nXcode\r\n 7.3.1 (build 7D1014) - Xcode default\r\n Install Location = /Applications/Xcode.app/Contents/Developer\r\n iOS SDKs = 9.3\r\n iOS Simulators = 9.3\r\n Watch SDKs = 2.2\r\n Watch Simulators = 2.2\r\n Supported by TiSDK 6.1.0.v20161121162514 = yes\r\n EULA Accepted = yes\r\n Teams = S8F9T568QP Dongwoo Gim - Individual (active)\r\n = URMPNQBKKY Boxout Thinkers Inc. - Company/Organization (active)\r\n \r\niOS Keychains\r\n login.keychain = /Users/InGrowth/Library/Keychains/login.keychain\r\n System.keychain = /Library/Keychains/System.keychain\r\n\r\niOS Development Certificates\r\n/Users/InGrowth/Library/Keychains/login.keychain\r\n Dongwoo Gim (TXGYSK8246)\r\n Not valid before = 7/25/2016 4:36 PM\r\n Not valid after = 7/25/2017 4:36 PM\r\n\r\niOS Distribution Certificates\r\n/Users/InGrowth/Library/Keychains/login.keychain\r\n Boxout Thinkers Inc. (URMPNQBKKY)\r\n Not valid before = 7/25/2016 5:30 PM\r\n Not valid after = 7/25/2017 5:30 PM\r\n\r\nApple WWDR Certificate\r\n Apple WWDR = installed\r\n\r\nDevelopment iOS Provisioning Profiles\r\n InstituteBox_Development\r\n UUID = 52f0c2db-ed9a-4cdd-954e-070b4e7b9475\r\n App Prefix = URMPNQBKKY\r\n App Id = com.boxoutthinkers.institute\r\n Date Created = 8/1/2016 12:44 PM\r\n Date Expired = 8/1/2017 12:44 PM\r\n Managed = No\r\n InstituteBoxAdmin_Development\r\n UUID = 8a3ad0e3-e903-476d-853b-b3406b0a6b6c\r\n App Prefix = URMPNQBKKY\r\n App Id = com.boxoutthinkers.instituteadmin\r\n Date Created = 7/25/2016 4:47 PM\r\n Date Expired = 7/25/2017 4:47 PM\r\n Managed = No\r\n WhereRU_Development\r\n UUID = 19cc2cc0-5de1-4d22-b85b-a54bb0066896\r\n App Prefix = URMPNQBKKY\r\n App Id = com.boxoutthinkers.whereru\r\n Date Created = 8/1/2016 12:44 PM\r\n Date Expired = 8/1/2017 12:44 PM\r\n Managed = No\r\n \r\nDistribution iOS Provisioning Profiles\r\n InstituteBox_Distribution\r\n UUID = b6240d0b-d621-403e-b025-4fdefe6042a9\r\n App Prefix = URMPNQBKKY\r\n App Id = com.boxoutthinkers.institute\r\n Date Created = 8/1/2016 12:44 PM\r\n Date Expired = 7/25/2017 5:30 PM\r\n Managed = No\r\n InstituteBoxAdmin_Distribution\r\n UUID = 96bc430d-6392-416b-88bf-eb52d66597e6\r\n App Prefix = URMPNQBKKY\r\n App Id = com.boxoutthinkers.instituteadmin\r\n Date Created = 7/25/2016 5:40 PM\r\n Date Expired = 7/25/2017 5:30 PM\r\n Managed = No\r\n WhereRU_Distribution\r\n UUID = 063f385c-dbee-4d12-bf67-9db716f35dae\r\n App Prefix = URMPNQBKKY\r\n App Id = com.boxoutthinkers.whereru\r\n Date Created = 8/1/2016 12:44 PM\r\n Date Expired = 7/25/2017 5:30 PM\r\n Managed = No\r\n \r\nAd Hoc iOS Provisioning Profiles\r\n None\r\n\r\niOS Simulators\r\n9.3\r\n iPad 2 (ipad)\r\n UDID = 74788FBA-BC87-46AB-8508-D6226DA96067\r\n Supports Watch Apps = no\r\n iPad Retina (ipad)\r\n UDID = 6B3CBDE0-FC87-4CE5-9857-22EE40762056\r\n Supports Watch Apps = no\r\n iPad Air (ipad)\r\n UDID = 5F9CE0AC-125A-4D41-9A42-816E7264104B\r\n Supports Watch Apps = no\r\n iPad Air 2 (ipad)\r\n UDID = 93B52739-BDF0-4A3D-84F2-8C43C34627AC\r\n Supports Watch Apps = no\r\n iPad Pro (ipad)\r\n UDID = 4BDB2674-ABBD-4B98-9830-C7AD49C4C815\r\n Supports Watch Apps = no\r\n iPhone 4s (iphone)\r\n UDID = D8455EF0-8A1D-4859-8B8B-FF9AEA023378\r\n Supports Watch Apps = no\r\n iPhone 5 (iphone)\r\n UDID = 4D595273-2E32-4FE3-9CED-86B3CEBDA3EF\r\n Supports Watch Apps = yes\r\n iPhone 5s (iphone)\r\n UDID = 5DDFE958-385C-469C-ADB3-5A1762770BDF\r\n Supports Watch Apps = yes\r\n iPhone 6 Plus (iphone)\r\n UDID = AA9D7DFF-8767-4AE0-8682-20E0DC8F2071\r\n Supports Watch Apps = yes\r\n iPhone 6 (iphone)\r\n UDID = 7C8C907D-DB2F-4E86-9697-84D1AED8071B\r\n Supports Watch Apps = yes\r\n iPhone 6s (iphone)\r\n UDID = D1FA2AAF-43F6-4725-833D-082258152BD0\r\n Supports Watch Apps = yes\r\n iPhone 6s Plus (iphone)\r\n UDID = 86F8747C-B7D7-4E35-8194-2BFF02999F02\r\n Supports Watch Apps = yes\r\n\r\nWatchOS Simulators\r\n2.2\r\n Apple Watch - 38mm (watch)\r\n UDID = E035F1BA-BEC4-4EB4-B3A7-4ABD49C40DC2\r\n Apple Watch - 42mm (watch)\r\n UDID = CC245DD6-CC0E-4FF5-ADD8-F3D50ABD32B6\r\n\r\nConnected iOS Devices\r\n None\r\n\r\nAndroid Issues\r\n ! Android API Android 5.1.1 (android-22) is too old and is no longer supported by Titanium SDK\r\n 6.1.0.\r\n The minimum supported Android API level by Titanium SDK 6.1.0 is API level 23.\r\n\r\n ! Android API Google APIs (Google Inc.:Google APIs:22) is too old and is no longer supported by\r\n Titanium SDK 6.1.0.\r\n The minimum supported Android API level by Titanium SDK 6.1.0 is API level 23.\r\n\r\niOS Issues\r\n ! Unable to find any valid iOS adhoc provisioning profiles.\r\n This will prevent you from packaging apps for adhoc distribution.\r\n You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer\r\n account, then create, download, and install a profile.\r\n\r\nInGrowths-iMac:testhttp InGrowth$ \r\n", "closedSprints": [ { "id": 758, "state": "closed", "name": "2016 Sprint 24 SDK", "startDate": "2016-11-19T01:32:06.991Z", "endDate": "2016-12-03T01:32:00.000Z", "completeDate": "2016-12-05T01:53:38.311Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "401626", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please provide a sample code which regenerates the issue. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-11-21T16:52:35.000+0000", "updated": "2016-11-21T16:52:35.000+0000" }, { "id": "401666", "author": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "body": "Add runnable sample code. Thank you.\r\nMaybe, this is critical bug.", "updateAuthor": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "created": "2016-11-22T05:20:38.000+0000", "updated": "2016-11-22T05:20:38.000+0000" }, { "id": "401688", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, With your sample code, I did not saw the error when I run on Android 6.0.0 emulator with SDK 6.0.0.GA. Here is my log\r\n{code}\r\n-- Start application log -----------------------------------------------------\r\n[INFO] I//system/bin/tzdatacheck( 92): tzdata file /data/misc/zoneinfo/curren\r\nt/tzdata does not exist. No action required.\r\n[INFO] I/ ( 103): debuggerd: Jan 10 2016 20:08:02\r\n[INFO] E/vinput-seamless( 261): found seamless mouse device\r\n[INFO] E/ ( 106): batterystats service unavailable!\r\n[INFO] E/ ( 106): batterystats service unavailable!\r\n[INFO] E/ ( 106): batterystats service unavailable!\r\n[INFO] E/ ( 106): batterystats service unavailable!\r\n[INFO] E/ ( 259): Failed to connect to host (UnixStream)!!!\r\n[INFO] E/ ( 259): Failed to connect to host (UnixStream)!!!\r\n[INFO] E/ ( 426): batterystats service unavailable!\r\n[INFO] E/ ( 426): batterystats service unavailable!\r\n[INFO] E/ ( 426): batterystats service unavailable!\r\n[INFO] E/ ( 426): batterystats service unavailable!\r\n[INFO] E/android.os.Debug( 424): failed to load memtrack module: -2\r\n[INFO] I/Radio-JNI( 424): register_android_hardware_Radio DONE\r\n[INFO] D/ ( 750): HostConnection::get() New Host Connection established\r\n 0xf70521c0, tid 750\r\n[INFO] D/ ( 761): HostConnection::get() New Host Connection established\r\n 0xf630a0f0, tid 764\r\n[INFO] D/ ( 750): HostConnection::get() New Host Connection established\r\n 0xf7052b90, tid 767\r\n[INFO] D/ ( 750): HostConnection::get() New Host Connection established\r\n 0xf6d0a0c0, tid 751\r\n[INFO] I/APM::ConfigParsingUtils( 426): loadAudioPolicyConfig() loaded /system\r\n/etc/audio_policy.conf\r\n[INFO] D/ ( 795): HostConnection::get() New Host Connection established\r\n 0xdde71240, tid 914\r\n[INFO] D/ ( 750): HostConnection::get() New Host Connection established\r\n 0xf7052b50, tid 753\r\n[INFO] E/WifiNative-HAL( 795): Could not start hal\r\n[INFO] D/WifiNative-HAL( 795): Setting external_sim to 1\r\n[INFO] D/WifiNative-HAL( 795): Failing getSupportedFeatureset because HAL isn'\r\nt started\r\n[INFO] D/ ( 795): HostConnection::get() New Host Connection established\r\n 0xdd47f5c0, tid 795\r\n[INFO] D/NetworkMonitor/NetworkAgentInfo [WIFI () - 100]( 795): Checking http:\r\n//connectivitycheck.gstatic.com/generate_204 on \"WiredSSID\", connectivitycheck.g\r\nstatic.com=103.43.149.234,2404:6800:4002:804::200e\r\n[INFO] D/NetworkMonitor/NetworkAgentInfo [WIFI () - 100]( 795): isCaptivePorta\r\nl: ret=204 headers={null=[HTTP/1.1 204 No Content], Content-Length=[0], Date=[Tu\r\ne, 22 Nov 2016 14:48:00 GMT], X-Android-Received-Millis=[1479826081342], X-Andro\r\nid-Response-Source=[NETWORK 204], X-Android-Selected-Protocol=[http/1.1], X-Andr\r\noid-Sent-Millis=[1479826081331]}\r\n[INFO] I/LatinIME:LogUtils( 1073): Dictionary info: dictionary = contacts.en_US\r\n ; version = 1479826081 ; date = ?\r\n[INFO] D/Launcher.Model( 1118): Old launcher provider: content://com.android.la\r\nuncher2.settings/favorites?notify=true\r\n[INFO] D/Launcher.Model( 1118): Old launcher provider does not exist.\r\n[INFO] E/DcSwitchStateMachine-0( 1104): DctController is not ready\r\n[INFO] I/vol.Events( 952): writeEvent collection_started\r\n[INFO] I/vol.Events( 952): writeEvent external_ringer_mode_changed normal\r\n[INFO] I/vol.Events( 952): writeEvent internal_ringer_mode_changed normal\r\n[INFO] I/vol.Events( 952): writeEvent level_changed STREAM_ALARM 6\r\n[INFO] I/vol.Events( 952): writeEvent level_changed STREAM_BLUETOOTH_SCO 7\r\n[INFO] I/vol.Events( 952): writeEvent level_changed STREAM_MUSIC 15\r\n[INFO] I/vol.Events( 952): writeEvent level_changed STREAM_RING 5\r\n[INFO] I/vol.Events( 952): writeEvent level_changed STREAM_SYSTEM 5\r\n[INFO] I/vol.Events( 952): writeEvent level_changed STREAM_VOICE_CALL 4\r\n[INFO] E/DcSwitchStateMachine-0( 1104): EVENT_DATA_DISALLOWED failed, com.andro\r\nid.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED\r\n[INFO] E/DcSwitchStateMachine-0( 1104): EVENT_DATA_DISALLOWED failed, com.andro\r\nid.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED\r\n[INFO] D/ ( 1118): HostConnection::get() New Host Connection established\r\n 0xf2c7c470, tid 1118\r\n[INFO] D/ConnectivityManager.CallbackHandler( 952): CM callback handler got ms\r\ng 524290\r\n[INFO] E/DcSwitchStateMachine-0( 1104): EVENT_DATA_DISALLOWED failed, com.andro\r\nid.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED\r\n[INFO] D/ ( 1118): HostConnection::get() New Host Connection established\r\n 0xee992760, tid 1549\r\n[INFO] I/LatinIME:LogUtils( 1073): Dictionary info: dictionary = userunigram.en\r\n_US ; version = 1479826089 ; date = ?\r\n[INFO] D/ ( 952): HostConnection::get() New Host Connection established\r\n 0xdf7d4640, tid 952\r\n[INFO] I/LatinIME:LogUtils( 1073): Dictionary info: dictionary = UserHistoryDic\r\ntionary.en_US ; version = 1459448180 ; date = 1476384153\r\n[INFO] I/LatinIME:LogUtils( 1073): Dictionary info: dictionary = main:en ; vers\r\nion = 54 ; date = 1414726273\r\n[INFO] D/ ( 750): HostConnection::get() New Host Connection established\r\n 0xf704a3a0, tid 1598\r\n[INFO] D/ ( 795): HostConnection::get() New Host Connection established\r\n 0xdbdba330, tid 816\r\n[INFO] D/ ( 952): HostConnection::get() New Host Connection established\r\n 0xdf7d4e30, tid 1594\r\n[INFO] D/ ( 750): HostConnection::get() New Host Connection established\r\n 0xf704a230, tid 1600\r\n[INFO] E/android.os.Debug( 1779): failed to load memtrack module: -2\r\n[INFO] I/Radio-JNI( 1779): register_android_hardware_Radio DONE\r\n[INFO] I/PackageManager.DexOptimizer( 795): Running dexopt (dex2oat) on: /data\r\n/app/vmdl379422257.tmp/base.apk pkg=com.gsl.sha156 isa=x86 vmSafeMode=false debu\r\nggable=false oatDir = /data/app/vmdl379422257.tmp/oat\r\n[INFO] E/android.os.Debug( 1828): failed to load memtrack module: -2\r\n[INFO] I/Radio-JNI( 1828): register_android_hardware_Radio DONE\r\n[INFO] TiApplication: (main) [0,0] checkpoint, app created.\r\n[INFO] TiApplication: (main) [30,30] Titanium 6.0.0 (2016/11/13 01:23 undefined\r\n)\r\n[INFO] MultiDex: VM with version 2.1.0 has multidex support\r\n[INFO] MultiDex: install\r\n[INFO] MultiDex: VM has multidex support, MultiDex support library is disabled.\r\n[WARN] V8Object: (main) [825,855] Runtime disposed, cannot set property 'userAg\r\nent'\r\n[INFO] TiApplication: (main) [32,887] Titanium Javascript runtime: v8\r\n[INFO] TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedI\r\nnstanceState: null\r\n[INFO] TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activi\r\nty = com.gsl.sha156.Sha156Activity@c1827b\r\n[INFO] OpenGLRenderer: Initialized EGL, version 1.4\r\n[WARN] EGL_emulation: eglSurfaceAttrib not implemented\r\n[WARN] OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xdfb69c20, e\r\nrror=EGL_SUCCESS\r\n[WARN] TiBlob: (main) [1277,1277] getFile not supported for non-file blob types\r\n.\r\n[WARN] TiBlob: (main) [0,1277] getNativePath not supported for non-file blob ty\r\npes.\r\n[INFO] {\"result\":[]} 200 {\"tlsVersion\":3,\"timeout\":120000,\"domain\":null,\"autoEn\r\ncodeUrl\":true,\"username\":null,\"autoRedirect\":true,\"password\":null,\"readyState\":4\r\n,\"responseText\":\"{\\\"result\\\":[]}\",\"statusText\":\"OK\",\"connectionType\":\"POST\",\"con\r\nnected\":false,\"responseXML\":null,\"status\":200,\"location\":\"http://parseserver-bsm\r\ncf-env.us-east-1.elasticbeanstalk.com/parse/functions/findUsers\",\"allResponseHea\r\nders\":\"null:HTTP/1.1 200 OK\\nAccess-Control-Allow-Headers:X-Parse-Master-Key, X-\r\nParse-REST-API-Key, X-Parse-Javascript-Key, X-Parse-Application-Id, X-Parse-Clie\r\nnt-Version, X-Parse-Session-Token, X-Requested-With, X-Parse-Revocable-Session, \r\nContent-Type\\nAccess-Control-Allow-Methods:GET,PUT,POST,DELETE,OPTIONS\\nAccess-C\r\nontrol-Allow-Origin:*\\nConnection:keep-alive\\nContent-Length:13\\nContent-Type:ap\r\nplication/json; charset=utf-8\\nDate:Tue, 22 Nov 2016 14:48:31 GMT\\nETag:W/\\\"d-iP\r\n5JTs4sm4Lvn177JKLhtQ\\\"\\nServer:nginx/1.8.1\\nX-Android-Received-Millis:1479826111\r\n815\\nX-Android-Response-Source:NETWORK 200\\nX-Android-Selected-Protocol:http/1.1\r\n\\nX-Android-Sent-Millis:1479826111348\\nX-Powered-By:Express\\n\",\"validatesSecureC\r\nertificate\":false,\"responseData\":{\"mimeType\":\"application/json; charset=utf-8\",\"\r\ntype\":2,\"length\":13,\"width\":0,\"file\":null,\"nativePath\":null,\"height\":0,\"text\":nu\r\nll,\"bubbleParent\":true,\"apiName\":\"Ti.Blob\"},\"bubbleParent\":true,\"apiName\":\"Ti.Ne\r\ntwork.HTTPClient\",\"_events\":{\"disposehandle\":{}}}\r\n[WARN] TiBlob: (main) [11,1288] getFile not supported for non-file blob types.\r\n[WARN] TiBlob: (main) [0,1288] getNativePath not supported for non-file blob ty\r\npes.\r\n[INFO] {\"result\":[{\"username\":\"test\",\"name\":\"Tester\",\"email\":\"test@test.com\",\"i\r\nsUsingBanTime\":true,\"banStartHour\":23,\"banStartMinute\":0,\"banEndHour\":7,\"banEndM\r\ninute\":0,\"createdAt\":\"2016-09-13T03:58:55.785Z\",\"updatedAt\":\"2016-09-13T03:58:55\r\n.785Z\",\"ACL\":{\"*\":{\"read\":true},\"jQiEZlwvHa\":{\"read\":true,\"write\":true}},\"object\r\nId\":\"jQiEZlwvHa\",\"__type\":\"Object\",\"className\":\"_User\"}]} 200 {\"tlsVersion\":3,\"t\r\nimeout\":120000,\"domain\":null,\"autoEncodeUrl\":true,\"username\":null,\"autoRedirect\"\r\n:true,\"password\":null,\"readyState\":4,\"responseText\":\"{\\\"result\\\":[{\\\"username\\\":\r\n\\\"test\\\",\\\"name\\\":\\\"Tester\\\",\\\"email\\\":\\\"test@test.com\\\",\\\"isUsingBanTime\\\":true\r\n,\\\"banStartHour\\\":23,\\\"banStartMinute\\\":0,\\\"banEndHour\\\":7,\\\"banEndMinute\\\":0,\\\"\r\ncreatedAt\\\":\\\"2016-09-13T03:58:55.785Z\\\",\\\"updatedAt\\\":\\\"2016-09-13T03:58:55.785\r\nZ\\\",\\\"ACL\\\":{\\\"*\\\":{\\\"read\\\":true},\\\"jQiEZlwvHa\\\":{\\\"read\\\":true,\\\"write\\\":true}\r\n},\\\"objectId\\\":\\\"jQiEZlwvHa\\\",\\\"__type\\\":\\\"Object\\\",\\\"className\\\":\\\"_User\\\"}]}\",\r\n\"statusText\":\"OK\",\"connectionType\":\"POST\",\"connected\":false,\"responseXML\":null,\"\r\nstatus\":200,\"location\":\"http://parseserver-bsmcf-env.us-east-1.elasticbeanstalk.\r\ncom/parse/functions/findUsers\",\"allResponseHeaders\":\"null:HTTP/1.1 200 OK\\nAcces\r\ns-Control-Allow-Headers:X-Parse-Master-Key, X-Parse-REST-API-Key, X-Parse-Javasc\r\nript-Key, X-Parse-Application-Id, X-Parse-Client-Version, X-Parse-Session-Token,\r\n X-Requested-With, X-Parse-Revocable-Session, Content-Type\\nAccess-Control-Allow\r\n-Methods:GET,PUT,POST,DELETE,OPTIONS\\nAccess-Control-Allow-Origin:*\\nConnection:\r\nkeep-alive\\nContent-Length:369\\nContent-Type:application/json; charset=utf-8\\nDa\r\nte:Tue, 22 Nov 2016 14:48:31 GMT\\nETag:W/\\\"171-863RACH85BNVN9IiDgxp/w\\\"\\nServer:\r\nnginx/1.8.1\\nX-Android-Received-Millis:1479826111824\\nX-Android-Response-Source:\r\nNETWORK 200\\nX-Android-Selected-Protocol:http/1.1\\nX-Android-Sent-Millis:1479826\r\n111361\\nX-Powered-By:Express\\n\",\"validatesSecureCertificate\":false,\"responseData\r\n\":{\"mimeType\":\"application/json; charset=utf-8\",\"type\":2,\"length\":369,\"width\":0,\r\n\"file\":null,\"nativePath\":null,\"height\":0,\"text\":null,\"bubbleParent\":true,\"apiNam\r\ne\":\"Ti.Blob\"},\"bubbleParent\":true,\"apiName\":\"Ti.Network.HTTPClient\",\"_events\":{\"\r\ndisposehandle\":{}}}\r\n{code}\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\n\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.10\r\n\r\nTitanium SDK\r\n SDK Version = 6.0.0.GA\r\n Target Platform = android\r\n{code}\r\n \r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-11-22T15:14:08.000+0000", "updated": "2016-11-22T15:14:08.000+0000" }, { "id": "401693", "author": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "body": "Yes, Ti SDK 6.0.0.GA is ok.\nBut, Ti SDK 6.1.0+ has this error.", "updateAuthor": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "created": "2016-11-22T15:39:41.000+0000", "updated": "2016-11-22T15:39:41.000+0000" }, { "id": "401787", "author": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "body": "Hey, This is a critical problems. Why is there no action?", "updateAuthor": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "created": "2016-11-24T04:46:52.000+0000", "updated": "2016-11-24T04:46:52.000+0000" }, { "id": "401804", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, We would suggest you to use the latest SDK 6.0.0.GA. As 6.1.0+ are master release we will keep that in mand and fixed it for the later official release. Right now you need to use the GA release which is fine. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-11-24T11:22:06.000+0000", "updated": "2016-11-24T11:22:06.000+0000" }, { "id": "401810", "author": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "body": "Of course, I know that there is no problem if I use 6.0.0.GA. But this is a simple but critical problem. However, even after several days of reporting, why will not issues issue to TIMOB? Please, change to TIMOB. Thank you.", "updateAuthor": { "name": "engross", "key": "engross", "displayName": "Dongwoo Gim", "active": true, "timeZone": "Asia/Seoul" }, "created": "2016-11-24T12:44:08.000+0000", "updated": "2016-11-24T12:44:08.000+0000" }, { "id": "401859", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~engross] Because it was holiday and weekend :-). [~gmathews], I remember we did some HTTP-Client changes for Android in 6.1.0 already, do you remember the exact ones? /cc [~michael] who also did one I think ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-27T19:45:06.000+0000", "updated": "2016-11-27T19:45:06.000+0000" }, { "id": "401903", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-28T17:54:00.000+0000", "updated": "2016-11-28T17:54:00.000+0000" }, { "id": "401906", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks! So TIMOB-20483 caused the regression with [this changes|https://github.com/appcelerator/titanium_mobile/pull/8522/files].", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-28T18:00:55.000+0000", "updated": "2016-11-28T18:00:55.000+0000" }, { "id": "402262", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8646", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-30T12:39:20.000+0000", "updated": "2016-11-30T12:39:20.000+0000" }, { "id": "402424", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed TiHTTPClient requests are now handled correctly.\r\n\r\nTested on:\r\n{noformat}\r\nmacOS Sierra 10.12.1\r\nNexus 5X(6.0.1)\r\nNexus 6p (7.0)\r\nandroid emulator (4.4.2)\r\nStudio: 4.8.0.201611121409\r\nTi SDK: 6.1.0.v20161201064221\r\nAppc NPM: 4.2.8\r\nApp CLI: 6.1.0-302\r\nNode v4.4.7\r\n{noformat}\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-12-01T19:21:35.000+0000", "updated": "2016-12-01T19:21:35.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }