# ErrImagePull Error with a message authenticationrequired

**URL:** <https://discuss.elastic.co/t/errimagepull-error-with-a-message-authenticationrequired/368964>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [October 17, 2024, 4:21am UTC](https://discuss.elastic.co/t/errimagepull-error-with-a-message-authenticationrequired/368964 "2024-10-17T04:21:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zakhan](https://avatars.discourse-cdn.com/v4/letter/z/c6cbf5/32.png) [@zakhan](https://discuss.elastic.co/u/zakhan)\
**Post date:** [October 17, 2024, 4:21am UTC](https://discuss.elastic.co/t/errimagepull-error-with-a-message-authenticationrequired/368964/1 "2024-10-17T04:21:57Z")

</div>

Elasticsearch operator is installed on Openshift. While creating the elasticsearch cluster, below error is seen:

Normal Pulling 5s (x2 over 27s) kubelet Pulling image "[docker.elastic.co/elasticsearch/elasticsearch-ubi:8.12.1](http://docker.elastic.co/elasticsearch/elasticsearch-ubi:8.12.1)"  
Warning Failed 4s (x2 over 26s) kubelet Failed to pull image "[docker.elastic.co/elasticsearch/elasticsearch-ubi:8.12.1](http://docker.elastic.co/elasticsearch/elasticsearch-ubi:8.12.1)": Get "[https://docker-auth.elastic.co/auth?scope=repository%3Aelasticsearch%2Felasticsearch-ubi%3Apull&service=token-service](https://docker-auth.elastic.co/auth?scope=repository%3Aelasticsearch%2Felasticsearch-ubi%3Apull&service=token-service)": authenticationrequired  
Warning Failed 4s (x2 over 26s) kubelet Error: ErrImagePull

One observation to share: OpenShift cluster is behind the proxy and env variables HTTP\_PROXY, HTTPS\_PROXY, NO\_PROXY are specified for podTemplate.spec. Still the above error is seen.
