title: Why is my python Slack app running forever with nothing happening?
body: <p>I have followed the <a href="https://github.com/slackapi/python-slackclient/blob/master/tutorial/04-running-the-app.md" rel="nofollow noreferrer">Slack API tutorial</a> on making a Python slackclient bot. Now I have reached the last step, which is to run <code>app.py</code>.</p>
  
  <p>The problem is that it runs forever and nothing happens</p>
  
  <p>Both the <code>ssl_context</code> and the <code>slack_token</code> prints to something sensible: 
  <code>xoxb-XXXXXXXXXXXX-xxxxxxxxxxxx-XXXXXXXXXXXXXXXXXXXXXXXX</code> and 
  <code>&lt;ssl.SSLContext object at 0x00000xxxxxxxxxxx&gt;</code></p>
  
  <p>The .start() method including the fetching of the client and tokens looks like this (including printing the values):</p>
  
  <pre><code>if __name__ == "__main__":
      ssl_context = ssl_lib.create_default_context(cafile=certifi.where())
      slack_token = os.environ["SLACK_BOT_TOKEN"]
      rtm_client = slack.RTMClient(token=slack_token, ssl=ssl_context)
      print ("ssl = %s" % ssl_context)
      print ("Token = %s" % slack_token)
      rtm_client.start()
  </code></pre>
  
  <p><em>The rest of the files is reachable through the tutorial link on the top</em>.</p>
  
  <p>When pressing Ctrl+C, I get the following traceback</p>
  
  <pre><code>Traceback (most recent call last):
    File "app.py", line 133, in &lt;module&gt;
      rtm_client.start()
    File "C:\Users\anna.jenssen\AppData\Local\Programs\Python\Python38\lib\site-packages\slack\rtm\client.py", line 198, in start
      return self._event_loop.run_until_complete(future)
    File "C:\Users\anna.jenssen\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 595, in run_until_complete
      self.run_forever()
    File "C:\Users\anna.jenssen\AppData\Local\Programs\Python\Python38\lib\asyncio\windows_events.py", line 316, in run_forever
      super().run_forever()
    File "C:\Users\anna.jenssen\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 563, in run_forever
      self._run_once()
    File "C:\Users\anna.jenssen\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 1808, in _run_once
      event_list = self._selector.select(timeout)
    File "C:\Users\anna.jenssen\AppData\Local\Programs\Python\Python38\lib\asyncio\windows_events.py", line 430, in select
      self._poll(timeout)
    File "C:\Users\anna.jenssen\AppData\Local\Programs\Python\Python38\lib\asyncio\windows_events.py", line 779, in _poll
      status = _overlapped.GetQueuedCompletionStatus(self._iocp, ms)
  KeyboardInterrupt
  ^C
  </code></pre>