2017-07-03T06:43:47.604Z INFO ConnectionProfileManager :constructor() Created a new ConnectionProfileManager {"0":{"fs":{"constants":{"O_RDONLY":0,"O_WRONLY":1,"O_RDWR":2,"S_IFMT":61440,"S_IFREG":32768,"S_IFDIR":16384,"S_IFCHR":8192,"S_IFBLK":24576,"S_IFIFO":4096,"S_IFLNK":40960,"S_IFSOCK":49152,"O_CREAT":64,"O_EXCL":128,"O_NOCTTY":256,"O_TRUNC":512,"O_APPEND":1024,"O_DIRECTORY":65536,"O_NOATIME":262144,"O_NOFOLLOW":131072,"O_SYNC":4096,"O_DIRECT":16384,"O_NONBLOCK":2048,"S_IRWXU":448,"S_IRUSR":256,"S_IWUSR":128,"S_IXUSR":64,"S_IRWXG":56,"S_IRGRP":32,"S_IWGRP":16,"S_IXGRP":8,"S_IRWXO":7,"S_IROTH":4,"S_IWOTH":2,"S_IXOTH":1,"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1},"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1}}}$ 2017-07-03T06:43:47.611Z INFO ConnectionProfileManager :connect() Connecting using hlfv1 {"0":"blockchainv5"}$ Discovering types from business network definition ... 2017-07-03T06:43:47.699Z INFO FSConnectionProfileStore :load() Loaded connection profile hlfv1 {"0":"{\n \"type\": \"hlfv1\",\n \"orderers\": [\n {\n \"url\": \"grpc://localhost:7050\"\n }\n ],\n \"ca\": {\n \"url\": \"http://localhost:7054\",\n \"name\": \"ca.example.com\"\n },\n \"peers\": [\n {\n \"requestURL\": \"grpc://localhost:7051\",\n \"eventURL\": \"grpc://localhost:7053\"\n }\n ],\n \"keyValStore\": \"/home/ubuntu/.hfc-key-store\",\n \"channel\": \"mychannel\",\n \"mspID\": \"Org1MSP\",\n \"timeout\": \"300\"\n}"}$ 2017-07-03T06:43:47.701Z INFO ConnectionProfileManager :getConnectionManager() Looking up a connection manager for profile {"0":"hlfv1"}$ 2017-07-03T06:43:47.706Z INFO FSConnectionProfileStore :load() Loaded connection profile hlfv1 {"0":"{\n \"type\": \"hlfv1\",\n \"orderers\": [\n {\n \"url\": \"grpc://localhost:7050\"\n }\n ],\n \"ca\": {\n \"url\": \"http://localhost:7054\",\n \"name\": \"ca.example.com\"\n },\n \"peers\": [\n {\n \"requestURL\": \"grpc://localhost:7051\",\n \"eventURL\": \"grpc://localhost:7053\"\n }\n ],\n \"keyValStore\": \"/home/ubuntu/.hfc-key-store\",\n \"channel\": \"mychannel\",\n \"mspID\": \"Org1MSP\",\n \"timeout\": \"300\"\n}"}$ 2017-07-03T06:43:49.972Z INFO ConnectionProfileManager :getConnectionManager() Using this connection manager {"0":{"connectionProfileManager":{"connectionProfileStore":{"fs":{"constants":{"O_RDONLY":0,"O_WRONLY":1,"O_RDWR":2,"S_IFMT":61440,"S_IFREG":32768,"S_IFDIR":16384,"S_IFCHR":8192,"S_IFBLK":24576,"S_IFIFO":4096,"S_IFLNK":40960,"S_IFSOCK":49152,"O_CREAT":64,"O_EXCL":128,"O_NOCTTY":256,"O_TRUNC":512,"O_APPEND":1024,"O_DIRECTORY":65536,"O_NOATIME":262144,"O_NOFOLLOW":131072,"O_SYNC":4096,"O_DIRECT":16384,"O_NONBLOCK":2048,"S_IRWXU":448,"S_IRUSR":256,"S_IWUSR":128,"S_IXUSR":64,"S_IRWXG":56,"S_IRGRP":32,"S_IWGRP":16,"S_IXGRP":8,"S_IRWXO":7,"S_IROTH":4,"S_IWOTH":2,"S_IXOTH":1,"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1},"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1}}}}}$ 2017-07-03T06:43:51.940Z INFO HLFConnection :ping() Successful ping {"0":"0.8.0","1":"0.8.0","2":"^0.8.0"}$ Discovered types from business network definition Generating schemas for all types in business network definition ... Generated schemas for all types in business network definition Adding schemas for all types to Loopback ... Added schemas for all types to Loopback Web server listening at: http://localhost:3000 Browse your REST API at http://localhost:3000/explorer 2017-07-03T06:46:17.327Z INFO ConnectionProfileManager :constructor() Created a new ConnectionProfileManager {"0":{"fs":{"constants":{"O_RDONLY":0,"O_WRONLY":1,"O_RDWR":2,"S_IFMT":61440,"S_IFREG":32768,"S_IFDIR":16384,"S_IFCHR":8192,"S_IFBLK":24576,"S_IFIFO":4096,"S_IFLNK":40960,"S_IFSOCK":49152,"O_CREAT":64,"O_EXCL":128,"O_NOCTTY":256,"O_TRUNC":512,"O_APPEND":1024,"O_DIRECTORY":65536,"O_NOATIME":262144,"O_NOFOLLOW":131072,"O_SYNC":4096,"O_DIRECT":16384,"O_NONBLOCK":2048,"S_IRWXU":448,"S_IRUSR":256,"S_IWUSR":128,"S_IXUSR":64,"S_IRWXG":56,"S_IRGRP":32,"S_IWGRP":16,"S_IXGRP":8,"S_IRWXO":7,"S_IROTH":4,"S_IWOTH":2,"S_IXOTH":1,"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1},"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1}}}$ 2017-07-03T06:46:17.342Z INFO ConnectionProfileManager :connect() Connecting using hlfv1 {"0":"blockchainv5"}$ 2017-07-03T06:46:17.354Z INFO FSConnectionProfileStore :load() Loaded connection profile hlfv1 {"0":"{\n \"type\": \"hlfv1\",\n \"orderers\": [\n {\n \"url\": \"grpc://localhost:7050\"\n }\n ],\n \"ca\": {\n \"url\": \"http://localhost:7054\",\n \"name\": \"ca.example.com\"\n },\n \"peers\": [\n {\n \"requestURL\": \"grpc://localhost:7051\",\n \"eventURL\": \"grpc://localhost:7053\"\n }\n ],\n \"keyValStore\": \"/home/ubuntu/.hfc-key-store\",\n \"channel\": \"mychannel\",\n \"mspID\": \"Org1MSP\",\n \"timeout\": \"300\"\n}"}$ 2017-07-03T06:46:17.360Z INFO ConnectionProfileManager :getConnectionManager() Looking up a connection manager for profile {"0":"hlfv1"}$ 2017-07-03T06:46:17.363Z INFO FSConnectionProfileStore :load() Loaded connection profile hlfv1 {"0":"{\n \"type\": \"hlfv1\",\n \"orderers\": [\n {\n \"url\": \"grpc://localhost:7050\"\n }\n ],\n \"ca\": {\n \"url\": \"http://localhost:7054\",\n \"name\": \"ca.example.com\"\n },\n \"peers\": [\n {\n \"requestURL\": \"grpc://localhost:7051\",\n \"eventURL\": \"grpc://localhost:7053\"\n }\n ],\n \"keyValStore\": \"/home/ubuntu/.hfc-key-store\",\n \"channel\": \"mychannel\",\n \"mspID\": \"Org1MSP\",\n \"timeout\": \"300\"\n}"}$ 2017-07-03T06:46:21.532Z INFO HLFConnection :ping() Successful ping {"0":"0.8.0","1":"0.8.0","2":"^0.8.0"}$ 2017-07-03T06:46:23.934Z INFO HLFConnection :ping() Successful ping {"0":"0.8.0","1":"0.8.0","2":"^0.8.0"}$ Treating unknown remoting type "issueidentityrequest" as "any" Treating unknown remoting type "issueidentityrequest" as "any" Treating unknown remoting type "issueidentityrequest" as "any" Treating unknown remoting type "issueidentityrequest" as "any" 2017-07-03T06:50:20.070Z ERROR HLFConnection :createIdentity() Register request failed trying to create identity {"0":{"stack":["{Error}fabric-ca request register failed with errors [[{\"code\":0,\"message\":\"Identity 'Participant1Id:1' is already registered\"}]] Error: fabric-ca request register failed with errors [[{\"code\":0,\"message\":\"Identity 'Participant1Id:1' is already registered\"}]]"," at IncomingMessage. (/home/ubuntu/.nvm/versions/node/v6.11.0/lib/node_modules/composer-rest-server/node_modules/fabric-ca-client/lib/FabricCAClientImpl.js:593:22)"," at emitNone (events.js:91:20)"," at IncomingMessage.emit (events.js:185:7)"," at endReadableNT (_stream_readable.js:974:12)"," at _combinedTickCallback (internal/process/next_tick.js:80:11)"," at process._tickCallback (internal/process/next_tick.js:104:9)"]}}$ Unhandled error for request POST /api/system/issueIdentity: Error: fabric-ca request register failed with errors [[{"code":0,"message":"Identity 'Participant1Id:1' is already registered"}]] at IncomingMessage. (/home/ubuntu/.nvm/versions/node/v6.11.0/lib/node_modules/composer-rest-server/node_modules/fabric-ca-client/lib/FabricCAClientImpl.js:593:22) at emitNone (events.js:91:20) at IncomingMessage.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9) 2017-07-03T06:51:41.150Z INFO ConnectionProfileManager :constructor() Created a new ConnectionProfileManager {"0":{"fs":{"constants":{"O_RDONLY":0,"O_WRONLY":1,"O_RDWR":2,"S_IFMT":61440,"S_IFREG":32768,"S_IFDIR":16384,"S_IFCHR":8192,"S_IFBLK":24576,"S_IFIFO":4096,"S_IFLNK":40960,"S_IFSOCK":49152,"O_CREAT":64,"O_EXCL":128,"O_NOCTTY":256,"O_TRUNC":512,"O_APPEND":1024,"O_DIRECTORY":65536,"O_NOATIME":262144,"O_NOFOLLOW":131072,"O_SYNC":4096,"O_DIRECT":16384,"O_NONBLOCK":2048,"S_IRWXU":448,"S_IRUSR":256,"S_IWUSR":128,"S_IXUSR":64,"S_IRWXG":56,"S_IRGRP":32,"S_IWGRP":16,"S_IXGRP":8,"S_IRWXO":7,"S_IROTH":4,"S_IWOTH":2,"S_IXOTH":1,"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1},"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1}}}$ 2017-07-03T06:51:41.162Z INFO ConnectionProfileManager :connect() Connecting using hlfv1 {"0":"blockchainv5"}$ 2017-07-03T06:51:41.187Z INFO FSConnectionProfileStore :load() Loaded connection profile hlfv1 {"0":"{\n \"type\": \"hlfv1\",\n \"orderers\": [\n {\n \"url\": \"grpc://localhost:7050\"\n }\n ],\n \"ca\": {\n \"url\": \"http://localhost:7054\",\n \"name\": \"ca.example.com\"\n },\n \"peers\": [\n {\n \"requestURL\": \"grpc://localhost:7051\",\n \"eventURL\": \"grpc://localhost:7053\"\n }\n ],\n \"keyValStore\": \"/home/ubuntu/.hfc-key-store\",\n \"channel\": \"mychannel\",\n \"mspID\": \"Org1MSP\",\n \"timeout\": \"300\"\n}"}$ 2017-07-03T06:51:41.191Z INFO ConnectionProfileManager :getConnectionManager() Looking up a connection manager for profile {"0":"hlfv1"}$ 2017-07-03T06:51:41.197Z INFO FSConnectionProfileStore :load() Loaded connection profile hlfv1 {"0":"{\n \"type\": \"hlfv1\",\n \"orderers\": [\n {\n \"url\": \"grpc://localhost:7050\"\n }\n ],\n \"ca\": {\n \"url\": \"http://localhost:7054\",\n \"name\": \"ca.example.com\"\n },\n \"peers\": [\n {\n \"requestURL\": \"grpc://localhost:7051\",\n \"eventURL\": \"grpc://localhost:7053\"\n }\n ],\n \"keyValStore\": \"/home/ubuntu/.hfc-key-store\",\n \"channel\": \"mychannel\",\n \"mspID\": \"Org1MSP\",\n \"timeout\": \"300\"\n}"}$ 2017-07-03T06:51:42.675Z ERROR HLFConnection :registerAndEnroll() {"message":"error trying to enroll user. Error: Enrollment failed with errors [[{\"code\":400,\"message\":\"Authorization failure\"}]]","stack":"Error: error trying to enroll user. Error: Enrollment failed with errors [[{\"code\":400,\"message\":\"Authorization failure\"}]]\n at caClient.enroll.then.then.then.then.catch (/home/ubuntu/.nvm/versions/node/v6.11.0/lib/node_modules/composer-rest-server/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:197:34)\n at process._tickCallback (internal/process/next_tick.js:109:7)"}$ 2017-07-03T06:51:42.678Z ERROR HLFConnection :login() {"message":"error trying login and get user Context. Error: error trying to enroll user. Error: Enrollment failed with errors [[{\"code\":400,\"message\":\"Authorization failure\"}]]","stack":"Error: error trying login and get user Context. Error: error trying to enroll user. Error: Enrollment failed with errors [[{\"code\":400,\"message\":\"Authorization failure\"}]]\n at client.getUserContext.then.then.catch (/home/ubuntu/.nvm/versions/node/v6.11.0/lib/node_modules/composer-rest-server/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:293:34)\n at process._tickCallback (internal/process/next_tick.js:109:7)"}$ Unhandled error for request GET /api/system/ping: Error: error trying login and get user Context. Error: error trying to enroll user. Error: Enrollment failed with errors [[{"code":400,"message":"Authorization failure"}]] at client.getUserContext.then.then.catch (/home/ubuntu/.nvm/versions/node/v6.11.0/lib/node_modules/composer-rest-server/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:293:34) at process._tickCallback (internal/process/next_tick.js:109:7)