-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Description
When trying to deploy the ELSER Model via the instructions in this tutorial, there is a step to run the command flask deploy-elser
. When running this command, I get Error: Connection timed out
.
I've tried specifying a request_timeout
in the the constructor for the Search class.:
self.es = Elasticsearch(cloud_id=os.environ['ELASTIC_CLOUD_ID'],
api_key=os.environ['ELASTIC_API_KEY'],
request_timeout=300)
This allowed me to get past the download stage and start the deployment, but then I got the following error:
Error: ApiError(408, 'model_deployment_timeout_exception', 'Timed out after [30s] waiting for trained model deployment [.elser_model_2] to start. Use the trained model stats API to track the state of the deployment and try again once it has started.')
It appears that the tutorial needs to be amended to account for the client and api timeouts.
Metadata
Metadata
Assignees
Labels
No labels