Hi,
I just upgraded to Rasa version 1.6.0 from 1.3 and now starting the Rasa server is taking a long time. I’m trying to connect through a rest endpoint configured to connect to localhost, but even after 10 minutes of waiting I’m still getting an error like this:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8000): Max retries exceeded with url: /status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001F016CA8B38>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',))
I see these messages for initializing the server:
2019-12-26 12:55:54 DEBUG rasa.model - Extracted model to '<redacted>'.
2019-12-26 12:55:55 DEBUG sanic.root - CORS: Configuring CORS with resources: {'/*': {'origins': [''], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': None, 'supports_credentials': True, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': ''}}, 'intercept_exceptions': True, 'always_send': True}}
2019-12-26 12:55:55 DEBUG rasa.core.utils - Available web server routes:
/webhooks/rest GET custom_webhook_RestInput.health
/webhooks/rest/webhook POST custom_webhook_RestInput.receive
/ GET hello
2019-12-26 12:55:55 INFO root - Starting Rasa server on http://localhost:5002
2019-12-26 12:55:55 DEBUG rasa.core.utils - Using the default number of Sanic workers (1).
2019-12-26 12:55:55 INFO root - Enabling coroutine debugging. Loop id 2131341203216.
2019-12-26 12:55:55 DEBUG rasa.model - Extracted model to '<redacted>'.
initialised the class
2019-12-26 12:56:43 INFO rasa.nlu.components - Added 'SpacyNLP' to component cache. Key 'SpacyNLP-en'.
2019-12-26 12:56:43 DEBUG rasa.core.tracker_store - Connected to InMemoryTrackerStore.
2019-12-26 12:56:43 DEBUG rasa.core.lock_store - Connected to lock store 'InMemoryLockStore'.
2019-12-26 12:56:43 DEBUG rasa.model - Extracted model to '<redacted>'.
2019-12-26 12:56:43 DEBUG pykwalify.compat - Using yaml library: <redacted>
2019-12-26 12:56:43.921054: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found
2019-12-26 12:56:43.929643: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: UNKNOWN ERROR (303)
2019-12-26 12:56:43.941690: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: <redacted>
2019-12-26 12:56:43.950021: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: <redacted>
2019-12-26 12:56:43.954230: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2019-12-26 12:56:45 DEBUG rasa.core.nlg.generator - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.```
I tried running rasa shell
but I still get a connection refused error. I’m aware that this error means the server isn’t up, but I don’t see any errors for why the server is taking so long to start. I haven’t made any changes to my domain.yml or other config files since I upgraded. Would someone be able to help with this issue?
Thanks