JustinaPetr / Weatherbot_Tutorial

275 stars 447 forks source link

Couldn't connect to th e server at 'http://localhost:5055/webhook #61

Open harunkelesoglu opened 5 years ago

harunkelesoglu commented 5 years ago

I'm trying run train_online.I getting the following error in action_weather step.

ERROR:rasa_core.actions.action:Failed to run custom action 'action_weather'. Couldn't connect to th e server at 'http://localhost:5055/webhook'. Is the server running? Error: HTTPConnectionPool(host= 'localhost', port=5055): Max retries exceeded with url: /webhook (Caused by NewConnectionError('<ur llib3.connection.HTTPConnection object at 0x124ba0198>: Failed to establish a new connection: [Errn o 61] Connection refused',)) ERROR:rasa_core.processor:Encountered an exception while running action 'action_weather'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.

JustinaPetr commented 5 years ago

Have you started the actions server following the instructions provided in the readme?

harunkelesoglu commented 5 years ago

Yes i noticed a little late Thanks @JustinaPetr

Prav18 commented 5 years ago

I am trying train_interactive.py . I am gettin the following error in action_weather step after installing the actions server

/home/consagous/bot/lib/python3.6/site-packages/sklearn/preprocessing/label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use array.size > 0 to check that an array is not empty. if diff: ? Is the NLU classification for 'London' with intent 'inform' correct? Yes

Chat History

Bot You

─────────────────────────────────────────────────────── 1 action_listen 1.00
─────────────────────────────────────────────────────── 2 hi intent: greet 0.82 ─────────────────────────────────────────────────────── 3 utter_greet 1.00
Hello! How can I help?
action_listen 1.00
─────────────────────────────────────────────────────── 4 what's the weather intent: inform 0.92 ─────────────────────────────────────────────────────── 5 utter_ask_location 1.00
In what location?
action_listen 1.00
─────────────────────────────────────────────────────── 6 London intent: inform 0.44

Current slots: location: None


? The bot wants to run 'action_restart', correct? (Y/n)