https://signoz.io logo
Title
v

Vishal Goel

10/10/2022, 12:16 PM
I am not getting data of apm in signoz, getting this error. [ERROR] [init.py:156- export()] opentelemetry.exporter.otlp.proto.http.trace_exporter: Failed to export batch code: 405, reason: <html> i open 4317 and 4318 port but still not allowed. can someone help into this
s

Srikanth Chekuri

10/10/2022, 12:22 PM
What was the failure reason? Is SigNoz reachable from the application?
v

Vishal Goel

10/10/2022, 12:50 PM
Yes accesible.
can we connect on huddle, i show you my error
s

Srikanth Chekuri

10/10/2022, 12:55 PM
Did you try troubleshooting and confirm https://signoz.io/docs/install/troubleshooting/?
v

Vishal Goel

10/10/2022, 1:03 PM
CMD OTEL_RESOURCE_ATTRIBUTES=service.name=automapper-signoz OTEL_EXPORTER_OTLP_ENDPOINT="http://frontend.pntrzz.com" /home/delhivery/.local/bin/opentelemetry-instrument --traces_exporter otlp_proto_http /usr/bin/supervisord
my signoz is running on frontent.pntrzz.com
i use above comand to send data
where instead of IP , i mention the hostname where my signoz is running.
is it corect? application is in the same cluster but in diff namesapce
s

Srikanth Chekuri

10/10/2022, 1:06 PM
The endpoint would be
<http://frontend.pntrzz.com:4318>
1. Please confirm it is accessible to application by running troubleshoot I shared above 2. If you are using HTTP exporter the port should be 4318
v

Vishal Goel

10/10/2022, 1:07 PM
ok let me try
Error while downloading asset. Make sure there are assets attached in the release of the remote repository.
when i curl
s

Srikanth Chekuri

10/10/2022, 1:15 PM
I am not seeing any such error. Please give it another try.
v

Vishal Goel

10/10/2022, 1:40 PM
from celery import signals # pylint: disable=no-name-in-module infra-ci-test-playground-test-75c7c9c487-rp5q5: File "/home/delhivery/.local/lib/python3.6/site-packages/celery/__init__.py", line 121, in <module> infra-ci-test-playground-test-75c7c9c487-rp5q5: def maybe_patch_concurrency(argv=sys.argv, infra-ci-test-playground-test-75c7c9c487-rp5q5: AttributeError: module 'sys' has no attribute 'argv' infra-ci-test-playground-test-75c7c9c487-rp5q5: Failed to auto initialize opentelemetry infra-ci-test-playground-test-75c7c9c487-rp5q5: Traceback (most recent call last): infra-ci-test-playground-test-75c7c9c487-rp5q5: File "/home/delhivery/.local/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 122, in initialize infra-ci-test-playground-test-75c7c9c487-rp5q5: _load_instrumentors(distro) infra-ci-test-playground-test-75c7c9c487-rp5q5: File "/home/delhivery/.local/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 88, in _load_instrumentors
some python error
s

Srikanth Chekuri

10/10/2022, 1:44 PM
No idea about that. Side note: You need minimum py3.7 https://github.com/open-telemetry/opentelemetry-python#requirements
v

Vishal Goel

10/10/2022, 3:06 PM
requests.exceptions.InvalidSchema: No connection adapters were found for '172.0.123.214:4318/v1/traces'
raise InvalidSchema("No connection adapters were found for {!r}".format(url)