Skip to content

rtm_connect() is now always returning False #189

@Zechtitus

Description

@Zechtitus
  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Description

rtm_connect() is always returning False

Reproducible in:

following guide here will show the issue:
http://slackapi.github.io/python-slackclient/real_time_messaging.html#connecting-to-the-real-time-messaging-api

For my project I was using docker with python 2.75 + ubuntu 16.04

Steps to reproduce:

  1. Follow guide the line sc.rtm_connect() will always return False
  • This was working up to a week ago. I rebuilt containers with slack project and they all started seeing this. Nothing else was change in container except moving them to a different instance. Retried on the old instance to verify it wasn't network and problem was also seen then.

Expected result:

sc.rtm_connect() should return true

Actual result:

Always returns false.

Extra Info:

I got feedback from slack about the issue and they were suggesting that I try out the newer rtm.connect method
https://api.slack.com/changelog/2017-04-start-using-rtm-connect-and-stop-using-rtm-start

I believe this is in reference to this line: https://github.com/slackapi/python-slackclient/blob/master/slackclient/_server.py#L70

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions