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

After SlackClient#send(), I can not receive message sometimes #642

Closed
4 of 9 tasks
yihchu opened this issue Jul 15, 2022 · 5 comments
Closed
4 of 9 tasks

After SlackClient#send(), I can not receive message sometimes #642

yihchu opened this issue Jul 15, 2022 · 5 comments
Labels
auto-triage-stale question M-T: User needs support to use the project

Comments

@yihchu
Copy link

yihchu commented Jul 15, 2022

Description

Describe your issue here.

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

I check the hubot logs, and sometimes it print 'DEBUG SlackClient#send() room: C03PGCYPT99, message: Hello World.', but i can not receive any message in slack.

Reproducible in:

hubot-slack version: ^4.10.0

node version: v14.15.3

OS version(s): cenos7.9

Steps to reproduce:

  1. new a hubot
  2. add it into a slack channel
  3. modify 'example.coffee'
  4. start hubot
  5. send message in slack

Expected result:

receive reply

Actual result:

Can not receive reply sometimes.

Attachments:

logs:

[Fri Jul 15 2022 10:36:03 GMT+0800 (中国标准时间)] DEBUG Message 'hello' matched regex //hello/i/; listener.options = { id: null }
[Fri Jul 15 2022 10:36:03 GMT+0800 (中国标准时间)] DEBUG Executing listener callback for Message 'hello'
[Fri Jul 15 2022 10:36:03 GMT+0800 (中国标准时间)] DEBUG SlackClient#send() room: C03PGCYPT99, message: Hello World.
[Fri Jul 15 2022 10:36:09 GMT+0800 (中国标准时间)] DEBUG Received file_shared message from: undefined, file_id: F03PLQLEJKV
[Fri Jul 15 2022 10:36:09 GMT+0800 (中国标准时间)] DEBUG No listeners executed; falling back to catch-all
[Fri Jul 15 2022 10:36:10 GMT+0800 (中国标准时间)] DEBUG Received file_shared message from: undefined, file_id: F03PP9DE90U
[Fri Jul 15 2022 10:36:10 GMT+0800 (中国标准时间)] DEBUG No listeners executed; falling back to catch-all
[Fri Jul 15 2022 10:36:21 GMT+0800 (中国标准时间)] DEBUG Received file_shared message from: undefined, file_id: F03PP9F9RS8
[Fri Jul 15 2022 10:36:21 GMT+0800 (中国标准时间)] DEBUG No listeners executed; falling back to catch-all
[Fri Jul 15 2022 10:36:21 GMT+0800 (中国标准时间)] DEBUG Received text message in channel: C03PGCYPT99, from: W9Z9MFWHG (human)
[Fri Jul 15 2022 10:36:21 GMT+0800 (中国标准时间)] DEBUG Message 'hello' matched regex //hello/i/; listener.options = { id: null }
[Fri Jul 15 2022 10:36:21 GMT+0800 (中国标准时间)] DEBUG Executing listener callback for Message 'hello'
[Fri Jul 15 2022 10:36:21 GMT+0800 (中国标准时间)] DEBUG SlackClient#send() room: C03PGCYPT99, message: Hello World.

screenshot:
截屏2022-07-15 10 40 33

@seratch seratch added the question M-T: User needs support to use the project label Jul 15, 2022
@seratch
Copy link
Member

seratch commented Jul 15, 2022

HI @yihchu, thanks for writing in. With given information, I am not sure what's happening to your Hubot app yet. Also, just in case, I tried to reproduce your situation on my end but I haven't managed to see the same. If anyone else has experienced something similar, sharing your thoughts would be appreciated.

@yihchu
Copy link
Author

yihchu commented Jul 15, 2022

HI @yihchu, thanks for writing in. With given information, I am not sure what's happening to your Hubot app yet. Also, just in case, I tried to reproduce your situation on my end but I haven't managed to see the same. If anyone else has experienced something similar, sharing your thoughts would be appreciated.

Thanks for reply.

Now the situation is, After i start the hobot, it works well, but after some time(maybe 1-2 minutes, i can not give the exact time), the issue will happen.
And more time goes by(maybe another 2 minutes), #641 will happen, logs and screenshot is below. I can not figure out what happened.

[Fri Jul 15 2022 13:15:58 GMT+0800 (中国标准时间)] DEBUG Received text message in channel: C03PGCYPT99, from: W9Z9MFWHG (human)
[Fri Jul 15 2022 13:16:04 GMT+0800 (中国标准时间)] DEBUG Received text message in channel: C03PGCYPT99, from: W9Z9MFWHG (human)
[Fri Jul 15 2022 13:16:08 GMT+0800 (中国标准时间)] DEBUG Received text message in channel: C03PGCYPT99, from: W9Z9MFWHG (human)

截屏2022-07-15 13 17 46

@yihchu
Copy link
Author

yihchu commented Jul 15, 2022

And I have another question, that is if a hobot named judy has a command, like '/judy tell me a joke.' And there is another hobot named karl, if karl said /judy tell me a joke in slack, does judy's command be triggered? Does this command distinguish human or machine ?

@github-actions
Copy link

👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.

@github-actions
Copy link

As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-triage-stale question M-T: User needs support to use the project
Projects
None yet
Development

No branches or pull requests

2 participants