hyperledger-archives / education

Hyperledger training material
https://wiki.hyperledger.org/display/LMDWG
Apache License 2.0
372 stars 360 forks source link

Issue with Fabric Tuna application on Linux #27

Open musicalentropy opened 6 years ago

musicalentropy commented 6 years ago

When I change a Tuna Holder, the blockchain seems to be updated with the new information, however the terminal displays this :

The transaction has been committed on peer localhost:7053 Send transaction promise and event listener promise have completed Successfully sent transaction to the orderer. Successfully committed the change to the ledger by the peer Failed to invoke successfully :: Error: Can't set headers after they are sent. (node:14045) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Can't set headers after they are sent.

Any idea about this error ? Thanks in advance !

mpmckenna8 commented 6 years ago

Not just on linux, just a general mistake with express which is easy to make. I fixed this in https://github.com/hyperledger/education/pull/43.

Just needs to be merged or you can use: https://github.com/mpmckenna8/education/tree/better_server

sosherio commented 6 years ago

I used the alternative repository, but I get the exact same error.

Renu353 commented 5 years ago

Hi,am working on tuna fish.. I had tried adding extra columns along with vessel,holder etc. I came to know that it is taking upto eight columns only more than that it is giving error in inserting tuna fish..please help me with this issue.