crowdsec_manager icon indicating copy to clipboard operation
crowdsec_manager copied to clipboard

Alerts page crashes (blank screen) when IP filter yields no results

Open Vaperous opened this issue 3 weeks ago • 0 comments

Alerts page crashes (blank screen) when IP filter yields no results

Steps to reproduce

Open Alerts Enter an IP/prefix in the filter that matches none of the loaded alerts (e.g. 192. or 1.1.1.1)

Expected: Empty result / “no alerts found” Actual: Page goes blank, only background remains. Prefixes with matches (e.g. 45.) work fine. Reload restores the page.

Console Uncaught Error: Minified React error #300 (“Rendered fewer hooks than expected”) — likely an early return before hook calls in the alerts list/filter component when the filtered result is empty. No error boundary catches it.

Backend is fine: /api/crowdsec/alerts/analysis returns 200 (100 alerts); no additional API request is sent when filtering.

Version hhftechnology/crowdsec-manager:latest

console-export-2026-11-8_14-31-39.log

@sha256:23bfce9f43fad5385b0df9373b61bdf2fc98ab347a7b0df14bdc2a028c47fbbf

Vaperous avatar Nov 08 '26 13:11 Vaperous