Coder Social home page Coder Social logo

client can't connect about slackapi HOT 10 OPEN

inumedia avatar inumedia commented on August 18, 2024
client can't connect

from slackapi.

Comments (10)

aperlstein avatar aperlstein commented on August 18, 2024
client.Connect((connected) => {
    //This is called once the client has emitted the RTM start command
}, () => {
    //This is called once the RTM client has connected to the end point
});

from slackapi.

pjc0247 avatar pjc0247 commented on August 18, 2024

There's no native WebSocket implementation in Windows 7. You must use the windows 8 or above.

from slackapi.

Inumedia avatar Inumedia commented on August 18, 2024

@pjc0247 There is a WebSocket implementation available in the .NET framework from version 4.5 and up.

from slackapi.

Inumedia avatar Inumedia commented on August 18, 2024

@koenvzeijl Is this still a problem after @aperlstein 's comment?

from slackapi.

pjc0247 avatar pjc0247 commented on August 18, 2024

@Inumedia http://stackoverflow.com/questions/11039438/using-websocket-on-windows7

Yes, there is. but it does not working with windows 7.

from slackapi.

Inumedia avatar Inumedia commented on August 18, 2024

Oh. Well, that's not good.

from slackapi.

koenvzeijl avatar koenvzeijl commented on August 18, 2024

no this doesn't fix it for me unfortunatly it still says not connected and btw i am on windows 10

from slackapi.

pjc0247 avatar pjc0247 commented on August 18, 2024

@koenvzeijl Did you call client.Connect method?
SlackSocketClient.ctor() does not perform a connection.

https://github.com/Inumedia/SlackAPI/blob/master/SlackSocketClient.cs#L29-L33

from slackapi.

kenrachynski avatar kenrachynski commented on August 18, 2024

@koenvzeijl is your controller being left running? After some struggles myself recently, I discovered that if my application exits right away, then the connect doesn't have time to complete before the application stops.

from slackapi.

bmp02050 avatar bmp02050 commented on August 18, 2024

Give this a whirl: Install Newtonsoft.Json. I was seeing warnings about different versions running and installed it through NuGet. Worked immediately. Might need an updated version in the source?

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.