Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example Docker Project Errors : basic_elixir #341

Open
albsch opened this issue Jun 23, 2024 · 1 comment
Open

Example Docker Project Errors : basic_elixir #341

albsch opened this issue Jun 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@albsch
Copy link

albsch commented Jun 23, 2024

Describe the bug

The docker setup for the example basic_elixir seems to fail.

With docker-compose up in the current main branch, both the elixir container and the otel container stop with an exit code.

Expected behavior
Container don't crash.

Additional context

The otel container fails with the following message:

error decoding 'exporters': unknown type: "jaeger" for id: "jaeger" (valid values: [cassandra googlecloudpubsub logicmonitor opencensus syslog prometheusremotewrite carbon dataset elasticsearch loadbalancing mezmo prometheus alertmanager azuremonitor coralogix instana tencentcloud_logservice otlphttp awsemf googlemanagedprometheus influxdb opensearch otelarrow signalfx nop alibabacloud_logservice awskinesis awss3 azuredataexplorer clickhouse honeycombmarker kafka sentry skywalking otlp awscloudwatchlogs awsxray file logzio sapm splunk_hec zipkin debug datadog googlecloud loki pulsar sumologic])

The elixir container fails with the following message:

elixir-1             | [load_failed,"Failed to load NIF library: 'Error loading shared library libcrypto.so.1.1: No such file or directory (needed by /app/lib/crypto-4.6.5.4/priv/lib/crypto.so)'","OpenSSL might not be installed on this system.\n"]
elixir-1             | 2024-06-23 19:47:05.430038 
elixir-1             | "Unable to load crypto library. Failed with error:~n\"~p, ~s\"~n~s"
elixir-1             | {error_logger,error_msg}

I assume the elixir container crashes because of an outdated Elixir runtime and the mismatch with alpine:latest.
But why is the otel container crashing?

@albsch albsch added the bug Something isn't working label Jun 23, 2024
@tsloughter
Copy link
Member

Thanks. Looks like it is an issue with that base elixir docker image used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants