elastic / elastic/apm-server

ES host resolves to 9200 port even when protocol https is configured

Open
#9,303 0 comments 0 reactions 0 assignees View on GitHub
8.7-candidate bug
Dominant language
Go
Stars
1.3k
Forks
543
Avg merge
1d 18h
Merged PRs (30d)
109

Description

**APM Server version** (`apm-server version`): `8.x`, `7.17`

**Description of the problem including expected versus actual behavior**:

When configuring ES output without specificially passing the port, APM Server adds port `9200`, instead of not adding any port or adding `443`.

**Steps to reproduce**:

1. Create Elastic Cloud deployment and copy & paste ES URL and ES secret to `apm-server.yml` configuration
2. Start APM Server and try to ingest data
3. Observe that connection to Elasticsearch times out.

If adding `:443` to the ES Url, a connection can succesfully be established.

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.