How to solve "Failed to deserialize creator identity error"?

0 votes

I am new to blockchain and i am trying the documentation on hyperledger fabric website to write the first app..
But when i run node query.js command, i get the following error..

 Create a client and set the wallet location
    Set wallet path, and associate user  PeerAdmin  with application
    Check user is enrolled, and set a query URL in the network
    Make query
    Assigning transaction_id:  f7d1d9b40c37bb21909bdb6ff24980da33758fb1ea5a85cb67d699f3fcd3ffa2
    error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err MSP Org1MSP is unknown
        at /home/user/work/fabric-samples/fabcar/node_modules/grpc/src/node/src/client.js:434:17
    returned from query
    Query result count =  1
    error from query =  { [Error: Failed to deserialize creator identity, err MSP Org1MSP is unknown] code: 2, metadata: Metadata { _internal_repr: {} } }
    Response is  Error: Failed to deserialize creator identity, err MSP Org1MSP is unknown

How to solve this?

Jul 13, 2018 in Blockchain by digger
• 27,630 points
300 views

1 answer to this question.

0 votes


It seems like the problem is caused due to Docker version.. Try the following codes, it should solve the issue..

sudo apt-get --purge remove docker-ce
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
apt-cache policy docker-ce
sudo apt-get install -y docker-ce

answered Jul 13, 2018 by slayer
• 29,050 points

Related Questions In Blockchain

0 votes
1 answer

Hyperledger Fabric:Promise is rejected:Error:Failed to deserialize creator identity,The supplied identity is not valid.

 This error happens because basic-network/docker-compose.yaml has CA ...READ MORE

answered Nov 14, 2018 in Blockchain by Omkar
• 67,290 points
220 views
0 votes
10 answers

How to solve gradle build failed error?

I migrated the project to a different ...READ MORE

answered Dec 7, 2018 in Blockchain by Rajat
5,657 views
0 votes
1 answer

How to fix "failed to execute script docker compose" error on windows 7?

It seems like the container is not ...READ MORE

answered Jun 27, 2018 in Blockchain by Omkar
• 67,290 points
1,243 views
0 votes
1 answer

How to solve EACCES:permission denied error in Hyperledger Composer?

It seems like there is no required ...READ MORE

answered Jul 11, 2018 in Blockchain by digger
• 27,630 points
332 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 27,630 points
59 views
+1 vote
1 answer
0 votes
1 answer

How to solve "Failed to get identity 'admin'" error?

It seems like this error is caused ...READ MORE

answered Jul 13, 2018 in Blockchain by slayer
• 29,050 points
25 views
0 votes
1 answer

How to solve Runtime error when querying Hyperledger?

OCI is open container initiative.. The error ...READ MORE

answered Jul 9, 2018 in Blockchain by slayer
• 29,050 points
221 views