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] MaxMind #752

Closed
sychev-a-k opened this issue Apr 22, 2020 · 3 comments
Closed

[Bug] MaxMind #752

sychev-a-k opened this issue Apr 22, 2020 · 3 comments
Labels
category:bug Issue is related to a bug

Comments

@sychev-a-k
Copy link

sychev-a-k commented Apr 22, 2020

Describe the bug
Error when I try to use Maxmind Analyzer from TheHive UI or Cortex UI
Unexpected end-of-input within/between Object entries at [Source: (sun.nio.ch.ChannelInputStream); line: 1, column: 901]

i found similar isssue https://github.com/TheHive-Project/Cortex-Analyzers/issues/573

To Reproduce
add ascii characters other than standard characters

Expected behavior
Fix

Complementary information
When I try launch script from console - everything is work
image

Work environment
the latest versions of Thehive and Cortex in docker environment

@sychev-a-k sychev-a-k added the category:bug Issue is related to a bug label Apr 22, 2020
@dadokkio
Copy link
Contributor

related issue should be #564
Is the analyzer in your cortex running with python3?

@sychev-a-k
Copy link
Author

I chanched to python3 and it worked. Thank you
But if other analyzer works only with python2.7? How can i support this?

@dadokkio
Copy link
Contributor

There is a work in progress to make all the analyzers python3 compatible and only few are not working yet.
If you have both python versions on your machine the first row of any script will indicate which python release you must use: https://stackoverflow.com/questions/6908143/should-i-put-shebang-in-python-scripts-and-what-form-should-it-take

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

2 participants