# Getting BAD Gateway for Graylog after installing the plugin

**URL:** <https://community.graylog.org/t/getting-bad-gateway-for-graylog-after-installing-the-plugin/31252>\
**Category:** Graylog Central (peer support)\
**Created:** [January 17, 2024, 1:11pm UTC](https://community.graylog.org/t/getting-bad-gateway-for-graylog-after-installing-the-plugin/31252 "2024-01-17T13:11:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![solomon](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@solomon](https://community.graylog.org/u/solomon)\
**Post date:** [January 17, 2024, 1:11pm UTC](https://community.graylog.org/t/getting-bad-gateway-for-graylog-after-installing-the-plugin/31252/1 "2024-01-17T13:11:43Z")

</div>

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.  
**Don’t forget to select tags to help index your topic!**

**1. Describe your incident:**  
When installing new plugin to graylog and restarting service I’m getting “Bad Gateway 502”

When I removing this plugin and restarting graylog service again I see no error and graylog works as usual

logs are below

**2. Describe your environment:**

- OS Information:  
PRETTY\_NAME=“Ubuntu 22.04.3 LTS”

- Package Version: Graylog 4.3.15+17ed3ac on BKSRLOGVP01 (Ubuntu 11.0.21 on Linux 5.15.0-91-generic)

- Service logs, configurations, and environment variables:

This are my plugins, I installed graylog-plugin-telegram-notification-2.4.0.jar only  
root@BKSRLOGVP01:/usr/share/graylog-server/plugin# vi graylog-  
graylog-plugin-aws-4.3.15.jar graylog-plugin-telegram-notification-2.4.0.jar graylog-storage-elasticsearch6-4.3.15.jar  
graylog-plugin-collector-4.3.15.jar graylog-plugin-threatintel-4.3.15.jar graylog-storage-elasticsearch7-4.3.15.jar

**3. What steps have you already taken to try and solve the problem?**

when plugin file deployed in plugin directory and graylog service restarted, im checking graylog service status and getting this:

# :/usr/share/graylog-server/plugin# systemctl status graylog-server ● graylog-server.service - Graylog server Loaded: loaded (/lib/systemd/system/graylog-server.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2024-01-17 12:59:00 UTC; 6s ago Docs: [http://docs.graylog.org/](http://docs.graylog.org/) Process: 70129 ExecStart=/usr/share/graylog-server/bin/graylog-server (code=exited, status=1/FAILURE) Main PID: 70129 (code=exited, status=1/FAILURE)

When I delete this telegram plugin and restart service, it works fine:

Loaded: loaded (/lib/systemd/system/graylog-server.service; enabled; vendor preset: enabled)  
Active: active (running) since Wed 2024-01-17 13:07:45 UTC; 2min 26s ago

so its definitely something I’m missing

**4. How can the community help?**

If someone faced such issue please let me know how to fix it

**Helpful Posting Tips:** [Tips for Posting Questions that Get Answers](https://community.graylog.org/t/tips-for-posting-questions-that-get-answers/21828) [Hold down CTRL and link on link to open tips documents in a separate tab]

---

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [January 19, 2024, 5:04am UTC](https://community.graylog.org/t/getting-bad-gateway-for-graylog-after-installing-the-plugin/31252/2 "2024-01-19T05:04:48Z")

</div>

Hey @solomon

Where did you get that plugin? And did you check if its compatible with your Graylog Version?

---

<div class="post-metadata">

**Author:** ![solomon](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@solomon](https://community.graylog.org/u/solomon)\
**Post date:** [January 19, 2024, 10:48am UTC](https://community.graylog.org/t/getting-bad-gateway-for-graylog-after-installing-the-plugin/31252/3 "2024-01-19T10:48:21Z")

</div>

Hi,

I took it from [Telegram Notification](https://community.graylog.org/t/telegram-notification/22693)

It requires graylog version from 3.1 or later

Im currently using Graylog 4.3.15

it should be compatible, it looks like I’m missing something in the procedure, plugin documentation says that we just need to install plugin file into plugin directory and then we need to restart graylog service, but it doesnt work

---

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [January 20, 2024, 4:54am UTC](https://community.graylog.org/t/getting-bad-gateway-for-graylog-after-installing-the-plugin/31252/4 "2024-01-20T04:54:12Z")

</div>

Hey @solomon

Might want to check out this.

“Requires Graylog 5 or later. It’s recommended to use the latest Graylog release.”

> **[GitHub - irgendwr/TelegramAlert: 🔔 Telegram Notification Plugin for Graylog](https://github.com/irgendwr/TelegramAlert)**
>
> 🔔 Telegram Notification Plugin for Graylog. Contribute to irgendwr/TelegramAlert development by creating an account on GitHub.

I dont think it was udate fromGitHub.

---

<div class="post-metadata">

**Author:** ![solomon](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@solomon](https://community.graylog.org/u/solomon)\
**Post date:** [January 23, 2024, 5:28am UTC](https://community.graylog.org/t/getting-bad-gateway-for-graylog-after-installing-the-plugin/31252/5 "2024-01-23T05:28:13Z")

</div>

Will check it out, thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [February 6, 2024, 5:28am UTC](https://community.graylog.org/t/getting-bad-gateway-for-graylog-after-installing-the-plugin/31252/6 "2024-02-06T05:28:48Z")

</div>

Closed on February 6, 2024, 5:28am UTC

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