IBM-Blockchain-Archive / ibm-blockchain-issues

Having issues with the IBM Blockchain Bluemix service? Let us know!
13 stars 12 forks source link

gRPC error? #84

Closed MrBuggySan closed 7 years ago

MrBuggySan commented 7 years ago

I'm trying to run the HFC tutorial: https://console.ng.bluemix.net/docs/services/blockchain/etn_sdk.html

I tried re-doing npm install a couple of times and making a new blockchain service on Bluemix but it is still not successful.

Enrolled admin sucecssfully
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error
    at ClientDuplexStream._emitStatusIfDone (F:\Documents\CapstoneCode\HFCprac\SDK-Demo\node_modules\grpc\src\node\src\client.js:189:19)
    at ClientDuplexStream._readsDone (F:\Documents\CapstoneCode\HFCprac\SDK-Demo\node_modules\grpc\src\node\src\client.js:158:8)
    at readCallback (F:\Documents\CapstoneCode\HFCprac\SDK-Demo\node_modules\grpc\src\node\src\client.js:217:12)

Anyone else have this error going on with their applications?

mastersingh24 commented 7 years ago

in your BMX service credentials, what is the port number being used for events?

mastersingh24 commented 7 years ago

@MrBuggySan - the problem is with the connection to the eventhub. The easiest thing to do to get past this is to simply comment out all references to "eventhub" in helloblockchain.js

dhyey20 commented 7 years ago

Closing this due to inactivity. If you are seeing the events related problems, feel free to re-open.