heilerich / rocket.chat.app-slackline Goto Github PK
View Code? Open in Web Editor NEWRocket.Chat app that enables users to import and receive private messages from a Slack instance
Rocket.Chat app that enables users to import and receive private messages from a Slack instance
I followed all steps to create a Slack app and install it on my workspace.
On Slackline I entered the Slack app ID and Secret.
When I try to run the command /slackline login
on a Rocket Chat channel it says it doesn't recognize the command.
I did run the following cUrl command and it returns an Internal Error:
curl -X POST https://chat.mydomain.org/api/apps/public/f36c9423-c624-49f7-a077-318ade5dc13b/slackevent
This is the log registered for the command above:
April 23, 2022 3:06 PM: "apiExecutor" (1ms)
Instance: gnK3pNkTi72A47zKG
debug: 2022-04-23T18:06:16.691Z Caller: anonymous OR constructor
[
"slackevent's post is being executed...",
{
"method": "post",
"headers": {
"host": "localhost:5000",
"user-agent": "curl/7.68.0",
"accept": "*/*",
"x-forwarded-for": "000.0.217.00",
"x-forwarded-host": "chat.mydomain.org",
"x-forwarded-server": "chat.mydomain.org",
"connection": "Keep-Alive"
},
"query": {},
"params": {},
"content": {}
}
]
warning: 2022-04-23T18:06:16.691Z Caller: failRequest -> failRequest
[
"Received invalid call so slackevent endpoint",
{
"request": {
"method": "post",
"headers": {
"host": "localhost:5000",
"user-agent": "curl/7.68.0",
"accept": "*/*",
"x-forwarded-for": "000.0.217.00",
"x-forwarded-host": "chat.mydomain.org",
"x-forwarded-server": "chat.mydomain.org",
"connection": "Keep-Alive"
},
"query": {},
"params": {},
"content": {}
},
"message": "No request type"
}
]
debug: 2022-04-23T18:06:16.691Z Caller: anonymous OR constructor
[
"slackevent's post was successfully executed."
]
The log for the GET oauth curl command is basically the same with this difference: "message": "Expected code & state"
What else could I do to further debug and troubleshoot this?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.