-
Notifications
You must be signed in to change notification settings - Fork 640
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
Observables not being displayed #655
Comments
When does the |
Thanks for the quick reply, |
does this occur in any browser? Do you have some thing stored in your locasstorage under the key |
The previous informations are from Chrome. I couldn't find that key in local storage. |
Hello, sorry for the delay. Could you find the 500 error's log in |
Hi no problem 2018-08-29 18:44:22,937 [INFO] from org.elastic4play.ErrorHandler in application-akka.actor.default-dispatcher-47 - GET /api/case/AWTIWoAAWHpZf-A92woe/links returned 500 |
Well, this is coming from a data inconsistency. There is an observable without data. Please join me on Gitter by DM |
Hello, I can now reproduce by creating an alert with an artifact like this : {"dataType" : "UnknownTypeOnTheHive", "data" : "foo"} Thanks a lot for your help ! |
Request Type
Bug
Work Environment
Problem Description
On some cases, the number of Observables is displayed but they do not show when clicking on the tab.
/api/case/CASE_ID/links returns 500
Complementary information
TheHive was in version 3.0.5 when this problem first occured, updating to 3.0.10 didn't fix it.
This problem only occurs on a few cases.
maxSimilarCases has been set to 2000 in application.conf, could the request fail if there are too many similar observables ?
Doing a POST request with curl to
https://redacted/api/case/artifact/_search
successfully returns the case artifacts.From browser console :
Version 3.0.5
GET hxxps://redacted/api/case/AWTIWoAAWHpZf-A92woe/links 500 (Internal Server Error)
Version 3.0.10
GET hxxps://redacted/api/case/AWTIWoAAWHpZf-A92woe/links 500 (Internal Server Error)
TypeError: Cannot read property 'type' of null
at scripts.96c75c38.js:6
at vendor.8cb403e6.js:6
at g (vendor.8cb403e6.js:6)
at vendor.8cb403e6.js:6
at o.$eval (vendor.8cb403e6.js:6)
at o.$digest (vendor.8cb403e6.js:6)
at o.$apply (vendor.8cb403e6.js:6)
at i (vendor.8cb403e6.js:6)
at u (vendor.8cb403e6.js:6)
at XMLHttpRequest.y (vendor.8cb403e6.js:6)
syslog :
Jul 25 17:40:44 redacted thehive[22758]: [#33[37minfo#033[0m] o.e.ErrorHandler - GET /api/case/AWTIWoAAWHpZf-A92woe/links returned 500
Jul 25 17:40:44 redacted thehive[22758]: java.lang.RuntimeException:
Jul 25 17:40:44 redacted thehive[22758]: at scala.sys.package$.error(package.scala:27)
Jul 25 17:40:44 redacted thehive[22758]: at services.ArtifactSrv.similarArtifactFilter(ArtifactSrv.scala:125)
Jul 25 17:40:44 redacted thehive[22758]: at services.ArtifactSrv.findSimilar(ArtifactSrv.scala:113)
Jul 25 17:40:44 redacted thehive[22758]: at services.CaseSrv.$anonfun$linkedCases$1(CaseSrv.scala:153)
Jul 25 17:40:44 redacted thehive[22758]: at akka.stream.impl.fusing.Map$$anon$7.onPush(Ops.scala:47)
Jul 25 17:40:44 redacted thehive[22758]: at akka.stream.impl.fusing.GraphInterpreter.processPush(GraphInterpreter.scala:499)
Jul 25 17:40:44 redacted thehive[22758]: at akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:401)
Jul 25 17:40:44 redacted thehive[22758]: at akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:571)
Jul 25 17:40:44 redacted thehive[22758]: at akka.stream.impl.fusing.GraphInterpreterShell$AsyncInput.execute(ActorGraphInterpreter.scala:457)
Jul 25 17:40:44 redacted thehive[22758]: at akka.stream.impl.fusing.GraphInterpreterShell.processEvent(ActorGraphInterpreter.scala:546)
The text was updated successfully, but these errors were encountered: