{"action":"created","issue":{"url":"https://api.github.com/repos/theveloped/cordova-bitcore/issues/1","labels_url":"https://api.github.com/repos/theveloped/cordova-bitcore/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/theveloped/cordova-bitcore/issues/1/comments","events_url":"https://api.github.com/repos/theveloped/cordova-bitcore/issues/1/events","html_url":"https://github.com/theveloped/cordova-bitcore/issues/1","id":118506528,"number":1,"title":"No peer response","user":{"login":"theveloped","id":15847277,"avatar_url":"https://avatars.githubusercontent.com/u/15847277?v=3","gravatar_id":"","url":"https://api.github.com/users/theveloped","html_url":"https://github.com/theveloped","followers_url":"https://api.github.com/users/theveloped/followers","following_url":"https://api.github.com/users/theveloped/following{/other_user}","gists_url":"https://api.github.com/users/theveloped/gists{/gist_id}","starred_url":"https://api.github.com/users/theveloped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theveloped/subscriptions","organizations_url":"https://api.github.com/users/theveloped/orgs","repos_url":"https://api.github.com/users/theveloped/repos","events_url":"https://api.github.com/users/theveloped/events{/privacy}","received_events_url":"https://api.github.com/users/theveloped/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T00:38:37Z","updated_at":"2015-11-25T17:50:41Z","closed_at":null,"body":"It teems that as of now the tcp.socket is able to properly connect to the peers. However no response is received from the peer on sending of the initial `version` message. Perhaps the message is not encoded correctly could be due to the node `buffer` dependency. \r\n\r\nAny help on debugging this problem is greatly appreciated, as further development is highly dependent on solving this initial issue."},"comment":{"url":"https://api.github.com/repos/theveloped/cordova-bitcore/issues/comments/159686460","html_url":"https://github.com/theveloped/cordova-bitcore/issues/1#issuecomment-159686460","issue_url":"https://api.github.com/repos/theveloped/cordova-bitcore/issues/1","id":159686460,"user":{"login":"stefanhuber","id":5379359,"avatar_url":"https://avatars.githubusercontent.com/u/5379359?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanhuber","html_url":"https://github.com/stefanhuber","followers_url":"https://api.github.com/users/stefanhuber/followers","following_url":"https://api.github.com/users/stefanhuber/following{/other_user}","gists_url":"https://api.github.com/users/stefanhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanhuber/subscriptions","organizations_url":"https://api.github.com/users/stefanhuber/orgs","repos_url":"https://api.github.com/users/stefanhuber/repos","events_url":"https://api.github.com/users/stefanhuber/events{/privacy}","received_events_url":"https://api.github.com/users/stefanhuber/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T17:50:41Z","updated_at":"2015-11-25T17:50:41Z","body":"I have followed the steps you proposed, additionally I also added the two socket plugins via:\r\n - cordova plugin add https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-sockets-tcp.git\r\n - cordova plugin add https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-sockets-tcpServer.git\r\n\r\nI also added the code snippet with an IP from the DNS list you proposed. After deploying the app to a device (Samsung Galaxy S3) with ```ionic run -c -s -l``` I got the following errors in the command line:\r\n\r\n0     324289   log      Error in Success callbackId: ChromeSocketsTcp1188801479 : TypeError: Cannot read property 'lastError' of undefined\r\n1     324363   error    Uncaught TypeError: Cannot read property 'lastError' of undefined, http://192.168.0.101:8100/cordova.js, Line: 312\r\n\r\n\r\nDo you know if any permissions are needed for using the sockets, within an android app? Next I will try an android version > 5 on an emulator, I hope there I can get more insight from the error log...\r\n"}}