Skip to content

[BUG] Have to be connected to the internet every time you use the matting function. #26

@Aenon1

Description

@Aenon1

Prerequisites

  • I am running the latest version of ComfyUI
  • I am running the latest version of ComfyUI_frontend
  • I am running the latest version of LayerForge Github | Manager
  • I have searched existing(open/closed) issues to make sure this isn't a duplicate

What happened?

It used to work fine. I just reinstalled it, I ran it, I have all of the models, it saw that and worked. I disconnected from the internet, ran it again, and got the connection errors below. This was the same session, just a different image.
Why does it need a connection when the models are there and it just used them?

Steps to Reproduce

Run it when you are not connected to the internet. After the models were already downloaded.

How is this affecting you?

Feature doesn't work as expected

Browser

Other

Console Errors

'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /ZhengPeng7/BiRefNet/resolve/main/config.json (Caused by NameResolutionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to resolve \'huggingface.co\' ([Errno 11001] getaddrinfo failed)"))'), '(Request ID: 223c49c1-2bc8-4036-9d56-e6f1df3bf4d3)')' thrown while requesting HEAD https://huggingface.co/ZhengPeng7/BiRefNet/resolve/main/config.json
'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /ZhengPeng7/BiRefNet/resolve/main/config.json (Caused by NameResolutionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to resolve \'huggingface.co\' ([Errno 11001] getaddrinfo failed)"))'), '(Request ID: 223c49c1-2bc8-4036-9d56-e6f1df3bf4d3)')' thrown while requesting HEAD https://huggingface.co/ZhengPeng7/BiRefNet/resolve/main/config.json
Retrying in 1s [Retry 1/5].
Retrying in 1s [Retry 1/5].
'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /ZhengPeng7/BiRefNet/resolve/main/config.json (Caused by NameResolutionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to resolve \'huggingface.co\' ([Errno 11001] getaddrinfo failed)"))'), '(Request ID: 3f5dd013-bb14-4dcf-af7d-311215079e94)')' thrown while requesting HEAD https://huggingface.co/ZhengPeng7/BiRefNet/resolve/main/config.json
'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /ZhengPeng7/BiRefNet/resolve/main/config.json (Caused by NameResolutionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to resolve \'huggingface.co\' ([Errno 11001] getaddrinfo failed)"))'), '(Request ID: 3f5dd013-bb14-4dcf-af7d-311215079e94)')' thrown while requesting HEAD https://huggingface.co/ZhengPeng7/BiRefNet/resolve/main/config.json
Retrying in 2s [Retry 2/5].
Retrying in 2s [Retry 2/5].
'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /ZhengPeng7/BiRefNet/resolve/main/config.json (Caused by NameResolutionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to resolve \'huggingface.co\' ([Errno 11001] getaddrinfo failed)"))'), '(Request ID: d1b888d7-263b-47a1-9bef-32267b56311d)')' thrown while requesting HEAD https://huggingface.co/ZhengPeng7/BiRefNet/resolve/main/config.json
'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /ZhengPeng7/BiRefNet/resolve/main/config.json (Caused by NameResolutionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to resolve \'huggingface.co\' ([Errno 11001] getaddrinfo failed)"))'), '(Request ID: d1b888d7-263b-47a1-9bef-32267b56311d)')' thrown while requesting HEAD https://huggingface.co/ZhengPeng7/BiRefNet/resolve/main/config.json
Retrying in 4s [Retry 3/5].
Retrying in 4s [Retry 3/5].
'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /ZhengPeng7/BiRefNet/resolve/main/config.json (Caused by NameResolutionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to resolve \'huggingface.co\' ([Errno 11001] getaddrinfo failed)"))'), '(Request ID: fac84b0a-a90d-47b1-be21-944713e2b38b)')' thrown while requesting HEAD https://huggingface.co/ZhengPeng7/BiRefNet/resolve/main/config.json
'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /ZhengPeng7/BiRefNet/resolve/main/config.json (Caused by NameResolutionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to resolve \'huggingface.co\' ([Errno 11001] getaddrinfo failed)"))'), '(Request ID: fac84b0a-a90d-47b1-be21-944713e2b38b)')' thrown while requesting HEAD https://huggingface.co/ZhengPeng7/BiRefNet/resolve/main/config.json
Retrying in 8s [Retry 4/5].
Retrying in 8s [Retry 4/5].
'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /ZhengPeng7/BiRefNet/resolve/main/config.json (Caused by NameResolutionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to resolve \'huggingface.co\' ([Errno 11001] getaddrinfo failed)"))'), '(Request ID: ad1f9081-1511-46c6-9f4d-c4f0473a9bc0)')' thrown while requesting HEAD https://huggingface.co/ZhengPeng7/BiRefNet/resolve/main/config.json
'(MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /ZhengPeng7/BiRefNet/resolve/main/config.json (Caused by NameResolutionError("HTTPSConnection(host=\'huggingface.co\', port=443): Failed to resolve \'huggingface.co\' ([Errno 11001] getaddrinfo failed)"))'), '(Request ID: ad1f9081-1511-46c6-9f4d-c4f0473a9bc0)')' thrown while requesting HEAD https://huggingface.co/ZhengPeng7/BiRefNet/resolve/main/config.json
Retrying in 8s [Retry 5/5].
Retrying in 8s [Retry 5/5].

Logs

Additional Context, Environment (OS, ComfyUI versions, Comfyui-LayerForge version)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions