education icon indicating copy to clipboard operation
education copied to clipboard

Issue with Fabric Tuna application on Linux

Open musicalentropy opened this issue 6 years ago • 3 comments

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 !

musicalentropy avatar Apr 11 '18 09:04 musicalentropy

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

mpmckenna8 avatar May 28 '18 05:05 mpmckenna8

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

sosherio avatar Jul 05 '18 15:07 sosherio

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.

Renu353 avatar Mar 15 '19 18:03 Renu353