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

Run responder failed due too long task description #986

Closed
chudamax opened this issue May 29, 2019 · 2 comments
Closed

Run responder failed due too long task description #986

chudamax opened this issue May 29, 2019 · 2 comments
Labels

Comments

@chudamax
Copy link

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu 16.04 4.4.0-142
OS version (client) 10
TheHive version / git hash 3.3.0-1
Package Type Binary

Problem Description

Run responder on case ask failed due too long task description.

Steps to Reproduce

  1. Create a case with a very long description (more than 32766)
  2. Create any task or observable
  3. Try to run responder on it

Possible Solutions

Complementary information

TheHive log:

2019-05-29 16:07:31,884 [INFO] from org.elastic4play.ErrorHandler in application-akka.actor.default-dispatcher-5 - POST /api/connector/cortex/action returned 500
connectors.cortex.services.CortexError: Cortex error on http://192.168.1.1:9999/api/responder/d3c23a0b82fd230af9f1048afb44fcd1/run (500)
{"type":"CreateError","message":"Document contains at least one immense term in field="data" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped. Please correct the analyzer to not produce such terms. The prefix of the first immense term is: '[123, 34, 102, ...', original message: bytes can be at most 32766 in length; got 63505","object":{"createdAt":1559120928412,"pap":2,"...

@nadouani
Copy link
Contributor

This will be fixed by Cortex 3.0.0 (because it's a Cortex bug, and Cortex 3.0.0-RC3 is still in Beta) and TheHive 3.4.0 that adds support to Cortex 3.

I'll close this issue for now, and please feel free to test this and reopen the issue if the versions above don't fix the issue.

Thanks

@nadouani
Copy link
Contributor

To be precise, it's fixed by TheHive-Project/Cortex#178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants