Running Hubble in the VMs fails with the following error message, because Relay is not deployed and there is nothing to listen to at the default address:
failed to connect to 'localhost:4245': connection error: desc = "transport: error while dialing: dial tcp 127.0.0.1:4245: connect: connection refused"`
We can have Hubble working on its own by exporting the HUBBLE_SERVER environment variable and making it point to the Hubble socket.
Let's use /etc/environment so that the variable is exported for all users, and Hubble remains accessible when working as root.
Running Hubble in the VMs fails with the following error message, because Relay is not deployed and there is nothing to listen to at the default address:
We can have Hubble working on its own by exporting the
HUBBLE_SERVER
environment variable and making it point to the Hubble socket.Let's use /etc/environment so that the variable is exported for all users, and Hubble remains accessible when working as root.