node
node copied to clipboard
akash events doesn't work when AKASH_NODE is used
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 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