-
DescriptionHi, ![]() Crowdsec is on the same docker network, and I did change the port from 8080->8888 in the compose.yaml, config.yaml, and local_api_credentials.yaml homepage versionnightly (986a181, May 9, 2024) Installation methodDocker Configuration- Crowdsec:
icon: crowdsec
href: https://app.crowdsec.net/security-engines
server: my-docker
container: crowdsec
widget:
type: crowdsec
url: http://crowdsec:8888
username: localhost # machine_id in crowdsec
password: {{HOMEPAGE_VAR_CROWDSEC_PASSWORD}} Container Logsdocker logs homepage
Listening on port 3000
[2024-05-11T16:55:53.396Z] warn: API response for /api/services/proxy?type=crowdsec&group=Network&service=Crowdsec&endpoint=alerts exceeds 4MB. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit
[2024-05-11T16:58:42.570Z] warn: API response for /api/services/proxy?type=crowdsec&group=Network&service=Crowdsec&endpoint=alerts exceeds 4MB. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit
[2024-05-11T17:00:27.434Z] warn: API response for /api/services/proxy?type=crowdsec&group=Network&service=Crowdsec&endpoint=alerts exceeds 4MB. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit Browser LogsNo response TroubleshootingNot relevant |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ Based on the information provided, it seems that the Crowdsec widget is fetching a large amount of data, which is causing high memory and CPU usage as indicated by the warning logs from the Homepage container. The discrepancy between the widget showing 5 alerts and the Here are a few steps you can take to troubleshoot the issue:
Remember to replace any sensitive information such as passwords with placeholders when sharing your configuration for troubleshooting. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
Strangely, the alerts have gone up +2 to 7 with 0 alerts in actual Crowdsec |
Beta Was this translation helpful? Give feedback.
-
I have noticed differences in the cli tool but their API is just a little underwhelming in my opinion. The widget grabs |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
I have noticed differences in the cli tool but their API is just a little underwhelming in my opinion. The widget grabs
/alerts/
/v1/alerts?decision_type=ban&origin=crowdsec&has_active_decision=1