Skip to content
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

[Bug]/Unable to get MISP organisation #1758

Closed
ghazi0 opened this issue Jan 22, 2021 · 1 comment
Closed

[Bug]/Unable to get MISP organisation #1758

ghazi0 opened this issue Jan 22, 2021 · 1 comment
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@ghazi0
Copy link

ghazi0 commented Jan 22, 2021

Unable to get MISP organisation
MISP server MISP is inaccessible

Work Environment

Question Answer
OS version (server) Ubuntu,
OS version (client) 10,
TheHive version / git hash 4.0.4-1
Package Type Binary,
Browser type & version chrome

Problem Description

Good morning all
I have a synchronization problem with a misp instance although the integration is enable and green.
Below is an extract of the error.
I NEED YOUR SUPPORT AND THANKS

image

Complementary information

2021-01-22 13:02:17,926 [ERROR] from org.thp.thehive.connector.misp.services.MispImportSrv in application-akka.actor.default-dispatcher-16 [|] Unable to get MISP organisation
org.thp.scalligraph.InternalError: MISP server misp is inaccessible
at org.thp.misp.client.MispClient.currentOrganisationName(MispClient.scala:46)
at org.thp.thehive.connector.misp.services.MispImportSrv.syncMispEvents(MispImportSrv.scala:382)
at org.thp.thehive.connector.misp.services.MispActor$$anonfun$receive$2.$anonfun$applyOrElse$5(MispActor.scala:37)
at org.thp.thehive.connector.misp.services.MispActor$$anonfun$receive$2.$anonfun$applyOrElse$5$adapted(MispActor.scala:36)
at scala.collection.Iterator.foreach(Iterator.scala:943)
at scala.collection.Iterator.foreach$(Iterator.scala:943)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
at scala.collection.IterableLike.foreach(IterableLike.scala:74)
at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
at org.thp.thehive.connector.misp.services.MispActor$$anonfun$receive$2.applyOrElse(MispActor.scala:36)
at akka.actor.Actor.aroundReceive(Actor.scala:537)
at akka.actor.Actor.aroundReceive$(Actor.scala:535)
at org.thp.thehive.connector.misp.services.MispActor.aroundReceive(MispActor.scala:13)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:577)
at akka.actor.ActorCell.invoke(ActorCell.scala:547)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270)
at akka.dispatch.Mailbox.run(Mailbox.scala:231)
at akka.dispatch.Mailbox.exec(Mailbox.scala:243)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
Caused by: play.api.libs.json.JsResultException: JsResultException(errors:List((/description,List(JsonValidationError(List(error.expected.jsstring),WrappedArray())))))
at play.api.libs.json.JsReadable.$anonfun$as$2(JsReadable.scala:25)
at play.api.libs.json.JsError.fold(JsResult.scala:66)
at play.api.libs.json.JsReadable.as(JsReadable.scala:24)
at play.api.libs.json.JsReadable.as$(JsReadable.scala:23)
at play.api.libs.json.JsDefined.as(JsLookup.scala:188)
at org.thp.misp.client.MispClient.$anonfun$getOrganisation$2(MispClient.scala:144)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
... 4 common frames omitted

@ghazi0 ghazi0 added TheHive4 TheHive4 related issues bug labels Jan 22, 2021
@To-om
Copy link
Contributor

To-om commented Feb 3, 2021

It seems that the field "description" is not mandatory in MISP organisation. I fix that in TheHive

@To-om To-om self-assigned this Feb 3, 2021
@To-om To-om added this to the 4.0.5 milestone Feb 3, 2021
@To-om To-om closed this as completed Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

2 participants