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

Fix: Status check fastapi view could crash due to ServerDisconnectedError. #537

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

hoh
Copy link
Member

@hoh hoh commented Feb 13, 2024

Solution: Catch the ServerDisconnectedError and return an appropriate error message instead.

…rror.

Solution: Catch the ServerDisconnectedError and return an appropriate error message instead.
Copy link

Failed to retrieve llama text: HTTPConnectionPool(host='46.255.204.205', port=5100): Max retries exceeded with url: /completion (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2639de6b50>: Failed to establish a new connection: [Errno 111] Connection refused'))

Copy link
Member

@MHHukiewitz MHHukiewitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MHHukiewitz MHHukiewitz merged commit 5bf3b5d into main Feb 14, 2024
19 checks passed
@MHHukiewitz MHHukiewitz deleted the hoh-ServerDisconnectedError branch February 14, 2024 10:38
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.

2 participants