You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following my issue with TheHive setup, I also have a strange and annoying behavior with Cortex: I have the SteamSrv error rectangles filling the screen. It only stop flowing when I perform an action (Update the database, send the account creation form). Note: I only noticed this behavior on the setup pages.
Steps to Reproduce
Install Docker
Setup a fresh thehiveproject/cortex:3.0.0-RC4 install
[info] p.c.s.AkkaHttpServer - Enabling HTTP/2 on Akka HTTP server...
[info] p.c.s.AkkaHttpServer - Listening for HTTP on /0.0.0.0:9001
[error] o.e.d.DBConfiguration - ElasticSearch request failure: POST:/cortex_4/_search?
StringEntity({"query":{"match":{"relations":{"query":"user"}}},"size":0},Some(application/json))
=> ElasticError(index_not_found_exception,no such index,Some(_na_),Some(cortex_4),None,List(ElasticError(index_not_found_exception,no such index,Some(_na_),Some(cortex_4),None,null,None)),None)
[error] o.e.d.DBConfiguration - ElasticSearch request failure: POST:/cortex_4/_search?
StringEntity({"version":"true","query":{"ids":{"values":["init"]}},"size":1},Some(application/json))
=> ElasticError(index_not_found_exception,no such index,Some(_na_),Some(cortex_4),None,List(ElasticError(index_not_found_exception,no such index,Some(_na_),Some(cortex_4),None,null,None)),None)
[info] o.t.c.s.ErrorHandler - GET /api/user/current returned 520
org.elastic4play.IndexNotFoundException$: null
at org.elastic4play.IndexNotFoundException$.<clinit>(Errors.scala)
at org.elastic4play.database.DBConfiguration.$anonfun$execute$2(DBConfiguration.scala:145)
at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:91)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85)
at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:91)
[error] o.e.d.DBConfiguration - ElasticSearch request failure: POST:/cortex_4/_search?
StringEntity({"query":{"match":{"relations":{"query":"user"}}},"size":0},Some(application/json))
=> ElasticError(index_not_found_exception,no such index,Some(_na_),Some(cortex_4),None,List(ElasticError(index_not_found_exception,no such index,Some(_na_),Some(cortex_4),None,null,None)),None)
[info] o.t.c.s.ErrorHandler - GET /api/stream/6yfESvddC1 returned 401
org.elastic4play.AuthenticationError: Authentication header not found
at org.elastic4play.controllers.Authenticated.$anonfun$getFromApiKey$1(Authenticated.scala:143)
at scala.Option.fold(Option.scala:175)
at org.elastic4play.controllers.Authenticated.getFromApiKey(Authenticated.scala:143)
at org.thp.cortex.controllers.StreamCtrl.$anonfun$get$1(StreamCtrl.scala:97)
at play.api.mvc.ActionBuilderImpl.invokeBlock(Action.scala:488)
at play.api.mvc.ActionBuilderImpl.invokeBlock(Action.scala:486)
at play.api.mvc.ActionBuilder$$anon$10.apply(Action.scala:425)
at play.api.mvc.Action.$anonfun$apply$2(Action.scala:97)
at play.api.libs.streams.StrictAccumulator.$anonfun$mapFuture$4(Accumulator.scala:183)
at scala.util.Try$.apply(Try.scala:213)
[error] o.e.d.DBConfiguration - ElasticSearch request failure: POST:/cortex_4/_search?
StringEntity({"query":{"match":{"relations":{"query":"user"}}},"size":0},Some(application/json))
=> ElasticError(index_not_found_exception,no such index,Some(_na_),Some(cortex_4),None,List(ElasticError(index_not_found_exception,no such index,Some(_na_),Some(cortex_4),None,null,None)),None)
[info] o.t.c.s.ErrorHandler - GET /api/stream/gcTyJxy0ES returned 401
Thank you!
The text was updated successfully, but these errors were encountered:
Note : I have similar error messages ([info] o.e.ErrorHandler - GET /api/stream/$STREAM_ID$ returned 401) in the TheHive RC2, but not with the same consequences. Could this be related?
See Cannot setup TheHive 3.4.0-RC2 using Docker
Hello,
Yes, I was able to go through the setup process (updating the database and filling/submitting account creation form) despite the error spam.
Then, when reaching the login page, the bug is gone.
Request Type
Bug
Work Environment
Problem Description
Following my issue with TheHive setup, I also have a strange and annoying behavior with Cortex: I have the SteamSrv error rectangles filling the screen. It only stop flowing when I perform an action (Update the database, send the account creation form). Note: I only noticed this behavior on the setup pages.
Steps to Reproduce
Complementary information
The Cortex configuration:
A screenshot so you get an idea of the bug:
An extract from the Cortex logs :
Thank you!
The text was updated successfully, but these errors were encountered: