[Bug]: Webhooks not working #866

Open
opened 2026-02-04 21:30:45 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @muzzah on GitHub (Nov 17, 2025).

Where is the problem occurring?

I encountered the problem while using the application (Frontend)

What browsers are you seeing the problem on?

Chrome

Current behavior

Using 2.0 rc4 (Docker installation), Ive setup a webhook in slack and added the webhook url in two formats into the notifications tab (according to apprise documentation).
When I press the test button nothing happens. When I add/remove/move/update cards on my board, nothing happens.

Am I missing something? Ive verified the webhook works via curl. Also no error logs are being output in the docker logs.

Image

Desired behavior

A notification should be sent to slack.

Steps to reproduce

  • Enable webhook app in slack settings.
  • Add the url directly into the UI for the user notification settings
  • Click the test notification button or update the board

Other information

Also, I cant see the settings for setting up webhooks for a whole board. Only for the user?

Originally created by @muzzah on GitHub (Nov 17, 2025). ### Where is the problem occurring? I encountered the problem while using the application (Frontend) ### What browsers are you seeing the problem on? Chrome ### Current behavior Using 2.0 rc4 (Docker installation), Ive setup a webhook in slack and added the webhook url in two formats into the notifications tab (according to apprise documentation). When I press the test button nothing happens. When I add/remove/move/update cards on my board, nothing happens. Am I missing something? Ive verified the webhook works via curl. Also no error logs are being output in the docker logs. <img width="719" height="323" alt="Image" src="https://github.com/user-attachments/assets/641c15ff-53e7-4004-bdd8-ff3fbdb68647" /> ### Desired behavior A notification should be sent to slack. ### Steps to reproduce - Enable webhook app in slack settings. - Add the url directly into the UI for the user notification settings - Click the test notification button or update the board ### Other information Also, I cant see the settings for setting up webhooks for a whole board. Only for the user?
Author
Owner

@muzzah commented on GitHub (Nov 17, 2025):

Only log output I get after mounting the log directory is

➜  /opt tail -f data/planka/logs/planka.log 
2025-11-17 11:30:04 [I] Initializing custom hook (`current-user`)
2025-11-17 11:30:04 [I] Initializing custom hook (`file-manager`)
2025-11-17 11:30:04 [I] Initializing custom hook (`query-methods`)
2025-11-17 11:30:04 [I] Initializing custom hook (`watcher`)
@muzzah commented on GitHub (Nov 17, 2025): Only log output I get after mounting the log directory is ``` ➜ /opt tail -f data/planka/logs/planka.log 2025-11-17 11:30:04 [I] Initializing custom hook (`current-user`) 2025-11-17 11:30:04 [I] Initializing custom hook (`file-manager`) 2025-11-17 11:30:04 [I] Initializing custom hook (`query-methods`) 2025-11-17 11:30:04 [I] Initializing custom hook (`watcher`) ```
Author
Owner

@meltyshev commented on GitHub (Nov 18, 2025):

Hi! Thanks for reporting this. I think there's an error when sending notifications via Apprise, but we don't have logging there yet. I will try to add it.

Also, I cant see the settings for setting up webhooks for a whole board. Only for the user?

It's used to report all actions that occur on the board, for example to send them to a channel.

@meltyshev commented on GitHub (Nov 18, 2025): Hi! Thanks for reporting this. I think there's an error when sending notifications via Apprise, but we don't have logging there yet. I will try to add it. > Also, I cant see the settings for setting up webhooks for a whole board. Only for the user? It's used to report all actions that occur on the board, for example to send them to a channel.
Author
Owner

@muzzah commented on GitHub (Nov 19, 2025):

Ok thanks, so to confirm there is a bug but you guys are working on it? Or need logging to get to the root cause?

@muzzah commented on GitHub (Nov 19, 2025): Ok thanks, so to confirm there is a bug but you guys are working on it? Or need logging to get to the root cause?
Author
Owner

@meltyshev commented on GitHub (Nov 19, 2025):

Hi! Just added logging for sending notifications via Apprise. You can try spinning up a temporary nightly version to see what happens when sending to Slack (by adding a demo user, setting the same URL there, and checking the logs).

@meltyshev commented on GitHub (Nov 19, 2025): Hi! Just added logging for sending notifications via Apprise. You can try spinning up a temporary `nightly` version to see what happens when sending to Slack (by adding a demo user, setting the same URL there, and checking the logs).
Author
Owner

