Error1 reports
Fix NewConnectionError
in RAGAS
✅ Solution
NewConnectionError in ragas usually arises when the evaluation tries to connect to an external service (like MLflow or OpenAI) and fails due to network issues or the service being unavailable. Ensure the target service (e.g., MLflow server) is running and accessible from your environment by checking its status and network connectivity; additionally, verify your environment has the necessary permissions to access external resources. If using a proxy, configure the `HTTP_PROXY` and `HTTPS_PROXY` environment variables accordingly.
Related Issues
Real GitHub issues where developers encountered this error:
Timeline
First reported:Nov 20, 2025
Last reported:Nov 20, 2025