{ "id": "172722", "key": "AC-6055", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2019-01-17T17:57:18.000+0000", "created": "2018-12-10T15:06:32.000+0000", "labels": [ "android", "error", "i/o", "socket" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-05-13T15:01:52.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": "Some tests conducted by app on Android device connected to the WiFi module of an IoT device (in access-point mode) we found communication errors TCP Socket. These errors always occur and only in some devices, while in other devices communication does not have problems.\r\n\r\nThe procedure we perform is a socket communication with a sequence of continuous readings and readings, which are used to configure the IoT WiFi module to connect to the local network. During the procedure the socket reports an error and the communication is interrupted.\r\n\r\nThe error that is reported by the error event of the TCP socket proxy is as follows:\r\n\r\n{color:red}Unable to read from socket, IO error{color}\r\n{color:red}Read from socket I/O error{color}\r\n\r\n*The devices at the time that seem to be affected are:*\r\n- Samsung Galaxy J3 – J320FN, Android ver. 5.1.1\r\n- Samsung A6 - Android 8\r\n\r\n*It works well on:*\r\n- Tablet Acer A3-A20, Android ver. 4.4.2\r\n- LG K8 (2017) (LG-M200), Android ver. 8.1.0\r\n- Samsung Galaxy J5 (SM-J500FN), Android 6.0.1\r\n- Huawei MediaPad T3 10 (AGS-w09), Android 7.0\r\n- Samsung A5 (2016) (SM-A510F), Android 7.0\r\n\r\n*Works well on iOS devices*", "attachment": [], "flagged": false, "summary": "Android Socket IO Error on some devices", "creator": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "environment": "Ti SDK 7.4.0.GA - 7.5.0.GA\r\n", "comment": { "comments": [ { "id": "444442", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, We need details of the issue. Where did you get the log? Please send the full log in here. Also, A sample code that regenerates the issue on the mentioned device will be helpful. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-12-10T22:36:51.000+0000", "updated": "2018-12-10T22:36:51.000+0000" }, { "id": "444532", "author": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "body": "Hello, the devices with problems are from third-party users used in field-testing, so I do not have the error stack log, but only the socket proxy message.\r\nMy company is evaluating the purchase of the same smartphone models to verify the error and generate the requested log.", "updateAuthor": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "created": "2018-12-12T09:55:24.000+0000", "updated": "2018-12-12T09:55:24.000+0000" }, { "id": "445025", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~sandrolain],\r\n\r\nDid you manage to generate the requested log? Also, A sample test code that regenerates the issue will be helpful to better investigation.", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-01-07T11:02:09.000+0000", "updated": "2019-01-07T11:02:09.000+0000" }, { "id": "445425", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nWe are waiting for the log and sample test project to reproduce the issue on our end.. Please let us know if you need any help.", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-01-17T06:39:47.000+0000", "updated": "2019-01-17T06:39:47.000+0000" }, { "id": "447419", "author": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "body": "Hi, we tried to reproduce the problem, but these problems occur on our customers' devices and networks on which we have no possibility to analyze to extract a log.\r\nCurrently another error reported by the socket manager appears to be the following:\r\n\r\n{noformat}\r\nUnable to read from socket. Reason: recvfrom failed: ETIMEDOUT (Connection timed out)\r\n{noformat}\r\n\r\n", "updateAuthor": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "created": "2019-04-02T08:03:21.000+0000", "updated": "2019-04-02T08:03:39.000+0000" }, { "id": "447420", "author": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "body": "Currently we provide the apk of the Android version to some of our customers who live in other European countries and for which we have no possibility to operate directly on site for analysis.\r\nI would like to ask you if it is possible in some way to remotely register the trace logs that generate the error so that we can provide them. Thank you", "updateAuthor": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "created": "2019-04-02T08:10:09.000+0000", "updated": "2019-04-02T08:10:09.000+0000" }, { "id": "448070", "author": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "body": "Hello\r\nWe continue to encounter data read / write problems via TCP sockets.\r\nThe last report concerns the following error that comes from the \"onerror\" event of the TCP socket client on Android.\r\n\r\n{noformat}\r\nUnable to read from socket. Reason: Software caused connection abort\r\n{noformat}\r\n\r\nCommunication errors occur mainly on Samsung devices, in this case a Samsung A5 2017 (SM-A520F).\r\nThere may be some security software pre-installed on Samsung (or other brands) devices that interfere with TCP socket communication, however simple (ascii strings of a few bytes).", "updateAuthor": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "created": "2019-04-30T13:08:54.000+0000", "updated": "2019-04-30T13:08:54.000+0000" }, { "id": "448334", "author": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "body": "Hello\r\nWith further investigations it seems to be a problem of the firmware of the iot module (Microchip brand) used by our client to which the app connects. We are investigating further to confirm this.", "updateAuthor": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "created": "2019-05-13T15:01:52.000+0000", "updated": "2019-05-13T15:01:52.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }