Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

fix: exclude WebSocket from rate limiting to prevent UI lockout

rcourtmana93148105f8a
diff --git a/internal/api/rate_limit_config.go b/internal/api/rate_limit_config.go
index 3aad91ea94..39ec819b20 100644
--- a/internal/api/rate_limit_config.go
+++ b/internal/api/rate_limit_config.go
@@ -136,6 +136,7 @@ func UniversalRateLimitMiddleware(next http.Handler) http.Handler {
skipPaths := []string{
"/api/state", // Real-time state updates
"/api/guests/metadata", // Guest metadata (polled frequently)
+ "/ws", // WebSocket connections (authenticated, reconnections are normal)
}
for _, path := range skipPaths {
if strings.Contains(r.URL.Path, path) {