Elastic APM agent iOS

Kibana version: 7.17.3

Elasticsearch version: 7.17.3

APM Server version: 7.17.3

APM Agent language and version: iOS 0.6.0

Browser version:

Original install method (e.g. download page, yum, deb, from source, etc.) and version: Helm Chart

Fresh install or upgraded from other version? Fresh

Is there anything special in your setup? Using Elasticsearch, Kibana, APM server and agents, nothing special

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
In the process of sending data to APM server, we get an error
Data does not appear in Kibana
Traffic to the APM server goes through Ingress-nginx Controller

Steps to reproduce:

  1. iOS Agent Settings
let config = AgentConfigBuilder()
                .withServerUrl(URL(string: "https://apm-server-dev.domain.com:443"))

  1. APM server config
apm-server.yml: |
      host: ""
        enabled: true
        allow_origins: ['*']
        enabled: true
        host: https://kibana-dev.domain.com:443
        username: "${ELASTICSEARCH_USERNAME}"
        password: "${ELASTICSEARCH_PASSWORD}"

    queue: {}

      hosts: ["http://elasticsearch-master:9200"]
      username: "${ELASTICSEARCH_USERNAME}"
      password: "${ELASTICSEARCH_PASSWORD}"
      ## If SSL is enabled
      # protocol: https
      # ssl.certificate_authorities:
      #  - /usr/share/apm-server/config/certs/elastic-ca.pem

Provide logs and/or server output (if relevant):

{"log.level":"error","@timestamp":"2023-09-26T14:19:51.678Z","log.logger":"request","log.origin":{"file.name":"middleware/log_middleware.go","file.line":60},"message":"404 page not found","service.name":"apm-server","url.original":"/opentelemetry.proto.collector.logs.v1.LogsService/Export","http.request.method":"POST","user_agent.original":"apm-agent-ios/0.6.0 (Marketplace 0.1)","source.address":"","http.request.body.bytes":741,"http.request.id":"21b9f4d7-dc1a-4777-ae1e-02a02ae37335","event.duration":85165,"http.response.status_code":404,"error.message":"404 page not found","ecs.version":"1.6.0"}

Welcome to our discuss forum @AlekseyD.

The issue description mentions that it is a fresh install with version 7.17.3. Any reason of using such an old version? The latest release is 8.10.2, will it be possible to use that?

1 Like

Thanks for answer. No reason of using old version. Okey, we will try to use latest version of ECK...

That's great! Let us know if use face issues even with using the latest version.

Thanks for advice, issue fixed after upgrade version of stack to latest

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