RasaHQ / medicare_locator

🏥Medicare Locator - Open source starter pack for developers to build contextual chatbots and AI assistants in healthcare
https://rasa.com
GNU General Public License v3.0
138 stars 136 forks source link

HTTP error when “make cmdline” #52

Open zenglime opened 5 years ago

zenglime commented 5 years ago

Hello Juste, I’m new to study rasa to build a bot. I start from “starter-pack-rasa-stack” I have an error when running the last command “make cmdline” as below. can you advise?

Bot loaded. Type a message and press enter (use ‘/stop’ to exit): Your input -> hello Exception in thread Thread-1: Traceback (most recent call last): File “/etc/python3.6/lib/python3.6/threading.py”, line 916, in _bootstrap_inner self.run() File “/etc/python3.6/lib/python3.6/threading.py”, line 864, in run self._target(*self._args, **self._kwargs) File “/etc/python3.6/lib/python3.6/site-packages/rasa_core/channels/console.py”, line 114, in record_messages for response in bot_responses: File “/etc/python3.6/lib/python3.6/site-packages/rasa_core/channels/console.py”, line 73, in send_message_receive_stream r.raise_for_status() File “/etc/python3.6/lib/python3.6/site-packages/requests/models.py”, line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: http://10.7.210.143

CesarArribas commented 5 years ago

Hello Juste, I’m new to study rasa to build a bot. I start from “starter-pack-rasa-stack” I have an error when running the last command “make cmdline” as below. can you advise?

Bot loaded. Type a message and press enter (use ‘/stop’ to exit): Your input -> hello Exception in thread Thread-1: Traceback (most recent call last): File “/etc/python3.6/lib/python3.6/threading.py”, line 916, in _bootstrap_inner self.run() File “/etc/python3.6/lib/python3.6/threading.py”, line 864, in run self._target(*self._args, **self._kwargs) File “/etc/python3.6/lib/python3.6/site-packages/rasa_core/channels/console.py”, line 114, in record_messages for response in bot_responses: File “/etc/python3.6/lib/python3.6/site-packages/rasa_core/channels/console.py”, line 73, in send_message_receive_stream r.raise_for_status() File “/etc/python3.6/lib/python3.6/site-packages/requests/models.py”, line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: http://10.7.210.143

Hi zenglime, I had same issue and solved it by unabling the http_proxy in my system. Looking info for this error I found this forum where talk about a similar issue: https://forum.rasa.com/t/http-error-after-user-message/949

I hope, It helps