cachethq / cachet

🚦 The open-source status page system.
https://cachethq.io
MIT License
13.93k stars 1.55k forks source link

504 timeout when creating an incident and notifying subscribers #4168

Closed Nils-O closed 1 year ago

Nils-O commented 3 years ago

Hello,

I'm experiencing an issue with Cachet 2.4 which I hope one of you might know how to fix.

There's quite a few subscribers (more than 2000) in my application, and when I create an incident that notifies subscriber, it takes a long time to process and then ends in a 504 error. The component status wasn't changed and incident didn't get created. In the logs I found that the max execution time got exceeded so I increased that, as well as nginx time out values.

After sufficiently increasing the max_execution_time all notifications seem to get sent, the incident gets created and the status gets changed, but I still end up with a 504 error while no error gets logged.

This brings me to two issues:

I'd be happy to receive any suggestions.

welcome[bot] commented 3 years ago

:wave: Thank you for opening your first issue. I'm just an automated bot that's here to help you get the information you need quicker, so please ignore this message if it doesn't apply to your issue. If you're looking for support, you should try the Slack group by registering your email address at https://cachethq-slack.herokuapp.com. Alternatively, email support@alt-three.com for our Professional support service (please note, this a paid service.) If you're issue is with documentation, you can suggest edits by clicking the Suggest Edits link on any page, or open an issue at https://github.com/CachetHQ/Docs

jbrooksuk commented 1 year ago

Thank you for your input on Cachet 2.x. We are shifting our attention and resources to Cachet 3.x and will no longer be supporting the 2.x version. If your feedback or issue is relevant to the 3.x series, we encourage you to engage with the new branch.

For more information on the Cachet rebuild and our plans for 3.x, you can read the announcement here.

We appreciate your understanding and look forward to your contributions to the new version.