apache / apache/beam

Authentication for ElasticsearchIO seems to be failing

Open
#19,414 0 comments 0 reactions 0 assignees View on GitHub
bug elasticsearch io java P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

It seem to be failing at least on elasticsearch cloud:
```

[WARNING]
org.elasticsearch.client.ResponseException: GET https://a3626ec04ef549318d444cde10db468d.europe-west1.gcp.cloud.es.io:9243/:
HTTP/1.1 401 Unauthorized
{"error":{"root_cause":[{"type":"security_exception","reason":"action [cluster:monitor/main]
requires authentication","header":{"WWW-Authenticate":["Bearer realm=\"security\"","ApiKey","Basic realm=\"security\"
charset=\"UTF-8\""]}}],"type":"security_exception","reason":"action [cluster:monitor/main] requires
authentication","header":{"WWW-Authenticate":["Bearer realm=\"security\"","ApiKey","Basic realm=\"security\"
charset=\"UTF-8\""]}},"status":401}

```

Imported from Jira [BEAM-7400](https://issues.apache.org/jira/browse/BEAM-7400). Original Jira may contain additional context.
Reported by: echauchot.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.