{"action":"created","issue":{"url":"https://api.github.com/repos/IBM/blockchain-network-on-kubernetes/issues/15","repository_url":"https://api.github.com/repos/IBM/blockchain-network-on-kubernetes","labels_url":"https://api.github.com/repos/IBM/blockchain-network-on-kubernetes/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/IBM/blockchain-network-on-kubernetes/issues/15/comments","events_url":"https://api.github.com/repos/IBM/blockchain-network-on-kubernetes/issues/15/events","html_url":"https://github.com/IBM/blockchain-network-on-kubernetes/issues/15","id":341265562,"node_id":"MDU6SXNzdWUzNDEyNjU1NjI=","number":15,"title":"hyperledger-fabric: error: [client-utils.js]: sendPeersProposal","user":{"login":"shyrazkhan","id":11777006,"node_id":"MDQ6VXNlcjExNzc3MDA2","avatar_url":"https://avatars2.githubusercontent.com/u/11777006?v=4","gravatar_id":"","url":"https://api.github.com/users/shyrazkhan","html_url":"https://github.com/shyrazkhan","followers_url":"https://api.github.com/users/shyrazkhan/followers","following_url":"https://api.github.com/users/shyrazkhan/following{/other_user}","gists_url":"https://api.github.com/users/shyrazkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/shyrazkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shyrazkhan/subscriptions","organizations_url":"https://api.github.com/users/shyrazkhan/orgs","repos_url":"https://api.github.com/users/shyrazkhan/repos","events_url":"https://api.github.com/users/shyrazkhan/events{/privacy}","received_events_url":"https://api.github.com/users/shyrazkhan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-14T20:29:41Z","updated_at":"2018-07-23T19:52:01Z","closed_at":null,"author_association":"NONE","body":"error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority.\r\n\r\nFacing this issue while accessing chaincode on kubernetes via nodejs api.\r\n\r\n\r\nvar fabric_client = new Fabric_Client();\r\n\r\n// setup the fabric network    \r\nvar channel = fabric_client.newChannel('channel1');\r\nvar peer = fabric_client.newPeer('grpc://184.172.247.100:30317');\r\nchannel.addPeer(peer);\r\n\r\nconst request = {\r\n   chaincodeId: 'tunacc',\r\n   txId: tx_id,\r\n   fcn: 'queryAllTuna',\r\n   args: ['']\r\n   };\r\n\r\n// send the query proposal to the peer\r\nreturn channel.queryByChaincode(request);   //this line through an exception.\r\n\r\nwhen i can execute chaincode within org1peer1 container it is working fine. but through node.js api it wont work.kubernetes services working snapshot https://i.stack.imgur.com/B187L.png"},"comment":{"url":"https://api.github.com/repos/IBM/blockchain-network-on-kubernetes/issues/comments/407179849","html_url":"https://github.com/IBM/blockchain-network-on-kubernetes/issues/15#issuecomment-407179849","issue_url":"https://api.github.com/repos/IBM/blockchain-network-on-kubernetes/issues/15","id":407179849,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzE3OTg0OQ==","user":{"login":"shyrazkhan","id":11777006,"node_id":"MDQ6VXNlcjExNzc3MDA2","avatar_url":"https://avatars2.githubusercontent.com/u/11777006?v=4","gravatar_id":"","url":"https://api.github.com/users/shyrazkhan","html_url":"https://github.com/shyrazkhan","followers_url":"https://api.github.com/users/shyrazkhan/followers","following_url":"https://api.github.com/users/shyrazkhan/following{/other_user}","gists_url":"https://api.github.com/users/shyrazkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/shyrazkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shyrazkhan/subscriptions","organizations_url":"https://api.github.com/users/shyrazkhan/orgs","repos_url":"https://api.github.com/users/shyrazkhan/repos","events_url":"https://api.github.com/users/shyrazkhan/events{/privacy}","received_events_url":"https://api.github.com/users/shyrazkhan/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T19:52:01Z","updated_at":"2018-07-23T19:52:01Z","author_association":"NONE","body":"Hi alejandrolr, thanks for your reply. I have tried your solution but still facing the same issue. I am sharing Org1Peer1 logging at the time when facing an exception.\r\n\r\n![image](https://user-images.githubusercontent.com/11777006/43099428-9a8676c8-8edb-11e8-8977-78c11861a827.png)\r\n"}}
{"actor":{"display_login":"shyrazkhan"}}