{"action":"created","issue":{"url":"https://api.github.com/repos/IBM-Blockchain/cp-web/issues/50","repository_url":"https://api.github.com/repos/IBM-Blockchain/cp-web","labels_url":"https://api.github.com/repos/IBM-Blockchain/cp-web/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/IBM-Blockchain/cp-web/issues/50/comments","events_url":"https://api.github.com/repos/IBM-Blockchain/cp-web/issues/50/events","html_url":"https://github.com/IBM-Blockchain/cp-web/issues/50","id":184166484,"number":50,"title":"Deployment fails on Bluemix","user":{"login":"zamrokk","id":2536368,"avatar_url":"https://avatars.githubusercontent.com/u/2536368?v=3","gravatar_id":"","url":"https://api.github.com/users/zamrokk","html_url":"https://github.com/zamrokk","followers_url":"https://api.github.com/users/zamrokk/followers","following_url":"https://api.github.com/users/zamrokk/following{/other_user}","gists_url":"https://api.github.com/users/zamrokk/gists{/gist_id}","starred_url":"https://api.github.com/users/zamrokk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zamrokk/subscriptions","organizations_url":"https://api.github.com/users/zamrokk/orgs","repos_url":"https://api.github.com/users/zamrokk/repos","events_url":"https://api.github.com/users/zamrokk/events{/privacy}","received_events_url":"https://api.github.com/users/zamrokk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-20T08:34:29Z","updated_at":"2016-10-27T02:15:28Z","closed_at":null,"body":"I click on the button \"Deploy to Bluemix\" from the git repository\r\n\r\nFirst the WebAdmin tries to register and fails, but after first application reboot it works.\r\nChaincode deployed, etc ...\r\n\r\nThen going to the web page, socket tries to boot but an expected token < is detected at this time\r\n\r\n```\r\nApp/0^2016-10-20T10:26:38.762+0200\r\nApp/0 at IncomingMessage.<anonymous> (/home/vcap/app/app.js:374:25)2016-10-20T10:26:38.763+0200\r\nApp/0<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">2016-10-20T10:26:38.762+0200\r\nApp/0**SyntaxError: Unexpected token <**2016-10-20T10:26:38.762+0200\r\nApp/0 at process._tickCallback (node.js:355:11)2016-10-20T10:26:38.763+0200\r\nApp/0 at success (/home/vcap/app/app.js:352:29)2016-10-20T10:26:38.763+0200\r\nApp/0 at IncomingMessage.emit (events.js:129:20)2016-10-20T10:26:38.763+0200\r\nApp/0 at Object.parse (native)2016-10-20T10:26:38.763+0200\r\nApp/0 at _stream_readable.js:908:162016-10-20T10:26:38.763+0200\r\nApp/0undefined:12016-10-20T10:26:38.762+0200\r\nApp/0received ws msg: {\"type\":\"get_papers\",\"v\":2}2016-10-20T10:26:34.712+0200\r\nApp/0received ws msg: {\"type\":\"chainstats\",\"v\":2}2016-10-20T10:26:34.708+0200\r\nApp/0------------------------------------------ Websocket Up ------------------------------------------\r\n```\r\n\r\nFinally, when trying to reboot the app it exits directly. It seems WebAppAdmin is corrupted.\r\n\r\n```\r\nApp/0Error: Uncaught, unspecified \"error\" event.2016-10-20T10:32:05.426+0200\r\nApp/0 at TransactionContext.deploy (/home/vcap/app/node_modules/hfc/lib/hfc.js:929:14)2016-10-20T10:32:05.426+0200\r\nApp/0 at TransactionContext.getMyTCert (/home/vcap/app/node_modules/hfc/lib/hfc.js:1060:21)2016-10-20T10:32:05.426+0200\r\nApp/0 ^2016-10-20T10:32:05.426+0200\r\nApp/0 throw Error('Uncaught, unspecified \"error\" event.');2016-10-20T10:32:05.426+0200\r\nApp/0 at Member.deploy (/home/vcap/app/node_modules/hfc/lib/hfc.js:765:12)2016-10-20T10:32:05.426+0200\r\nApp/0 at /home/vcap/app/node_modules/hfc/lib/hfc.js:932:222016-10-20T10:32:05.426+0200\r\nApp/0 at Member.getNextTCert (/home/vcap/app/node_modules/hfc/lib/hfc.js:812:20)2016-10-20T10:32:05.426+0200\r\nApp/0 at deploy (/home/vcap/app/app.js:289:32)2016-10-20T10:32:05.426+0200\r\nApp/0 at Error (native)2016-10-20T10:32:05.426+0200\r\nApp/0 at /home/vcap/app/app.js:275:172016-10-20T10:32:05.426+0200\r\nApp/0 at TransactionContext.emit (events.js:87:13)2016-10-20T10:32:05.426+0200\r\nApp/0events.js:872016-10-20T10:32:05.426+0200\r\nApp/0 at /home/vcap/app/node_modules/hfc/lib/hfc.js:1062:242016-10-20T10:32:05.426+0200\r\nApp/0**Failed to enroll WebAppAdmin member ---> Error: Identity or token does not match.**2016-10-20T10:32:05.422+0200\r\nApp/0Successfully got WebAppAdmin member ---> 2016-10-20T10:32:05.159+0200\r\n```"},"comment":{"url":"https://api.github.com/repos/IBM-Blockchain/cp-web/issues/comments/256528658","html_url":"https://github.com/IBM-Blockchain/cp-web/issues/50#issuecomment-256528658","issue_url":"https://api.github.com/repos/IBM-Blockchain/cp-web/issues/50","id":256528658,"user":{"login":"masterDev1985","id":14877096,"avatar_url":"https://avatars.githubusercontent.com/u/14877096?v=3","gravatar_id":"","url":"https://api.github.com/users/masterDev1985","html_url":"https://github.com/masterDev1985","followers_url":"https://api.github.com/users/masterDev1985/followers","following_url":"https://api.github.com/users/masterDev1985/following{/other_user}","gists_url":"https://api.github.com/users/masterDev1985/gists{/gist_id}","starred_url":"https://api.github.com/users/masterDev1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterDev1985/subscriptions","organizations_url":"https://api.github.com/users/masterDev1985/orgs","repos_url":"https://api.github.com/users/masterDev1985/repos","events_url":"https://api.github.com/users/masterDev1985/events{/privacy}","received_events_url":"https://api.github.com/users/masterDev1985/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T02:15:28Z","updated_at":"2016-10-27T02:15:28Z","body":"@zamrokk give it another try.  I've pushed some updates that should resolve the issue."}}
{"actor":{"display_login":"masterDev1985"}}