TheHive-Project / TheHive

TheHive: a Scalable, Open Source and Free Security Incident Response Platform
https://thehive-project.org
GNU Affero General Public License v3.0
3.28k stars 609 forks source link

[Question] Vertex xxxx doesn't comply with its schema #2298

Open jpferrero opened 2 years ago

jpferrero commented 2 years ago

Request Type

Question

Work Environment

Question Answer
OS version (server) Centos
OS version (client) 7
Virtualized Env. True
Dedicated RAM 16 x 3 GB
vCPU 8 x 3
TheHive version / git hash 4.16.1
Package Type RPM
Database Cassandra
Index type Elasticsearch
Attachments storage HDFS

Question

TheHive is logging continuously these lines:

2021-12-17 14:04:33,123 [ERROR] from org.thp.scalligraph.traversal.TraversalOps in application-akka.actor.default-dispatcher-4 [|1bffa008] vertex 4104 doesn't comply with its schema, field _createdAt is missing: v[4104] 2021-12-17 14:04:33,123 [ERROR] from org.thp.scalligraph.traversal.TraversalOps in application-akka.actor.default-dispatcher-4 [|1bffa008] vertex 4104 doesn't comply with its schema, field _createdBy is missing: v[4104] 2021-12-17 14:04:33,171 [ERROR] from org.thp.scalligraph.traversal.TraversalOps in application-akka.actor.default-dispatcher-4 [|1bffa008] vertex 4104 doesn't comply with its schema, field name is missing: v[4104] 2021-12-17 14:04:33,171 [ERROR] from org.thp.scalligraph.traversal.TraversalOps in application-akka.actor.default-dispatcher-4 [|1bffa008] vertex 4104 doesn't comply with its schema, field isAttachment is missing: v[4104]

How can I fix this vertex?

Marsidi commented 2 years ago

I am facing the same problem

stacsirt commented 2 years ago

I am also in this boat, we seem to have a large amount of these logs in our log file - looks like its taking up more and more CPU/RAM in our VM too - could this be a bug? We're running TheHive Version: 4.1.16-1

mrblacyk commented 2 years ago

hey guys, I've been facing the same issue. I found rebuilding index to fix it. I did all the steps including truncating titles - even though I freshly installed 4.1.17. I'm using Cassandra as database.

https://blog.strangebee.com/thehive-4-1-16-is-out/

Hope it helps!

stacsirt commented 2 years ago

Hello - just an update, but since TheHive has upgraded to 4.1.17-1 for us, the crashing has stopped. Its only been a couple of days so will keep an eye on it. I can't be sure at this stage what has fixed it, but will keep an eye on it and update if the issue persists in future.