Skip to main content

Troubleshooting Platform Agent Connection

If you encounter issues with agent connectivity, you can enable additional debug logs using the following environment variables in the values.yaml file of the Platform Helm chart.

env:
LOFT_LOG_TSNET_CONTROL_PLANE: true
LOFT_LOG_TSNET_AGENT: true
LOFT_LOG_DERP: true
LOFT_LOG_DERP_MESH: true

These environment variables will enable debug logs for the following components:

  • LOFT_LOG_TSNET_CONTROL_PLANE: Enable debug logs for the control plane component of the Network Peer network.
  • LOFT_LOG_TSNET_AGENT: Enable debug logs for the control-plane managed agents (will also enable debug logs for the agent embedded in the control plane).
  • LOFT_LOG_DERP: Enable debug logs for the DERP server.
  • LOFT_LOG_DERP_MESH: Enable debug logs for the DERP mesh.
Enabling Platform Debug Logs

Please ensure that Platform logs are set to debug in the values.yaml file of the Loft Helm chart; otherwise, the logs won't be shown.

logging:
level: debug