node icon indicating copy to clipboard operation
node copied to clipboard

akash events doesn't work when AKASH_NODE is used

Open tidrolpolelsef opened this issue 2 years ago • 1 comments

akash events seems to only work when I use --node

$ akash events 
Error: websocket: bad handshake
ericu@ericu-ryzen:~/tmp/june2022_testnet$ echo $AKASH_NODE
tcp://147.75.44.91:26657/
ericu@ericu-ryzen:~/tmp/june2022_testnet$ echo $AKASH_NODE
tcp://147.75.44.91:26657/
ericu@ericu-ryzen:~/tmp/june2022_testnet$ akash events --node=tcp://147.75.44.91:26657

The last line works fine and when events happen I see them in my terminal

tidrolpolelsef avatar Jul 12 '22 17:07 tidrolpolelsef

@tidrolpolelsef when exporting your variable, remove the / at the end of the RPC like so:

export AKASH_NODE="tcp://147.75.44.91:26657"

This resolves the handshake issue you encountered

Reecepbcups avatar Jul 22 '22 04:07 Reecepbcups