Graylog Suddenly stopped working

I was working, then I needed to see a log in my graylog, when I log in, this error appeared:

Oh no, something went wrong!

(You caused a org.graylog2.restclient.lib.APIException. API call failed GET http://@127.0.0.1:12900/search/universal/relative?limit=100&sort=timestamp:desc&range=300&query=&range_type=relative&offset=0&filter= returned 500 Internal Server Error body: {“type”:“ApiError”,“message”:“waited for [30s]”})

Reason: There was a problem with your search. We expected HTTP 200, but got a HTTP 500.

StackTrace

  • org.graylog2.restclient.lib.ApiClientImpl$ApiRequestBuilder#handleResponse ( ApiClientImpl.java:508 )
  • org.graylog2.restclient.lib.ApiClientImpl$ApiRequestBuilder#execute ( ApiClientImpl.java:438 )
  • org.graylog2.restclient.models.UniversalSearch#doSearch ( UniversalSearch.java:111 )
  • org.graylog2.restclient.models.UniversalSearch#search ( UniversalSearch.java:147 )
  • controllers.SearchController#renderSearch ( SearchController.java:193 )
  • controllers.SearchController#index ( SearchController.java:126 )
  • Routes$$anonfun$routes$1$$anonfun$applyOrElse$7$$anonfun$apply$459#apply ( routes_routing.scala:1659 )
  • Routes$$anonfun$routes$1$$anonfun$applyOrElse$7$$anonfun$apply$459#apply ( routes_routing.scala:1659 )
  • play.core.Router$HandlerInvokerFactory$$anon$4#resultCall ( Router.scala:264 )
  • play.core.Router$HandlerInvokerFactory$JavaActionInvokerFactory$$anon$15$$anon$1#invocation ( Router.scala:255 )
  • play.core.j.JavaAction$$anon$1#call ( JavaAction.scala:55 )
  • play.GlobalSettings$1#call ( GlobalSettings.java:67 )
  • play.mvc.Security$AuthenticatedAction#call ( Security.java:44 )
  • play.core.j.JavaAction$$anonfun$11#apply ( JavaAction.scala:82 )
  • play.core.j.JavaAction$$anonfun$11#apply ( JavaAction.scala:82 )
  • scala.concurrent.impl.Future$PromiseCompletingRunnable#liftedTree1$1 ( Future.scala:24 )
  • scala.concurrent.impl.Future$PromiseCompletingRunnable#run ( Future.scala:24 )
  • play.core.j.HttpExecutionContext$$anon$2#run ( HttpExecutionContext.scala:40 )
  • play.api.libs.iteratee.Execution$trampoline$#execute ( Execution.scala:46 )
  • play.core.j.HttpExecutionContext#execute ( HttpExecutionContext.scala:32 )
  • scala.concurrent.impl.Future$#apply ( Future.scala:31 )
  • scala.concurrent.Future$#apply ( Future.scala:485 )
  • play.core.j.JavaAction$class#apply ( JavaAction.scala:82 )
  • play.core.Router$HandlerInvokerFactory$JavaActionInvokerFactory$$anon$15$$anon$1#apply ( Router.scala:252 )
  • play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5#apply ( Action.scala:130 )
  • play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5#apply ( Action.scala:130 )
  • play.utils.Threads$#withContextClassLoader ( Threads.scala:21 )
  • play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4#apply ( Action.scala:129 )
  • play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4#apply ( Action.scala:128 )
  • scala.Option#map ( Option.scala:145 )
  • play.api.mvc.Action$$anonfun$apply$1#apply ( Action.scala:128 )
  • play.api.mvc.Action$$anonfun$apply$1#apply ( Action.scala:121 )
  • play.api.libs.iteratee.Iteratee$$anonfun$mapM$1#apply ( Iteratee.scala:483 )
  • play.api.libs.iteratee.Iteratee$$anonfun$mapM$1#apply ( Iteratee.scala:483 )
  • play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1#apply ( Iteratee.scala:519 )
  • play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1#apply ( Iteratee.scala:519 )
  • play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$14#apply ( Iteratee.scala:496 )
  • play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$14#apply ( Iteratee.scala:496 )
  • scala.concurrent.impl.Future$PromiseCompletingRunnable#liftedTree1$1 ( Future.scala:24 )
  • scala.concurrent.impl.Future$PromiseCompletingRunnable#run ( Future.scala:24 )
  • akka.dispatch.TaskInvocation#run ( AbstractDispatcher.scala:41 )
  • akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask#exec ( AbstractDispatcher.scala:393 )
  • scala.concurrent.forkjoin.ForkJoinTask#doExec ( ForkJoinTask.java:260 )
  • scala.concurrent.forkjoin.ForkJoinPool$WorkQueue#runTask ( ForkJoinPool.java:1339 )
  • scala.concurrent.forkjoin.ForkJoinPool#runWorker ( ForkJoinPool.java:1979 )
  • scala.concurrent.forkjoin.ForkJoinWorkerThread#run ( ForkJoinWorkerThread.java:107 )

Request Information:

Method

GET

Query

Upgrade-Insecure-Requests

1

Connection

keep-alive

Accept

text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9

Accept-Language

pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7

Accept-Encoding

gzip, deflate

User-Agent

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36

What should I do?

he @andrelzgava

what Graylog version and elasticsearch version did oyu use?

We restarted sever, and it become work again, thank u

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.