Giter VIP home page Giter VIP logo

Comments (5)

anonrig avatar anonrig commented on May 18, 2024

I've inspected slack_web_api.js file. It uses requestjs for HTTP requests and websockets to connect to slacks websocket api. I believe even with a proxy http requests will work. In theory, websockets seem available for proxy use, but I don't know how ws library applies in practice.

Do you have any firewall behind your network which inhibits botkit to use websockets?

@benmatselby

from botkit.

RafaelCosman avatar RafaelCosman commented on May 18, 2024

@benmatselby, can you answer @anonrig's question if you have a chance?

from botkit.

benmatselby avatar benmatselby commented on May 18, 2024

Yes. Sorry about the delay. I am not in the office until Monday so cannot do any checks.

from botkit.

benmatselby avatar benmatselby commented on May 18, 2024

@anonrig @RafaelCosman

I've spoken to our networks team and they believe this is something on our side, and are making changes to certain policies, so closing, and will re-open with more information should it still not work

Thanks

from botkit.

jmkhael avatar jmkhael commented on May 18, 2024

Hello,
I suffer from the same issue behind our work proxy/firewall. My bot works fine from home where there are no proxying/... going on

Behind the proxy/fw the connection fails (RTM websocket error! and a socket time out on port 443) with botkit whereas the official node-slack-client works. (The only difference I noticed is that they use https-proxy-agent in their dependencies...)

I'd like to stay on botkit as the abstractions are nicer :)

from botkit.

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.