Change8
Error2 reports

Fix NewConnectionError

in OpenTelemetry Python

Solution

NewConnectionError usually indicates the exporter cannot connect to the specified backend endpoint. Verify the endpoint URL is correct and that the backend service is running and accessible from the host where the OpenTelemetry application is running; also ensure no firewall rules are blocking the connection. If you are only trying to disable exporting, explicitly set the exporter to `None` or remove its instantiation entirely.

Timeline

First reported:Jul 3, 2025
Last reported:Jul 16, 2025

Need More Help?

View the full changelog and migration guides for OpenTelemetry Python

View OpenTelemetry Python Changelog