PythonAnywhere Forums

Slackclient Python Module

When attempting to use Slackclient to connect to Slack and send messages, I'm constantly getting an error that the slack_client.rtm_connect() is not connecting.

Is this expected or a way to fix it?


rtm_connect uses web sockets, and as free user, you can only access a whitelist over http/https. Youl will have to upgrade to get rtm_connect to work (otherwise you could also use a different slack endpoint that uses http/https)