Skip to content

Observables not being displayed #655

Closed
@jcoignet

Description

@jcoignet

Request Type

Bug

Work Environment

Question Answer
OS version (server) Debian 8
OS version (client) Win 10
TheHive version / git hash 3.0.5 and 3.0.10
Package Type From source
Browser type & version Chrome & Firefox

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

screenshot

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions