Skip to content

Instantly share code, notes, and snippets.

@Binay1
Created June 5, 2017 17:23
Show Gist options
  • Save Binay1/3f78b9f4fda1b07bf318c7bf517c2531 to your computer and use it in GitHub Desktop.
Save Binay1/3f78b9f4fda1b07bf318c7bf517c2531 to your computer and use it in GitHub Desktop.
Log for Hyperledger Composer error : Failed to load connector module "composer-connector-hlfv1" for connection profile "hlfv1"
2017-06-05T17:03:39.426Z 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-06-05T17:03:39.433Z INFO FSConnectionProfileStore :save() Saved connection profile hlfv1 {}$
2017-06-05T17:03:39.434Z INFO ConnectionProfileManager :connect() Connecting using hlfv1 {"0":null}$
2017-06-05T17:03:39.437Z INFO FSConnectionProfileStore :load() Loaded connection profile hlfv1 {"0":"{\n \"type\": \"hlfv1\",\n \"orderers\": [\n {\n \"url\": \"grpc://localhost:7050\"\n }\n ],\n \"ca\": \"http://localhost:7054\",\n \"peers\": [\n {\n \"requestURL\": \"grpc://localhost:7051\",\n \"eventURL\": \"grpc://localhost:7053\"\n },\n {\n \"requestURL\": \"grpc://localhost:7056\",\n \"eventURL\": \"grpc://localhost:7058\"\n }\n ],\n \"keyValStore\": \"/home/bschawala/.hfc-key-store\",\n \"channel\": \"mychannel\",\n \"mspID\": \"Org1MSP\",\n \"deployWaitTime\": \"300\",\n \"invokeWaitTime\": \"100\"\n}"}$
2017-06-05T17:03:39.437Z INFO ConnectionProfileManager :getConnectionManager() Looking up a connection manager for profile {"0":"hlfv1"}$
2017-06-05T17:03:39.438Z INFO FSConnectionProfileStore :load() Loaded connection profile hlfv1 {"0":"{\n \"type\": \"hlfv1\",\n \"orderers\": [\n {\n \"url\": \"grpc://localhost:7050\"\n }\n ],\n \"ca\": \"http://localhost:7054\",\n \"peers\": [\n {\n \"requestURL\": \"grpc://localhost:7051\",\n \"eventURL\": \"grpc://localhost:7053\"\n },\n {\n \"requestURL\": \"grpc://localhost:7056\",\n \"eventURL\": \"grpc://localhost:7058\"\n }\n ],\n \"keyValStore\": \"/home/bschawala/.hfc-key-store\",\n \"channel\": \"mychannel\",\n \"mspID\": \"Org1MSP\",\n \"deployWaitTime\": \"300\",\n \"invokeWaitTime\": \"100\"\n}"}$
@dselman
Copy link

dselman commented Jun 5, 2017

Can you please paste the results of running:
npm uninstall -g composer-cli
npm install -g composer-cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment