Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] CrowdSec Analyzer: requests module missing #1227

Closed
ebdavison opened this issue Oct 12, 2023 · 1 comment
Closed

[Bug] CrowdSec Analyzer: requests module missing #1227

ebdavison opened this issue Oct 12, 2023 · 1 comment
Labels
category:bug Issue is related to a bug
Milestone

Comments

@ebdavison
Copy link

Describe the bug
Running crowdsec analyzer results in an error.

Error:

Traceback (most recent call last):
  File "/worker/Crowdsec/crowdsec_analyzer.py", line 4, in <module>
    from crowdsec_api import Crowdsec
  File "/worker/Crowdsec/crowdsec_api.py", line 2, in <module>
    from requests.compat import urljoin
ModuleNotFoundError: No module named 'requests'

To Reproduce
Steps to reproduce the behavior:

  1. enable crowdsec analyzer
  2. run crowdsec analyzer

Expected behavior
Proper results from the use of the crowdsec analyzer

Complementary information
If applicable, add screenshots and any additional information that might help explain your problem.

Work environment

  • Client OS: fedora linux
  • Server OS: fedora linux / docker install
  • Browse type and version: firefox 118.0.1 (64-bit)
  • Cortex version:
  • Cortex Analyzer/Responder name: CrowdSec Analyzer
  • Cortex Analyzer/Responder version: 1.0

Possible solutions
If applicable, indicate possible solutions to the problem.

Additional context
Add any other context about the problem here.

@LaurenceJJones
Copy link

Linked to #1224

@nadouani nadouani added the category:bug Issue is related to a bug label Dec 28, 2023
@jeromeleonard jeromeleonard added this to the 3.3.5 milestone Jan 10, 2024
@jeromeleonard jeromeleonard modified the milestones: 3.3.5, 3.3.6 Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bug Issue is related to a bug
Projects
None yet
Development

No branches or pull requests

4 participants