IBM / customer-loyalty-program-hyperledger-fabric-VSCode

Customer loyalty program
https://developer.ibm.com/patterns/customer-loyalty-program-with-iks-saas-v2-fabric/
Apache License 2.0
98 stars 67 forks source link

Unable to Sign In. #13

Open syedYara opened 4 years ago

syedYara commented 4 years ago

Wallet path: /Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/wallet

Get use points transactions state for member 456789 { Error: transaction returned with failure: SyntaxError: Unexpected end of JSON input at self._endorserClient.processProposal (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/fabric-client/lib/Peer.js:140:36) at Object.onReceiveStatus (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/grpc/src/client_interceptors.js:1191:9) at InterceptingListener._callNext (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/grpc/src/client_interceptors.js:564:42) at InterceptingListener.onReceiveStatus (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/grpc/src/client_interceptors.js:614:8) at callback (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/grpc/src/client_interceptors.js:841:24) status: 500, payload: , peer: { url: 'grpc://localhost:17051', name: 'peer0.org1.example.com', options: { name: 'peer0.org1.example.com', 'request-timeout': 300000, 'grpc.max_receive_message_length': -1, 'grpc.max_send_message_length': -1 } }, isProposalResponse: true } Wallet path: /Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/wallet

Get earn points transactions state for member 456789 { Error: transaction returned with failure: SyntaxError: Unexpected end of JSON input at self._endorserClient.processProposal (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/fabric-client/lib/Peer.js:140:36) at Object.onReceiveStatus (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/grpc/src/client_interceptors.js:1191:9) at InterceptingListener._callNext (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/grpc/src/client_interceptors.js:564:42) at InterceptingListener.onReceiveStatus (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/grpc/src/client_interceptors.js:614:8) at callback (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/grpc/src/client_interceptors.js:841:24) status: 500, payload: , peer: { url: 'grpc://localhost:17051', name: 'peer0.org1.example.com', options: { name: 'peer0.org1.example.com', 'request-timeout': 300000, 'grpc.max_receive_message_length': -1, 'grpc.max_send_message_length': -1 } }, isProposalResponse: true } (node:53834) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (_http_outgoing.js:470:11) at ServerResponse.header (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/express/lib/response.js:767:10) at ServerResponse.send (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/express/lib/response.js:170:12) at ServerResponse.json (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/node_modules/express/lib/response.js:267:15) at network.earnPointsTransactionsInfo.then (/Users/syed/Downloads/hyperledger/customer-loyalty-program-hyperledger-fabric-VSCode/web-app/app.js:279:21) (node:53834) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 10)