Skip to content

Cog stops replying to commands or triggers #1153

@agis

Description

@agis

Occassionally, Cog stops replying to commands from Slack (even help too) and triggers.

However the process is still up and Cog is emitting presence chat events in the logs. It doesn't emit any events in audit_log when commands are called though.

The problem goes away by restarting Cog. This typically happens every ~20mins.

We use the following command to trigger the issue sooner:

$ watch -n 5 curl  -s --fail  --data-urlencode 'body=ping' http://cog.xxx.xxx:4001/v1/triggers/29619c59-d990-4205-a7db-de75c73e1fc4

The trigger invoked is the following:

ID              29619c59-d990-4205-a7db-de75c73e1fc4
Name            SimpleEcho
Pipeline        echo $body
Enabled         true
As User         admin
Timeout (sec)   9

We're on Cog 0.16.1 but this happened in 0.16.0 too.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions