Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Point agent 401 recovery copy at the Pulse UI, not a wrong breadcrumb
rcourtmana54e67cb0fe8
diff --git a/frontend-modern/src/features/standalone/AgentsMachinesTable.tsx b/frontend-modern/src/features/standalone/AgentsMachinesTable.tsxindex c056f01300..d20646c447 100644--- a/frontend-modern/src/features/standalone/AgentsMachinesTable.tsx+++ b/frontend-modern/src/features/standalone/AgentsMachinesTable.tsx@@ -1434,7 +1434,7 @@ export const AgentsMachinesTable: Component<{const when = last? ` Last report ${formatPlatformTableRelativeTimeValue(last)}.`: '';- return `Agent has stopped reporting.${when} Re-run the install command from Settings > Agents to refresh its token.`;+ return `Agent has stopped reporting.${when} Re-run the install command from the Pulse UI to refresh its token.`;};const indicator = () => getSimpleStatusIndicator(machine.status);const canRenderMetrics = () => indicator().variant !== 'danger';diff --git a/internal/hostagent/agent.go b/internal/hostagent/agent.goindex 083e3ca338..85fdef2e44 100644--- a/internal/hostagent/agent.go+++ b/internal/hostagent/agent.go@@ -622,7 +622,7 @@ func (a *Agent) logAuthFailure(statusErr *reportHTTPStatusError) {Str("endpoint", endpoint).Int("status_code", statusCode).Str("pulse_url", a.trimmedPulseURL).- Msg("Pulse rejected this agent's API token (401 Unauthorized). The token is no longer valid on the server, which usually means Pulse was restored/reinstalled or upgraded (for example v5 -> v6) without carrying the token across. Re-run the agent install command from the Pulse UI (Settings > Agents) to mint a fresh token. Reports are dropped until the token is replaced.")+ Msg("Pulse rejected this agent's API token (401 Unauthorized). The token is no longer valid on the server, which usually means Pulse was restored/reinstalled or upgraded (for example v5 -> v6) without carrying the token across. Re-run the agent install command from the Pulse UI to mint a fresh token. Reports are dropped until the token is replaced.")}func (a *Agent) flushBuffer(ctx context.Context) {diff --git a/scripts/install.sh b/scripts/install.shindex 736dba27d2..88ce8acd56 100755--- a/scripts/install.sh+++ b/scripts/install.sh@@ -352,7 +352,7 @@ restore_selinux_contexts() {# health-check paths report it identically.warn_agent_token_rejected() {log_warn "Pulse rejected this agent's API token (HTTP 401/403). The saved token is no longer valid on the server, which usually means Pulse was restored/reinstalled or upgraded (for example v5 -> v6) without carrying the token across."- log_warn "Re-run the full agent install command from the Pulse UI (Settings > Agents) to mint a fresh token. The agent will keep reporting 401 until the token is replaced."+ log_warn "Re-run the full agent install command from the Pulse UI to mint a fresh token. The agent will keep reporting 401 until the token is replaced."}# verify_agent_server_registration returns: