Unable to register pretrained model 2.19.1

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue: Registering any of the pre-trained models is failing with a connection timed out exception

Configuration:

Relevant Logs or Screenshots:

{{url}}/\_plugins/\_ml/models/\_register

{
“name”: “huggingface/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2”,
“version”: “1.0.1”,
“model_group_id”: “qLK8eJkBYMxOL5R6eFq7”,
“model_format”: “TORCH_SCRIPT”
}

{
“task_id”: “qrLMeJkBYMxOL5R6Elpj”,
“status”: “CREATED”
}
{{url}}/\_plugins/\_ml/tasks/qrLMeJkBYMxOL5R6Elpj

{
“task_type”: “REGISTER_MODEL”,
“function_name”: “TEXT_EMBEDDING”,
“state”: “FAILED”,
“worker_node”: \[
“R7sxHUk7RneH8uAg4oFufQ”
\],
“create_time”: 1758668264035,
“last_update_time”: 1758668396575,
“error”: “Connection timed out”,
“is_async”: true
}
\[2025-09-23T22:43:24,258\]\[ERROR\]\[o.o.m.m.MLModelManager   \] \[phoenix624261\] Failed to update model group
java.security.PrivilegedActionException: null
at java.base/java.security.AccessController.doPrivileged(AccessController.java:575) \~\[?:?\]
at org.opensearch.ml.engine.ModelHelper.downloadPrebuiltModelMetaList(ModelHelper.java:226) \~\[?:?\]
at org.opensearch.ml.model.MLModelManager.registerPrebuiltModel(MLModelManager.java:968) \~\[?:?\]
at org.opensearch.ml.model.MLModelManager.uploadModel(MLModelManager.java:795) \~\[?:?\]
at org.opensearch.ml.model.MLModelManager.lambda$registerMLModel$15(MLModelManager.java:517) \~\[?:?\]
at org.opensearch.core.action.ActionListener$1.onResponse(ActionListener.java:82) \[opensearch-core-2.19.1.jar:2.19.1\]

@OMOS Did you use admin user to register the model?

yes.

I think its some proxy related issue. Where in the opensearch setup can I check and possibly change the proxies, as I suspect this is why the download is failing and the connection is timing out

1 Like

@OMOS I only had that issue when installing pretrained model from a .zip file in offline mode. OpenSearch ML will need working Internet connection to pull additional files even when you use .zip file.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.