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

no response to user message after clicking 'Clear selection' for slack static option #1939

Open
yypptest opened this issue Jul 6, 2022 · 4 comments

Comments

@yypptest
Copy link

yypptest commented Jul 6, 2022

Description

We are using opsdroid with slack connector, the backend API for slack app is Event API. We developed the several skills and they worked well to respond to the message from slack.

But after running for several days, there was no response to any user message to any skills. We deployed the opsdroid with helm chart, and the skill functions were recovered after restarting the pod.

Steps to Reproduce

Expected Functionality

The user message should always have response from the opsdroid slack connector.

Experienced Functionality

Explain what happened instead(Please include the debug log).
after running for several days, there was no response to any user message to any skills. With the INFO level log, no obvious errors related to problem are found. No debug log available so far.

Versions

  • Opsdroid version: 0.26.0
  • Python version: 3.8
  • OS/Docker version:

Configuration File

Please include your version of the configuration file below.

# Your code goes here.

Additional Details

Any other details you wish to include such as screenshots, console messages, etc.

@FabioRosado
Copy link
Member

Thank you for raising this issue, anything in the logs?

@yypptest
Copy link
Author

yypptest commented Jul 7, 2022

I didn't find obvious errors in the log with INFO level, the only finding is there will be 2 POST messages when it's normal, one should be the user message and one should be the response to the user message, but only 1 POST message is recorded when there's no response.

Log before issues:

2022-07-06 16:17:38,329 INFO aiohttp.access 172.21.24.1 [06/Jul/2022:16:17:38 +0000] "GET / HTTP/1.1" 200 212 "-" "kube-probe/1.23"
2022-07-06 16:17:38,329 INFO aiohttp.access 172.21.24.1 [06/Jul/2022:16:17:38 +0000] "GET / HTTP/1.1" 200 212 "-" "kube-probe/1.23"
2022-07-06 16:17:40,393 INFO aiohttp.access 172.21.12.18 [06/Jul/2022:16:17:40 +0000] "POST /connector/slack HTTP/1.1" 200 161 "-" "Slackbot 1.0 (+https://api.slack.com/robots)"
2022-07-06 16:17:40,853 INFO aiohttp.access 172.21.12.18 [06/Jul/2022:16:17:40 +0000] "POST /connector/slack HTTP/1.1" 200 161 "-" "Slackbot 1.0 (+https://api.slack.com/robots)"

Log after issue:

2022-07-06 16:32:38,328 INFO aiohttp.access 172.21.24.1 [06/Jul/2022:16:32:38 +0000] "GET / HTTP/1.1" 200 212 "-" "kube-probe/1.23"
2022-07-06 16:32:38,329 INFO aiohttp.access 172.21.24.1 [06/Jul/2022:16:32:38 +0000] "GET / HTTP/1.1" 200 212 "-" "kube-probe/1.23"
2022-07-06 16:32:42,455 INFO aiohttp.access 172.21.12.18 [06/Jul/2022:16:32:42 +0000] "POST /connector/slack HTTP/1.1" 200 161 "-" "Slackbot 1.0 (+https://api.slack.com/robots)"
2022-07-06 16:32:48,329 INFO aiohttp.access 172.21.24.1 [06/Jul/2022:16:32:48 +0000] "GET / HTTP/1.1" 200 212 "-" "kube-probe/1.23"
2022-07-06 16:32:48,329 INFO aiohttp.access 172.21.24.1 [06/Jul/2022:16:32:48 +0000] "GET / HTTP/1.1" 200 212 "-" "kube-probe/1.23"
2022-07-06 16:32:58,329 INFO aiohttp.access 172.21.24.1 [06/Jul/2022:16:32:58 +0000] "GET / HTTP/1.1" 200 212 "-" "kube-probe/1.23"

@yypptest
Copy link
Author

yypptest commented Jul 8, 2022

@FabioRosado I found a similar issue ever was opened for python-slack-sdk with socket mode, hope it will be helpful for further investigation.

slackapi/python-slack-sdk#1110

@yypptest
Copy link
Author

yypptest commented Sep 5, 2022

I found this issue happened when user clicking the Clear selection option in the static options
image

@yypptest yypptest changed the title no response to user message after opsdroid running for several days no response to user message after clicking 'Clear selection' for slack static option Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants