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] Multiple Index issue : org.janusgraph.core.JanusGraphException: Could not call index), retrying (1), #2159

Closed
azgaviperr opened this issue Aug 3, 2021 · 2 comments
Labels
bug TheHive4 TheHive4 related issues

Comments

@azgaviperr
Copy link

azgaviperr commented Aug 3, 2021

Request Type

Bug

Problem Description

In 4.1.9 I got the following issue with taxonomies and ATT&CK Patterns

image

Counting seems to work, the same in the index panel I can see the proper number of element in each section. This was working prior to my upgrade from 4.1.7 t 4.1.9 does anyone have similar issue ? (using elastic index)

image
image
image

I tried to reindex and drop index, but no good so far. This is issue seems to have happen from an update 4.1.7-4.1.9, I did reproduce it on a second instance of thehive (LAB) which is base on a copy of the production instance made a month ago.

Toxonomies and TTP can be used from case but not able to make modification from the admin org.

image

Steps to Reproduce

  1. instance of thehive 4.1.7 and migrate straight to 4.1.9
  2. Go into the admin org and check the page not properly happering in the Taxonomies and TTP tabs
  3. Check the logs for

[info] o.t.s.m.Database [00000021|mgmt-79021b69] Reindex job 7a6a5419 is finished,
[info] o.t.s.AccessLogFilter [0000002b|] 10.0.3.98 POST /thehive/api/v1/query?name=attack-patterns.count took 1354ms and returned 200 3 bytes,
[info] o.t.s.AccessLogFilter [00000013|] 10.0.3.98 GET /thehive/api/stream/Sv1GDIZpGskQJZM1BkML took 60058ms and returned 200 2 bytes,
[info] o.t.s.AccessLogFilter [00000028|] 10.0.3.98 POST /thehive/api/v1/query?name=taxonomies took 13ms and returned 200 ,
[warn] o.t.s.u.Retry [|] An error occurs (org.janusgraph.core.JanusGraphException: Could not call index), retrying (1),
[info] o.t.s.AccessLogFilter [00000029|] 10.0.3.98 POST /thehive/api/v1/query?name=taxonomies.count took 255ms and returned 200 3 bytes,
[info] o.t.s.AccessLogFilter [00000027|] 10.0.3.98 POST /thehive/api/v1/query?name=all-taxonomy.count took 286ms and returned 200 3 bytes,
[info] o.t.s.AccessLogFilter [0000002a|] 10.0.3.98 POST /thehive/api/v1/query?name=attack-patterns took 22ms and returned 200

Possible Solutions

(keep this section if you have suggestions on how to solve the problem. Otherwise delete it)

@azgaviperr azgaviperr added bug TheHive4 TheHive4 related issues labels Aug 3, 2021
@azgaviperr
Copy link
Author

Got also this issue for TASK from within the Case not showing while showing properly in My Task or My waiting task.

@azgaviperr azgaviperr changed the title [Bug] Taxonomies and TTP are not showing in the org admin tab [Bug] Multiple Index issue : org.janusgraph.core.JanusGraphException: Could not call index), retrying (1), Aug 9, 2021
@azgaviperr
Copy link
Author

Solved the issue by dropping manually the index from Elasticsearch and then redo indexing and not using the drop and reindex

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

No branches or pull requests

1 participant