transfer-chain-js icon indicating copy to clipboard operation
transfer-chain-js copied to clipboard

Registration of [transfer-chain 0.0 application/json] failed

Open messbees opened this issue 6 years ago • 3 comments

$ npm start

> [email protected] start /home/ubuntu/transfer-chain-js/processor
> node index.js

Initializing JSON handler for Transfer-Chain
Connected to tcp://localhost:4004
Registration of [transfer-chain 0.0 application/json] failed

validator and REST API are launched with default network settings. how to solve?

messbees avatar Apr 14 '18 15:04 messbees

Same issue, ¿any idea?

felison692 avatar Aug 08 '18 14:08 felison692

Not sure. Can you give me steps to reproduce? I followed the steps in the Readme and got a success:

git clone https://github.com/delventhalz/transfer-chain-js.git
cd transfer-chain-js/client/
npm install
npm run build
cd ../processor/
npm install
cd ../
docker-compose up

Then in a new Terminal:

cd processor/
npm start

That got me the following output:


> [email protected] start /Users/a6003240/Documents/transfer-chain-js/processor
> node index.js

Initializing JSON handler for Transfer-Chain
Connected to tcp://localhost:4004
Registration of [transfer-chain 0.0 application/json] succeeded

delventhalz avatar Jun 26 '19 19:06 delventhalz

same issue for me, looping with: Initializing JSON handler for Transfer-Chain

Connected to tcp://localhost:4004 Disconnected from tcp://localhost:4004 Attempting to reconnect to tcp://localhost:4004 Registration of [transfer-chain 0.0 application/json] Failed! ValidatorConnectionError: The connection to the validator was lost at /home/mattia/transfer-chain-js/processor/node_modules/sawtooth-sdk/messaging/stream.js:90:9 at Array.forEach () at Stream._handleDisconnect (/home/mattia/transfer-chain-js/processor/node_modules/sawtooth-sdk/messaging/stream.js:88:32) at exports.Socket. (/home/mattia/transfer-chain-js/processor/node_modules/sawtooth-sdk/messaging/stream.js:71:58) at exports.Socket.emit (events.js:314:20) at Object.self._zmq.onMonitorEvent (/home/mattia/transfer-chain-js/processor/node_modules/zeromq/lib/index.js:543:12)

It keep repeating this messages

MattiaGo avatar Nov 20 '22 14:11 MattiaGo