# Elastic 401 error after upgrading to version 7.5.1

**URL:** <https://discuss.elastic.co/t/elastic-401-error-after-upgrading-to-version-7-5-1/242762>\
**Category:** Elasticsearch\
**Created:** [July 27, 2020, 2:08pm UTC](https://discuss.elastic.co/t/elastic-401-error-after-upgrading-to-version-7-5-1/242762 "2020-07-27T14:08:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aadil](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Aadil](https://discuss.elastic.co/u/Aadil)\
**Post date:** [July 27, 2020, 2:08pm UTC](https://discuss.elastic.co/t/elastic-401-error-after-upgrading-to-version-7-5-1/242762/1 "2020-07-27T14:08:09Z")

</div>

Hi Team, i am new to this system, I had upgraded from version 6.3.2 to version 7.5.1 and now i get the below error on all 3 nodes:

{"error":{"root\_cause":[{"type":"security\_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Bearer realm="security"","ApiKey"]}}],"type":"security\_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Bearer realm="security"","ApiKey"]}},"status":401}

This is what my startup log shows:  
[2020-07-27T15:23:41,154][INFO][o.e.p.PluginsService] [vldes01.discsrv.co.za] loaded module [x-pack-voting-only-node]  
[2020-07-27T15:23:41,154][INFO][o.e.p.PluginsService] [vldes01.discsrv.co.za] loaded module [x-pack-watcher]  
[2020-07-27T15:23:41,155][INFO][o.e.p.PluginsService] [vldes01.discsrv.co.za] no plugins loaded  
[2020-07-27T15:23:46,375][INFO][o.e.x.s.a.s.FileRolesStore] [vldes01.discsrv.co.za] parsed [0] roles from file [/usr/local/applications/configs/ES/x-pack/roles.yml]  
[2020-07-27T15:23:47,050][INFO][o.e.x.m.p.l.CppLogMessageHandler] [vldes01.discsrv.co.za] [controller/53340] [Main.cc@110] controller (64 bit): Version 7.5.1 (Build ae3c3c51b849be) Copyright (c) 2019 Elasticsearch BV  
[2020-07-27T15:23:47,706][DEBUG][o.e.a.ActionModule] [vldes01.discsrv.co.za] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security  
[2020-07-27T15:23:47,863][INFO][o.e.d.DiscoveryModule] [vldes01.discsrv.co.za] using discovery type [zen] and seed hosts providers [settings]  
[2020-07-27T15:23:49,020][INFO][o.e.n.Node] [vldes01.discsrv.co.za] initialized  
[2020-07-27T15:23:49,020][INFO][o.e.n.Node] [vldes01.discsrv.co.za] starting ...  
[2020-07-27T15:23:49,206][INFO][o.e.t.TransportService] [vldes01.discsrv.co.za] publish\_address {172.30.103.35:9300}, bound\_addresses {172.30.103.35:9300}, {[fe80::250:56ff:fe86:fc39]:9300}  
[2020-07-27T15:23:49,664][INFO][o.e.b.BootstrapChecks] [vldes01.discsrv.co.za] bound or publishing to a non-loopback address, enforcing bootstrap checks  
[2020-07-27T15:23:49,671][INFO][o.e.c.c.Coordinator] [vldes01.discsrv.co.za] cluster UUID [reVwlwHpR7SN0jza8bt7sg]  
[2020-07-27T15:23:51,251][INFO][o.e.c.s.ClusterApplierService] [vldes01.discsrv.co.za] master node changed {previous , current [{vldes02.discsrv.co.za}{AlhOgxWeSfqZO5icrOiCXg}{Qco3I28hSR6-6hjODCScQg}{172.30.103.126}{172.30.103.126:9300}{dilm}{ml.machine\_memory=16637550592, ml.max\_open\_jobs=20, xpack.installed=true}]}, added {{vldes02.discsrv.co.za}{AlhOgxWeSfqZO5icrOiCXg}{Qco3I28hSR6-6hjODCScQg}{172.30.103.126}{172.30.103.126:9300}{dilm}{ml.machine\_memory=16637550592, ml.max\_open\_jobs=20, xpack.installed=true},{vldes03.discsrv.co.za}{HUYGjqM\_RM6sT-v\_h1-q6A}{1RR3aUeHS2CgQzjzu\_-8WQ}{172.30.103.34}{172.30.103.34:9300}{dilm}{ml.machine\_memory=16637550592, ml.max\_open\_jobs=20, xpack.installed=true}}, term: 6, version: 6684, reason: ApplyCommitRequest{term=6, version=6684, sourceNode={vldes02.discsrv.co.za}{AlhOgxWeSfqZO5icrOiCXg}{Qco3I28hSR6-6hjODCScQg}{172.30.103.126}{172.30.103.126:9300}{dilm}{ml.machine\_memory=16637550592, ml.max\_open\_jobs=20, xpack.installed=true}}  
[2020-07-27T15:23:51,284][INFO][o.e.c.s.ClusterSettings] [vldes01.discsrv.co.za] updating [xpack.monitoring.collection.enabled] from [false] to [true]  
[2020-07-27T15:23:51,561][INFO][o.e.x.s.a.TokenService] [vldes01.discsrv.co.za] refresh keys  
[2020-07-27T15:23:52,035][INFO][o.e.x.s.a.TokenService] [vldes01.discsrv.co.za] refreshed keys  
[2020-07-27T15:23:52,302][INFO][o.e.l.LicenseService] [vldes01.discsrv.co.za] license [b243ae51-4672-4319-967d-1cda3a3cccd4] mode [platinum] - valid  
[2020-07-27T15:23:52,303][INFO][o.e.x.s.s.SecurityStatusChangeListener] [vldes01.discsrv.co.za] Active license is now [PLATINUM]; Security is enabled  
[2020-07-27T15:23:52,314][WARN][o.e.l.LicenseService] [vldes01.discsrv.co.za] License [will expire] on [Saturday, August 15, 2020].

