HasanShaukat / weather-chatbot

This is a chatbot which tells you the weather of your desired city. It uses Machine Learning to understand it's user's question.
1 stars 0 forks source link

ERROR:rasa_core.actions.action:Failed to run custom action 'action_weather'. Couldn't connect to the 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('<urllib3.connection.HTTPConnection object at 0x00000245CDF4C160>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)) 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. #1

Open haripriyamvk opened 5 years ago

haripriyamvk commented 5 years ago

while we pass the command " python train_interactive.py" we got this error. please help us. Screenshot (5)

HasanShaukat commented 5 years ago

Hi, You need to mention the api key for the weather api in the actions.py file

haripriyamvk commented 5 years ago

Screenshot (8) We mentioned the API key but while training the dialogue model and train_interactive.py, we unable to get the correct output. It only gives correct output for intent greet. it doesn't perform an action 'action_weather'.

On Wed, Mar 27, 2019, 16:56 Hasan Shaukat notifications@github.com wrote:

Hi, You need to mention the api key for the weather api in the actions.py file

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/HasanShaukat/weather-chatbot/issues/1#issuecomment-477107075, or mute the thread https://github.com/notifications/unsubscribe-auth/Autcnp5Ok9-B_uI1jF3D6Nk77TdMkrxGks5va1V0gaJpZM4cNGNh .

haripriyamvk commented 5 years ago

after that, we tried dialogue_management_model.py. We are facing this kind of output. please help us to resolve it. Screenshot (9)

haripriyamvk commented 5 years ago

I am executing the same code without any changes. I am getting this error ERROR:rasa_core.processor:Encountered an exception while running action 'action_weather'. The bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code. while performing action 'action_weather' it took nearly 5-10 mins and then it is giving that error.

On Wed, Mar 27, 2019 at 5:10 PM Hema Latha Sangani < hemalatha.sangani@gmail.com> wrote:

We mentioned the API key but while training the dialogue model and train_interactive.py, we unable to get the correct output. It only gives correct output for intent greet. it doesn't perform an action 'action_weather'.

On Wed, Mar 27, 2019, 16:56 Hasan Shaukat notifications@github.com wrote:

Hi, You need to mention the api key for the weather api in the actions.py file

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/HasanShaukat/weather-chatbot/issues/1#issuecomment-477107075, or mute the thread https://github.com/notifications/unsubscribe-auth/Autcnp5Ok9-B_uI1jF3D6Nk77TdMkrxGks5va1V0gaJpZM4cNGNh .

haripriyamvk commented 5 years ago

Screenshot (21)

haripriyamvk commented 5 years ago

Hey,

I just signed the petition "Indian Judiciary: Hang the criminal(s) of Priyanka Reddy Rape/Murder case before the 2019 year end" and wanted to see if you could help by adding your name.

Our goal is to reach 500,000 signatures and we need more support. You can read more and sign the petition here:

http://chng.it/Hv4HBdjXdZ

Thanks! hemalatha