open-telemetry / open-telemetry/opentelemetry-cpp-contrib

OpenTelemetry throws error "otel_stopInteraction: result code: 25"

Open
#360 7 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Webserver
Dominant language
Python
Stars
153
Forks
184
Avg merge
2d 9h
Merged PRs (30d)
26

Description

Describe your environment
Redhat 7.9, Apache 2.4

Steps to reproduce
I have installed the OpenTelemetry Apache module by following the guide and by triggering the install.sh for creating the log4cxx xml. When creating a request to httpd2.4 the following errors are thrown:

[Thu Jan 18 14:55:23.015917 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: initialize_opentelemetry: config retrieved from process memory pool
[Thu Jan 18 14:55:23.015955 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_hook_header_parser_begin: dev:demo-dispatcher:server1.be.srv.dev.sys
[Thu Jan 18 14:55:23.016045 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_hook_header_parser_begin: request begin successful
[Thu Jan 18 14:55:23.016158 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_stopInteraction: result code: 25
[Thu Jan 18 14:55:23.016210 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_payload_decorator: correlation information : "tracestate" : ""
[Thu Jan 18 14:55:23.016218 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_payload_decorator: correlation information : "traceparent" : "00-0423becfe0f47d783410b20e013ad9aa-03005d060532c582-01"
[Thu Jan 18 14:55:23.016222 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: mod_proxy.c: interaction begin successful
[Thu Jan 18 14:55:23.018579 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_stopInteraction: result code: 25
[Thu Jan 18 14:55:23.018639 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_payload_decorator: correlation information : "tracestate" : ""
[Thu Jan 18 14:55:23.018652 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: otel_payload_decorator: correlation information : "traceparent" : "00-0423becfe0f47d783410b20e013ad9aa-96d3629028c462d8-01"
[Thu Jan 18 14:55:23.018657 2024] [otel_apache:error] [pid 1633:tid 140562954786560] mod_opentelemetry_webserver_sdk: disp_apache2.c: interaction begin successful

What is the expected behavior?
I would expect that a trace is passed to the otel endpoint

What is the actual behavior?
Nothing reaches the otel endpoint

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Apache module installation guide and the install.sh process, then inspect the request logs around otel_stopInteraction and the reported result code 25. Reproduce the request on Red Hat 7.9 with Apache 2.4 and determine why no trace reaches the OTEL endpoint; done means the error is resolved and a trace is received.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, linux
Domain
backend, observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.