ComfyUI-InstantID icon indicating copy to clipboard operation
ComfyUI-InstantID copied to clipboard

HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))

Open WhiteKnight666 opened this issue 1 year ago • 9 comments

开了魔法也连不上,手动去下sd_xl_base.yaml这个文件丢进Models里也没用......

WhiteKnight666 avatar Jan 30 '24 13:01 WhiteKnight666

我也是同样的问题,卡了两天了 微信截图_20240131140957

1139995 avatar Jan 31 '24 06:01 1139995

github和huggingface的连接真的是玄学

WhiteKnight666 avatar Jan 31 '24 13:01 WhiteKnight666

为什么加载本地的模型,也会有这样的连接问题?

Dean8998 avatar Feb 01 '24 14:02 Dean8998

有魔法的开tun模式可解决,亲测有效。

WhiteKnight666 avatar Feb 02 '24 07:02 WhiteKnight666

1 help求解

junxinjay avatar Feb 02 '24 10:02 junxinjay

The convoluted way that worked on my side for Win 11 offline use...

Download: https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml

Move sd_xl_base.yaml to \ComfyUI\custom_nodes\ComfyUI-InstantID

Install http-server: https://learn.microsoft.com/en-us/gaming/playfab/features/authentication/platform-specific-authentication/running-an-http-server-for-testing

Modify \Lib\site-packages\diffusers\pipelines\stable_diffusion\convert_from_ckpt.py

Find: config_url = "https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml"

Overwrite the URL Link to "http://127.0.0.1:8080/sd_xl_base.yaml"

Command Prompt: cd \ComfyUI\custom_nodes\ComfyUI-InstantID http-server

JPW0080 avatar Feb 02 '24 12:02 JPW0080

+1

mhgd3250905 avatar Feb 05 '24 15:02 mhgd3250905

The convoluted way that worked on my side for Win 11 offline use...

Download: https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml

Move sd_xl_base.yaml to \ComfyUI\custom_nodes\ComfyUI-InstantID

Install http-server: https://learn.microsoft.com/en-us/gaming/playfab/features/authentication/platform-specific-authentication/running-an-http-server-for-testing

Modify \Lib\site-packages\diffusers\pipelines\stable_diffusion\convert_from_ckpt.py

Find: config_url = "https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml"

Overwrite the URL Link to "http://127.0.0.1:8080/sd_xl_base.yaml"

Command Prompt: cd \ComfyUI\custom_nodes\ComfyUI-InstantID http-server

Install http-server does not understand, Please tell me to download sd_xl_base.yaml to the local directly to config_url = "Https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml" into a local file address line

youcanyoubing avatar Feb 05 '24 16:02 youcanyoubing

Install Node.JS: https://nodejs.org/en/

Command Prompt: npm install -g http-server

Download: https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml

Move sd_xl_base.yaml to \ComfyUI\custom_nodes\ComfyUI-InstantID

Modify \Lib\site-packages\diffusers\pipelines\stable_diffusion\convert_from_ckpt.py

Find: config_url = "https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml"

Overwrite the URL Link to "http://127.0.0.1:8080/sd_xl_base.yaml"

Command Prompt: cd \ComfyUI\custom_nodes\ComfyUI-InstantID http-server

JPW0080 avatar Feb 06 '24 13:02 JPW0080