Comments (16)
Thanks for the positive response! 😄 I've started working on it. Please assign this issue to me. I'll get back in a couple of days.
from operationcode-pybot.
Hello, I would like to work on this
from operationcode-pybot.
I would like to take this task.
from operationcode-pybot.
Hey, I would like to try and resolve this issue, by adding the !search command. Request you to assign it to me.
Since I'm just starting out with open source, it'd be great if you could give me a week's time, to solve this issue with a PR. 😄
from operationcode-pybot.
@harjyotbagga We'd love the help. If you have any questions, let us know!
from operationcode-pybot.
@aaron-suarez I needed a bit of help.
I followed all the steps in the readme.
- Made a slack app and integrated it into my workspace.
- Updated the pybot.env variables, using the Secret code and the O-Auth token from the Slack app.
- Installed all dependencies and was able to successfully run the bot on the localhost.
- Made my localhost open to the public using ngrok.
- To test a few commands, I added the command in slash-commands on the slack API, setting the URL as https://54bac023ae26.ngrok.io.
After which I tried running the command on slack, giving me a "dispatch error" and "401 Unauthorized" on my terminal. Pl note, I have verified the auth tokens and there is no issue there. I would appreciate some guidance from your end.
[https://github.com/slackapi/bolt-js/issues/579 ] A similar issue has been reported here.
from operationcode-pybot.
Oh weird, so the bot itself is producing a 401? What happens when you hit it manually (with like Postman or curl, rather than going through slack)?
from operationcode-pybot.
I have tried sending the request via Postman. I made an OAuth2.0 authentication token by reading the Slack App docs and sent a POST request to https://df94f7be0da7.ngrok.io/slack/commands?command=roll after I updated the slash command request URL in the slack app dashboard.
I got a 500 Server Internal Error that looks something like,
I am not able to understand how do I fix this internal error. I am getting no error on the python terminal when I send the command via slack, but the response states /roll failed with the error "dispatch_failed" and the the ngrok terminal still says 401 Unauthorized.
Any guidance would be more than helpful.
from operationcode-pybot.
If you join our slack team at https://operationcode.org/join I'd be happy to set up a slack call and pair with you on troubleshooting it. I don't know from just looking at it what the problem could be.
from operationcode-pybot.
I just got the /roll failed with the error "dispatch_failed"
error on my slack workspace as well... I'm wondering if this warrants an issue. @AllenAnthes when you get a chance can you check and see if you also get this error?
from operationcode-pybot.
Note, it does not happen on prod right now (which is good). I wonder if it's something that we introduced recently...
from operationcode-pybot.
I think it might be related to #227. @LivingInSyn did you ever see this "dispatch_failed"
situation when you were working on the issue?
from operationcode-pybot.
from operationcode-pybot.
I noticed that we merged that to master directly and our branches are based on staging, so it's true, it's not due to #227... Perhaps another recent change. I'll dig deeper when I have a chance, I'm not sure I'll be able to right now
from operationcode-pybot.
I was able to resolve it by making sure that the right ngrok
url was in, and that my bot was running correctly. So I'm thinking it might be an issue like that @harjyotbagga
from operationcode-pybot.
We'll be implementing this based on previous work into the new rewritten bot. This one is fairly low priority though so may take a bit.
from operationcode-pybot.
Related Issues (20)
- Change resources.yml to resources page HOT 10
- daily-programmer pin manager bot HOT 9
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Remove /ticket command HOT 2
- Slack Invite Error should go to Ops channel instead of moderator channel HOT 1
- Inheriting 'MutableMapping', which is not a class. HOT 3
- Link to new form for `/mentor-volunteer`
- OC-pybot Welcome Message HOT 6
- Add "Intro to Slack" video to pop up on Slackbot HOT 1
- Add FAQ to OC Pybot HOT 2
- acknowledgement for /report command HOT 2
- Automatic Response for Mentor Requests HOT 1
- New Commands for Support Channels HOT 4
- Mentor Bot Message Thread Improvements HOT 1
- Requestor Affiliation broken HOT 1
- Rewrite - Change the logging behavior to log to Cloudwatch HOT 1
- Rewrite - Switch to Github Actions Instead of CircleCI HOT 2
- Rewrite - Ensure the bot is handling sending invites to users for Slack
- Rewrite - Ensure we handle message changed and message deleted events HOT 1
- Add in `/moderators` command that will list the current moderators
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from operationcode-pybot.