# If you have a new license, please update it. Otherwise, please reach out to

# your support contact.

# 

# Commercial plugins operate with reduced functionality on license expiration:

# - security

# - Cluster health, cluster stats and indices stats operations are blocked

# - All data operations (read and write) continue to work

# - watcher

# - PUT / GET watch APIs are disabled, DELETE watch API continues to work

# - Watches execute and write to the history

# - The actions of the watches don't execute

# - monitoring

# - The agent will stop collecting cluster and indices metrics

# - The agent will stop automatically cleaning indices older than [xpack.monitoring.history.duration]

# - graph

# - Graph explore APIs are disabled

# - ml

# - Machine learning APIs are disabled

# - logstash

# - Logstash will continue to poll centrally-managed pipelines

# - beats

# - Beats will continue to poll centrally-managed configuration

# - deprecation

# - Deprecation APIs are disabled

# - upgrade

# - Upgrade API is disabled

# - sql

# - SQL support is disabled

# - rollup

# - Creating and Starting rollup jobs will no longer be allowed.

# - Stopping/Deleting existing jobs, RollupCaps API and RollupSearch continue to function.

# - transform

# - Creating, starting, updating transforms will no longer be allowed.

# - Stopping/Deleting existing transforms continue to function.

# - analytics

# - Aggregations provided by Analytics plugin are no longer usable.

[2020-07-27T15:23:52,356][INFO][o.e.h.AbstractHttpServerTransport] [vldes01.discsrv.co.za] publish\_address {172.30.103.35:9200}, bound\_addresses {172.30.103.35:9200}, {[fe80::250:56ff:fe86:fc39]:9200}  
[2020-07-27T15:23:52,356][INFO][o.e.n.Node] [vldes01.discsrv.co.za] started

How do I resolve this and what should i send to you to help me investigate this?

---

<div class="post-metadata">

**Author:** ![Aadil](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Aadil](https://discuss.elastic.co/u/Aadil)\
**Post date:** [August 24, 2020, 9:54am UTC](https://discuss.elastic.co/t/elastic-401-error-after-upgrading-to-version-7-5-1/242762/2 "2020-08-24T09:54:51Z")

</div>

HI ALL, any idea why i still get this error message?  
I have updated the license to what we have purchased.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 21, 2020, 9:54am UTC](https://discuss.elastic.co/t/elastic-401-error-after-upgrading-to-version-7-5-1/242762/3 "2020-09-21T09:54:55Z")

</div>

Closed on September 21, 2020, 9:54am UTC

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