I’m having trouble getting gLiveView to work on both my bp and relay node. gLiveView version in env showing 1.24.0 and cardano-node is 1.31.0. cnode is running as systemd service and fully synced, on default port 6000. Have tried explicitly setting vars in env, but everything should be at default locations. in gLiveView I’ve started echoing vars just before the error and what I’ve looked at seems fine. Can curl localhost:12788 and get a response.
when I echo $nodeStartTime it returns a 0. Am going to try to work backwards to figure out why it’s a 0, but before I jump down that rabbit hole I’m hoping the community might have some suggestions on how to troubleshoot.
hmm I tried yesterday to understand why this error with glive but I didn’t found any issue (mine nodes working fine with 1.24.0)… some one solved by replacing the cardano-node and cardano-cli bin files (copied from a working node)…
use for the moment the old glive , should be named ./gLiveView.sh_bkpxxx
PS: what’s the error in glive? Syntax error? Can u share the output? Did u also updated the env file?
can u try cardano-node - -version and share the output?
This is my first attempt at using CNTools, installed everything from scratch via prereqs then compiled binaries for cardano-node and cardano-cli from source, so I don’t have an older version of glive. I have of course modified the script adding echo statements to verify variables are valid, and then updated gliveview on run so there are backups in the folder but I started this last night so nothing it’s all the same version. cnode is 1.31.0 and gliveview is 1.24.0. Error is:
Connection to node lost, retrying (3/3)!
3 times until:
COULD NOT CONNECT TO A RUNNING INSTANCE, 3 FAILED ATTEMPTS IN A ROW!
In my troubleshooting, I see on lines 618 and 622 the error print statements, so just before at line 614 I’ll echo vars CNODE_PID, CNODEBIN which are fine, but nodeStartTime is 0. Trying to work backwards to figure out why it’s 0 but haven’t figured that out yet…
I see something in the logs from journalctl about the config file:
Dec 01 20:11:39 localhost cnode: Could not parse /files/config.json file in JSON format, please double-check the syntax of your config, or simply download it from guild-operators repository!
And yet the node starts just fine and I can execute commands via cardano-cli just fine. Also not sure why it says it’s looking in /files/config.json rather than $CNODE_HOME/files/config.json, but the latter is how the service starts and can be confirmed by ps auxf | grep cardano as running with $CNODE_HOME/files/config.json
Also, since I’m running on testnet, last night the first time through I ran without any flags and noticed it was runing on mainnet. When I ran with just -n, it wasn’t enough to replace the config files for testnet. Had to run with -n testnet -f to get it to update the config files for tesnet