Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack Notification - Error: self-signed certificate #5685

Open
1 task done
dschier-wtd opened this issue Mar 9, 2025 · 0 comments
Open
1 task done

Slack Notification - Error: self-signed certificate #5685

dschier-wtd opened this issue Mar 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@dschier-wtd
Copy link

πŸ“‘ I have found these related issues/pull requests

none found

πŸ›‘οΈ Security Policy

Description

After deploying Uptime Kuma in Kubernetes with a valid TLS certificate via Traefik, I also want to send notifications to slack. I have set up a webhook and tested it with the provided curl command. After entering the webhook url in Uptime Kuma, I also tested it there. Unfortunately, it results in a pop up "Error: self-signed certificate" and logs like the below snippet:

Error: Error: Error: self-signed certificate
    at Slack.throwGeneralAxiosError (/app/server/notification-providers/notification-provider.js:38:15)
    at Slack.send (/app/server/notification-providers/slack.js:107:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Socket.<anonymous> (/app/server/server.js:1304:27)

πŸ‘Ÿ Reproduction steps

  1. Install Uptime Kuma 1.23.16
  2. Create a slack app with an incoming webhook
  3. Add it to Uptime Kuma
  4. Save and Hit the Test Button

πŸ‘€ Expected behavior

Test notification is sent

πŸ˜“ Actual Behavior

Getting Error: self-signed certificate

🐻 Uptime-Kuma Version

1.23.16

πŸ’» Operating System and Arch

AlmaLinux 9.4

🌐 Browser

Safari

πŸ–₯️ Deployment Environment

  • Runtime: Kubernetes 1.32.2
  • Database: the default in the official docker container
  • Filesystem used to store the database on: XFS
  • number of monitors: 2

πŸ“ Relevant log output

Error: Error: Error: self-signed certificate
    at Slack.throwGeneralAxiosError (/app/server/notification-providers/notification-provider.js:38:15)
    at Slack.send (/app/server/notification-providers/slack.js:107:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Socket.<anonymous> (/app/server/server.js:1304:27)
@dschier-wtd dschier-wtd added the bug Something isn't working label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant