title: RASA Failed to run custom action
body: <p>action.py</p>
  
  <pre><code>import requests
  import json
  from rasa_core_sdk import Action, Tracker
  class ActionJoke(Action):
      def name(self):
          return "action_joke"
  
      def run(self, dispatcher, tracker, domain):
          request = requests.get('http://api.icndb.com/jokes/random').json() 
          joke = request['value']['joke'] 
          dispatcher.utter_message(joke) 
          return []
  </code></pre>
  
  <p>Input:</p>
  
  <pre><code>Your input -&gt;  joke  
  </code></pre>
  
  <p>Output:</p>
  
  <p>2020-04-09 15:37:06 ERROR    rasa.core.actions.action  - Failed to run custom action 'action_joke'. 
  Couldn't connect to the server at '<a href="http://localhost:5055/webhook" rel="nofollow noreferrer">http://localhost:5055/webhook</a>'. Is the server running?
       Error: Cannot connect to host localhost:5055 ssl:default [Connect call failed ('127.0.0.1', 5055)]
      2020-04-09 15:37:06 ERROR    rasa.core.processor  - Encountered an exception while running action 'action_joke'. Bot will continue, but the actions events are lost. Please check the logs of
       your action server for more information.</p>