Description
Request Type
Bug
Work Environment
Question | Answer |
---|---|
OS version (server) | Debian |
OS version (client) | 10 |
TheHive version / git hash | 4.1.2 |
Package Type | DEB |
Problem Description
Sorry for popping up this toppic once again :-(
Starting the TheHive page or directly jumping to a case using a link (still) takes several time.
By analyzing this, the root-cause seems to be related to URL:
On my browser it takes about 16 seconds (sec not ms!) to download the file, but the file-size is only 993 Bytes according to browser developer-console.
Meanwhile TheHive application.log shows:
2021-03-30 06:03:17,902 [INFO] from org.thp.scalligraph.AccessLogFilter in application-akka.actor.default-dispatcher-13 [00000520|355b8639] 10.32.30.10 POST /api/v1/query?name=list-tags took 29ms and returned 200
Screenshot of developer console can be seen at the old case: #1869
I can also see that the load on cassandra is very high, I have a system with 8 cores, much more powerfull than the system on TH 3.4 that handled the same cases.
Possible Solutions
Caching? Indexing of Tags? I don't know :-(