ApiError Duplicate key


(Dietmar Schurr) #1

Hallo,

when I go to Alerts -> Notifications I get the following error:
Could not retrieve available alert notifications

Fetching available alert notification types failed with status: cannot GET http://10.150.150.5:9000/api/alerts/callbacks/types (500)

Then I go to the REST API browser to the function “/alerts/callback/types” and get back this Response:
{
“type”: “ApiError”,
“message”: “Duplicate key siser01”
}

What can I do to solve this?
Graylog is latest (2.4.4), everything else works fine.

Thanks in advance,

Dietmar


(Jochen) #2

This looks like a bug in Graylog.

Please create a bug report at https://github.com/Graylog2/graylog2-server/issues and include the following information:

  • A complete list of installed plugins and their versions (see System / Nodes / Details and they’re also logged on startup)
  • The complete logs of your Graylog node(s) – at least from around the time the error occurred
  • The contents of the “alarmcallbackconfigurations” collection in MongoDB (see https://docs.mongodb.com/manual/reference/program/mongoexport/)

(Dietmar Schurr) #3

Hallo
this is the bug number:

Regards,

Dietmar


(Dietmar Schurr) #4

Hello,

the problem is solved.
I deleted the duplicate user siser01 (in Graylog) and the user was gone in MongoDB.
Now the problem with Alerts -> Notifications is gone. :grinning:

Thanks.

Regards,

Dietmar


(system) #5

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