Can not create azure storage client – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 5-5

Briefly, this error occurs when Elasticsearch fails to establish a connection with Azure Storage due to incorrect configuration or network issues. To resolve this, ensure that the Azure Storage account and access key are correctly configured in Elasticsearch. Also, check your network connectivity to Azure. If you’re using a plugin, ensure it’s compatible with your Elasticsearch version. Lastly, check for any firewall rules that may be blocking the connection.

This guide will help you check for common problems that cause the log ” can not create azure storage client: {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: cloud-aws, plugins, repository-azure and storage.

Log Context

Log “can not create azure storage client: {}” classname is
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

             CloudBlobClient client = storageAccount.createCloudBlobClient();

            // Register the client
            this.clients.put(azureStorageSettings.getAccount(); client);
        } catch (Exception e) {
            logger.error("can not create azure storage client: {}"; e.getMessage());

    CloudBlobClient getSelectedClient(String account; LocationMode mode) {
        logger.trace("selecting a client for account [{}]; mode [{}]"; account;;


How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?