Giter Club home page Giter Club logo

Comments (15)

Inumedia avatar Inumedia commented on August 16, 2024

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/687474703a2f2f7075752e73682f696c6334342f396333343665396439372e706e67

Possibly an error on my side, but still. Thanks in advance!


Reply to this email directly or view it on GitHub
#6.

from slackapi.

 avatar commented on August 16, 2024

I am using the token from here:
ss 2015-06-11 at 10 00 55

The message box show never gets hit, waited 10 minutes.

from slackapi.

Inumedia avatar Inumedia commented on August 16, 2024

Odd, I'm seeing the issue in my tests. I'll work on getting this resolved asap.

from slackapi.

Inumedia avatar Inumedia commented on August 16, 2024

As an update, I'll be looking deeper into this tonight, sorry for the delay just haven't had time.

from slackapi.

Inumedia avatar Inumedia commented on August 16, 2024

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.

 avatar commented on August 16, 2024

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.

Inumedia avatar Inumedia commented on August 16, 2024

See the latest commit and look into the IntegrationTests project.

You can run the tests through Visual Studio's test explorer.

from slackapi.

 avatar commented on August 16, 2024

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.

Inumedia avatar Inumedia commented on August 16, 2024

Where did you say you were located?

from slackapi.

 avatar commented on August 16, 2024

Austria

from slackapi.

Inumedia avatar Inumedia commented on August 16, 2024

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.

 avatar commented on August 16, 2024

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.

soydachi avatar soydachi commented on August 16, 2024

Hi, is this bug solved?

greetings!

from slackapi.

Inumedia avatar Inumedia commented on August 16, 2024

I believe this bug is currently resolved, even though @Samichio didn't close the issue.

from slackapi.

 avatar commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.