uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

Rocket Chat 5.4.0 does not show content of the alert anymore

Open TimmiORG opened this issue 2 years ago • 1 comments

⚠️ Please verify that this bug has NOT been raised before.

  • [X] I checked and didn't find similar issue

🛡️ Security Policy

Description

Rocket Chat 5.4.0 does not show the content of the alert any more. But I can see the full message in the log.

Dec 14 20:32:14 rocket RocketChat[997]:  text: 'Uptime Kuma Alert',
Dec 14 20:32:14 rocket RocketChat[997]:  username: 'HealthCheck',
Dec 14 20:32:14 rocket RocketChat[997]:  icon_emoji: '',
Dec 14 20:32:14 rocket RocketChat[997]:  attachments: [
Dec 14 20:32:14 rocket RocketChat[997]:    {
Dec 14 20:32:14 rocket RocketChat[997]:      title: 'Uptime Kuma Alert *Time (UTC)*\n2022-12-14 19:32:14.388',
Dec 14 20:32:14 rocket RocketChat[997]:      text: '*Message*\n' +
Dec 14 20:32:14 rocket RocketChat[997]:        '[test] [🔴 Down] connect ECONNREFUSED 192.168.xxx.xxx:443',
Dec 14 20:32:14 rocket RocketChat[997]:      color: '#ff0000',
Dec 14 20:32:14 rocket RocketChat[997]:      title_link: 'https://health.example.com/dashboard/5'
Dec 14 20:32:14 rocket RocketChat[997]:    }
Dec 14 20:32:14 rocket RocketChat[997]:  ]
Dec 14 20:32:14 rocket RocketChat[997]: }

grafik

👟 Reproduction steps

Use Rocket Chat 5.4.0 server and send uptime kuma alert through the webhook

👀 Expected behavior

Full details of the message should be visible

😓 Actual Behavior

See description and logs.

🐻 Uptime-Kuma Version

1.18.5

💻 Operating System and Arch

Fedora

🌐 Browser

Firefox 107

🐋 Docker Version

Docker

🟩 NodeJS Version

No response

📝 Relevant log output

No response

TimmiORG avatar Dec 15 '22 06:12 TimmiORG

Cc: @antiseptikk Related pr: #264

louislam avatar Dec 15 '22 09:12 louislam

Hi, this was caused by my to have a special script inside the webhook. Sorry my fault.

TimmiORG avatar Dec 16 '22 07:12 TimmiORG