TheHive icon indicating copy to clipboard operation
TheHive copied to clipboard

[Bug] Failed to fetch data, please edit the widget definition.

Open AliJaafar0047 opened this issue 3 years ago • 2 comments

Request Type

Bug

Work Environment

Question Answer
OS version (server) Debian
OS version (client) Windows10
Virtualized Env. True
Dedicated RAM 8 GB
vCPU 4
TheHive version / git hash 4.1.13-1
Package Type Docker
Database Cassandra
Index type Elasticsearch
Attachments storage Minio
Browser type & version Chrome/96.0.4664.45

Problem Description

In dashbords, using the template https://github.com/TheHive-Project/TheHive/blob/feature/dash-category-widget/migration/12/dashboards/Case_statistics.json, after waiting a while i get the error failed to fetch data, please edit the widget.

I have 35000 cases , ( 50 open cases , 34950 resolved cases ). When i apply the filter status == Open to all graphs, i get a correct dashbords with no error .

Is it possible that thehive 4.1.13 can't handle this much of data (35000 cases ) or did i miss something in configuration ?

AliJaafar0047 avatar Dec 02 '21 14:12 AliJaafar0047

Hello @AliJaafar0047 would you consider updating the version as there are already 8 hier releases than 4.1.13 and there are many issues that have been solved since then

nadouani avatar Jun 22 '22 09:06 nadouani

This also happens on the most recent TheHive 4.1.23-1 and is due to java consuming 100% of all cores

This appears to happen when setting the Heap size manually to ( total ram / 2 )G

commandline-be avatar Aug 29 '22 17:08 commandline-be