I’ve tried running the http version. I end up getting a different error. Could you please check it out
ERROR:rasa_core.actions.action:Failed to run custom action ‘actions.GetAnswer’. Action server responded with a non 200 status code of 500. Make sure your action server properly runs actions and returns a 200 once the action is executed. Error: 500 Server Error: INTERNAL SERVER ERROR for url: http://localhost:5055/webhook
ERROR:rasa_core.processor:Encountered an exception while running action ‘actions.GetAnswer’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
**contents of custom actions server error
python -m rasa_core_sdk.endpoint --actions actions
C:\Python\Python36\lib\site-packages\rasa_core_sdk_init_.py:12: UserWarning: The ‘rasa_core_sdk’ package has been renamed. You should change your imports to use ‘rasa_sdk’ instead.
UserWarning,
2019-05-29 16:55:59 INFO rasa_sdk.endpoint - Starting action endpoint server…
2019-05-29 16:56:00 INFO rasa_sdk.executor - Registered function for ‘action_get_answer’.
2019-05-29 16:56:00 INFO rasa_sdk.endpoint - Action endpoint is up and running. on (‘0.0.0.0’, 5055)
2019-05-29 16:57:03 WARNING rasa_sdk.endpoint - Your versions of rasa and rasa_sdk might not be compatible. You are currently running rasa version 0.13.2 and rasa_sdk version 1.0.0.
To ensure compatibility use the same version for both, modulo the last number, i.e. using version A.B.x the numbers A and B should be identical for both rasa and rasa_sdk.
[2019-05-29 16:57:03,019] ERROR in app: Exception on /webhook [POST]
Traceback (most recent call last):
File “C:\Python\Python36\lib\site-packages\flask\app.py”, line 2292, in wsgi_app
response = self.full_dispatch_request()
File “C:\Python\Python36\lib\site-packages\flask\app.py”, line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File “C:\Python\Python36\lib\site-packages\flask_cors\extension.py”, line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File “C:\Python\Python36\lib\site-packages\flask\app.py”, line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File “C:\Python\Python36\lib\site-packages\flask_compat.py”, line 35, in reraise
raise value
File “C:\Python\Python36\lib\site-packages\flask\app.py”, line 1813, in full_dispatch_request
rv = self.dispatch_request()
File “C:\Python\Python36\lib\site-packages\flask\app.py”, line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File “C:\Python\Python36\lib\site-packages\flask_cors\decorator.py”, line 128, in wrapped_function
resp = make_response(f(*args, **kwargs))
File “C:\Python\Python36\lib\site-packages\rasa_sdk\endpoint.py”, line 59, in webhook
response = executor.run(action_call)
File “C:\Python\Python36\lib\site-packages\rasa_sdk\executor.py”, line 237, in run
“No registered Action found for name ‘{}’.”.format(action_name)
Exception: No registered Action found for name ‘actions.GetAnswer’.
2019-05-29 16:57:03 ERROR flask.app - Exception on /webhook [POST]
Traceback (most recent call last):
File “C:\Python\Python36\lib\site-packages\flask\app.py”, line 2292, in wsgi_app
response = self.full_dispatch_request()
File “C:\Python\Python36\lib\site-packages\flask\app.py”, line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File “C:\Python\Python36\lib\site-packages\flask_cors\extension.py”, line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File “C:\Python\Python36\lib\site-packages\flask\app.py”, line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File “C:\Python\Python36\lib\site-packages\flask_compat.py”, line 35, in reraise
raise value
File “C:\Python\Python36\lib\site-packages\flask\app.py”, line 1813, in full_dispatch_request
rv = self.dispatch_request()
File “C:\Python\Python36\lib\site-packages\flask\app.py”, line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File “C:\Python\Python36\lib\site-packages\flask_cors\decorator.py”, line 128, in wrapped_function
resp = make_response(f(*args, **kwargs))
File “C:\Python\Python36\lib\site-packages\rasa_sdk\endpoint.py”, line 59, in webhook
response = executor.run(action_call)
File “C:\Python\Python36\lib\site-packages\rasa_sdk\executor.py”, line 237, in run
“No registered Action found for name ‘{}’.”.format(action_name)
Exception: No registered Action found for name ‘actions.GetAnswer’.
127.0.0.1 - - [2019-05-29 16:57:03] “POST /webhook HTTP/1.1” 500 411 0.030870
thank you !
@akelad