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

Gracefully handle httpx.ConnectError from Client and AsyncClient #381

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wmichelin
Copy link

@wmichelin wmichelin commented Dec 15, 2024

Log a more understandable and actionable error when we encounter the httpx.ConnectError

fixes #304

@wmichelin wmichelin force-pushed the connection-error-handling branch from e135103 to eb9eb0f Compare December 15, 2024 02:52
@wmichelin wmichelin marked this pull request as ready for review December 15, 2024 02:53
@wmichelin wmichelin force-pushed the connection-error-handling branch 4 times, most recently from ff45415 to 6ea8642 Compare December 15, 2024 02:56
@wmichelin wmichelin force-pushed the connection-error-handling branch from 6ea8642 to a15e1a6 Compare December 15, 2024 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ollama gives error Connection refused.
1 participant