@muzzah commented on GitHub (Dec 9, 2025):

planka  | 2025-12-09 12:14:02 [E] Error sending notifications: A Connection error occurred posting to Slack.
planka  | 2025-12-09 12:14:10 [E] Error sending notifications: A Connection error occurred posting to Slack.

Getting the error output so not very helpful. Also, emails are not working either with the following in my docker compose.

      - SMTP_HOST=smtp.gmail.com
      - SMTP_PORT=465
      - SMTP_SECURE=true
      - SMTP_USER=username@gmail.com
      - SMTP_PASSWORD="app password]"
      - SMTP_FROM="Kanboard Notification" username@gmail.com
      - SMTP_NAME=gmail.com
@muzzah commented on GitHub (Dec 9, 2025): ``` planka | 2025-12-09 12:14:02 [E] Error sending notifications: A Connection error occurred posting to Slack. planka | 2025-12-09 12:14:10 [E] Error sending notifications: A Connection error occurred posting to Slack. ``` Getting the error output so not very helpful. Also, emails are not working either with the following in my docker compose. ``` - SMTP_HOST=smtp.gmail.com - SMTP_PORT=465 - SMTP_SECURE=true - SMTP_USER=username@gmail.com - SMTP_PASSWORD="app password]" - SMTP_FROM="Kanboard Notification" username@gmail.com - SMTP_NAME=gmail.com ```
Author
Owner

@muzzah commented on GitHub (Dec 9, 2025):

If I add the webhook to through the admin page I get the following error

planka  | 2025-12-09 12:29:22 [E] Webhook Slack failed with error: TypeError: fetch failed
@muzzah commented on GitHub (Dec 9, 2025): If I add the webhook to through the admin page I get the following error ``` planka | 2025-12-09 12:29:22 [E] Webhook Slack failed with error: TypeError: fetch failed ```
Author
Owner

@meltyshev commented on GitHub (Dec 9, 2025):

planka  | 2025-12-09 12:14:02 [E] Error sending notifications: A Connection error occurred posting to Slack.
planka  | 2025-12-09 12:14:10 [E] Error sending notifications: A Connection error occurred posting to Slack.

Getting the error output so not very helpful. Also, emails are not working either with the following in my docker compose.

      - SMTP_HOST=smtp.gmail.com
      - SMTP_PORT=465
      - SMTP_SECURE=true
      - SMTP_USER=username@gmail.com
      - SMTP_PASSWORD="app password]"
      - SMTP_FROM="Kanboard Notification" username@gmail.com
      - SMTP_NAME=gmail.com

It looks like the Slack server isn't reachable from your container. You can verify this by connecting to the container and running:

apk add curl && curl -X POST https://slack.com/api/api.test
@meltyshev commented on GitHub (Dec 9, 2025): > ``` > planka | 2025-12-09 12:14:02 [E] Error sending notifications: A Connection error occurred posting to Slack. > planka | 2025-12-09 12:14:10 [E] Error sending notifications: A Connection error occurred posting to Slack. > ``` > > Getting the error output so not very helpful. Also, emails are not working either with the following in my docker compose. > > ``` > - SMTP_HOST=smtp.gmail.com > - SMTP_PORT=465 > - SMTP_SECURE=true > - SMTP_USER=username@gmail.com > - SMTP_PASSWORD="app password]" > - SMTP_FROM="Kanboard Notification" username@gmail.com > - SMTP_NAME=gmail.com > ``` It looks like the Slack server isn't reachable from your container. You can verify this by connecting to the container and running: ``` apk add curl && curl -X POST https://slack.com/api/api.test ```
Author
Owner

@muzzah commented on GitHub (Dec 10, 2025):

Seems you were right. Thanks! I had some dns issues and resolved them and slack notifications are working now. However email still seems to be an issue

@muzzah commented on GitHub (Dec 10, 2025): Seems you were right. Thanks! I had some dns issues and resolved them and slack notifications are working now. However email still seems to be an issue
Author
Owner

@muzzah commented on GitHub (Dec 11, 2025):

Actually @meltyshev Im now seeing the following error on planka

planka  | 2025-12-11 08:20:39 [E] Webhook Slack failed with status 400 and message: no_text

@muzzah commented on GitHub (Dec 11, 2025): Actually @meltyshev Im now seeing the following error on planka ``` planka | 2025-12-11 08:20:39 [E] Webhook Slack failed with status 400 and message: no_text ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#866