-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello! I noticed an interesting "gotcha" that I haven't done any sort of digging into, but just wanted to mention in case you want to add something to the docs or perhaps it's something that can be handled in the code.
If you spin up a Cardano node resource (ie: a preview node running 8.1.2) and then use dmtr to open a socket:
dmtr cardano connect-node-socket preview-stablethen setup some environment variables:
export CARDANO_NODE_SOCKET_PATH=/path/to/dmtr.socketand then run a command:
cardano-cli query tip --testnet-magic 2
the dmtr process will crash with the following error:
2024-02-07T19:30:03.358253Z INFO connect: dmtrctl::cardano::connect_node_socket: new client connected to socket
Error: x couldn't connect to TLS server
`-> tls handshake eof
If you go into the Demeter web portal and enable the "Expose Node to Client" option, then everything works as expected:
rj@49ad38f7af17:~$ cardano-cli query tip --testnet-magic 2
{
"block": 1747162,
"epoch": 470,
"era": "Babbage",
"hash": "ba6ce6c35684c3b274f5753fccb3fcb3c35e33de5906689dc6eeb850dbf28778",
"slot": 40680148,
"slotInEpoch": 72148,
"slotsToEpochEnd": 14252,
"syncProgress": "100.00"
}
Please let me know if you would like any further details and also feel free to close. Just wanted to make sure you guys were aware. Thanks for Demeter!
Metadata
Metadata
Assignees
Labels
No labels