[Slack] Skill not answering messages to Virtual Assistant/Root Bot connected to Slack
See original GitHub issueVersion
Describe the bug
I have a Virtual Assistant created from VSIX, a Skill created from VSIX (C# both) and they are connected. When I test this locally, it works just perfectly, but when I follow the Slack Adapter Sample and implement the SlackAdapter
and SlackController
in the Virtual Assistant, the Skill messages never show up in Slack. I tried debugging both locally, using Ngrok, and I can see how the Skill is responding to api/skill
endpoint with a 500 Internal Server Error.
To Reproduce
Steps to reproduce the behavior:
- Create Virtual Assistant with VSIX
- Create Skill with VSIX
- Deploy Virtual Assistant with the deploy.ps1 script located in ./Deployment/Scripts/
- Deploy Skill with the deploy.ps1 script located in ./Deployment/Scripts/
- Connect Skill with Virtual Assistant using Botskills
- Implement SlackAdapter and SlackController
- Create Slack App and configure Virtual Assistant with Slack configuration
- Publish changes in the Virtual Assistant
- Test in Slack
Expected behavior
Just like in the Emulator, I would expect to receive the Skill messages.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Enabling interactions with bots
Enable conversations between users and apps in Slack by building bots. A conversation between @celeste and @officebot ...
Read more >Can't send direct message to Slack bot, feature turned off
Go to your App Settings page and go to App Home and set the checkbox for "Allow users to send Slash commands and...
Read more >Using the Answer Bot for Slack integration
Answer Bot only listens on Slack channels and does not interact with direct messages in Slack. To ask a question using Answer Bot...
Read more >Add ChatBot to Slack
Choose the app. Choose an option from the menu and add the app. For the bot to answer, you need to use the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @Batta32, thanks for the quick answer! I tried myself the sample 80.skills-simple-bot-to-bot and found that it also has the same problem when using Slack and communicating with a Skill. As you can see in this screenshot, Ngrok is receiving the
500 Internal Server Error
response:I followed the Sample 80’s instructions, created 2 App Registrations for each Bot, I run Ngrok in port 3978 and configured a Slack app with that URL. When I invoked the Skill in Slack, I had no answer.
Previously I had tested in the Emulator and everything worked just fine.
The only changes I made to the Bots are:
Some screenshots of the changes applied:
appsettings.json
SlackAdapter
SlackController
Startup
If you need anything else just let me know. Thanks for your time! 😊
This issue should be resolved with the merged PR. Going to close the issue. If you pull in the latest bits that have the fix and this issue persists then reopen