Comments (15)
Just to be sure, you are using a valid token when attempting to connect,
correct?
Also, could you try setting a break point on the message box show and see
if it ever gets hit? It might take a few seconds.
On Thu, Jun 11, 2015, 15:49 Samichio [email protected] wrote:
I used the source, imported it into my project map and added the
references in order to create a Bot User for Slack
I executed the following statement:
SlackSocketClient client = new
SlackSocketClient("TOKEN-TOKENTOKEN-TOKENTOKENTOKEN");
client.Connect((connected) =>
{
MessageBox.Show("Success!");
});No syntax errors. Unfortunately the connection is not successful.
[image: Values of client]
https://camo.githubusercontent.com/1594f640b37303a5ee5f8f1a7e96c38363050145/687474703a2f2f7075752e73682f696c6334342f396333343665396439372e706e67Possibly an error on my side, but still. Thanks in advance!
—
Reply to this email directly or view it on GitHub
#6.
from slackapi.
I am using the token from here:
The message box show never gets hit, waited 10 minutes.
from slackapi.
Odd, I'm seeing the issue in my tests. I'll work on getting this resolved asap.
from slackapi.
As an update, I'll be looking deeper into this tonight, sorry for the delay just haven't had time.
from slackapi.
I'm having trouble reproducing these problems. I've tried with both my own API token and a bot token, both times led to the callback being executed.
from slackapi.
Hey,
Hmm thats great to hear...
Would you upload your Project for me, so I can figure out what Im doing
wrong?
Inumedia <[email protected]> hat am 20. Juni 2015 um 02:41
geschrieben:
I'm having trouble reproducing these problems. I've tried with both
my own API token and a bot token, both times led to the callback being
executed.--- Reply to this email directly or view it on GitHub: https://github.com/Inumedia/SlackAPI/issues/6#issuecomment-113687071
from slackapi.
See the latest commit and look into the IntegrationTests project.
You can run the tests through Visual Studio's test explorer.
from slackapi.
I am starting to feel like an idiot...
I downloaded the project, added my token from the site already mentioned in this line:
SlackSocketClient client = new SlackSocketClient("TOKEN");
and ran the Tests.
Error at "Assert.IsTrue". Didn't return within a reasonable time. After 12 secounds.
I will try to run the tests without a firewall later this day, maybe it is somehow blocking it.
from slackapi.
Where did you say you were located?
from slackapi.
Austria
from slackapi.
Yeah, something's weird here. I could generally understand it taking longer than usual due to the distance, but 12 seconds is a bit extreme. I'm assuming you're not on dial up (56k) or something?
My connect test still comes in @ 1s and my bot @ ~600ms.
If you don't get any luck with your firewall let me know. We might have to setup some form of remote desktop to debug this. If you do get some luck, let me know, make a pull request containing any knowledge, or just post it to the wiki.
from slackapi.
10ms Ping, 80mbit down, 40mbit up
Still not working, even in an unprotected environment.
Timeout @ around 10-12s.
Do you want to try it with a remote desktop? You can write me on Twitter @Samichio
from slackapi.
Hi, is this bug solved?
greetings!
from slackapi.
I believe this bug is currently resolved, even though @Samichio didn't close the issue.
from slackapi.
I am sorry, yes the issue is resolved. Visual Studio didnt automatically download the latest dependencies.(Newtonsoft.Json and WebSocket4)
from slackapi.
Related Issues (20)
- Extensions.ToProperTimeStamp for Slack Date formatting
- How do I resolve a missing_scope error HOT 4
- Add conversations.join method
- Build failing HOT 2
- Nuget push failing due to missing environment variable HOT 2
- Fix UpdateAsync (and Update) not to pass "as_user" unless specified
- "conversations.members" support
- target dotnet core and not .net framework HOT 6
- SlackTaskClient.DeleteMessageAsync takes a datetime but should take a timestamp string HOT 1
- Refactor GetUserListAsync (of SlackTaskClient) to allow arguments HOT 1
- Can't Specify Markdown Boolean in PostMessageAsync()
- rtm.start depreciated starting 2022/09/20 HOT 7
- [Bug] SlackTaskClient.GetChannelListAsync() returns unknown_method HOT 2
- It became impossible to connect to slack around 2022/9/27 HOT 4
- Add reactions.remove support.
- How to implement Conversation API HOT 2
- Rate limits HOT 1
- Is there an example of attaching text files to a message? HOT 1
- Is this still maintained?
- GetChannelListAsync() returns error of "unknown method". HOT 1
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 slackapi.