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

Fixes the 'read operation timed out' exception. #211

Conversation

oprogramadorreal
Copy link

@oprogramadorreal oprogramadorreal commented Nov 17, 2024

When using the 'comfy model download' command to download large models from Civitai, an exception with the message 'The read operation timed out' is frequently thrown. This change prevents the exception from occurring.

This is a proposal to fix the issue: #210

When using the 'comfy model download' command to download large models from Civitai, an exception with the message 'The read operation timed out' is frequently thrown. This change prevents the exception from occurring.
@oprogramadorreal
Copy link
Author

I noticed that the issue occurs only with CivitAI URLs (not HuggingFace URLs, for example). This approach disables the 'read' timeout for anyone calling the 'download_file' function, which is not ideal. I will close it and provide a more specific solution.

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