C
CrowdSec6mo ago
SShizn

Error messages after updating to latest Crowdsec

error msg="Failed to bind json: json: cannot unmarshal object into Go struct field AllMetrics.remediation_components.feature_flags of type []string" func=UsageMetrics Please advise.
7 Replies
CrowdSec
CrowdSec6mo ago
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command /resolve or press the green resolve button below.
Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
© Created By WhyAydan for CrowdSec ❤️
blotus
blotus6mo ago
Hello, Which bouncer are you using ? It looks like an issue with the metrics data sent from the bouncer to crowdsec
bondskin
bondskin3mo ago
Hi @blotus , @SShizn , may be I can chime in here, as I see the same issue. I am running my Bouncer as a SWAG mod in a container, connected to my main crowdsec container. The environment is functional and working as expected, metrics looking good, I can also see alerts on the crowdsec website/ security engine. But no metrics showing up there.
No description
bondskin
bondskin3mo ago
time="2025-06-21T10:56:15+02:00" level=info msg="capi metrics: sending" time="2025-06-21T11:00:06+02:00" level=error msg="Failed to bind json: json: cannot unmarshal object into Go struct field AllMetrics.remediation_components.feature_flags of type []string" func=UsageMetrics
SShizn
SShiznOP3mo ago
bui
bui3mo ago
Hey, can you share bouncer / crowdsec versions please ?
bondskin
bondskin2mo ago
1.9.6

Did you find this page helpful?