pharmapsychotic / clip-interrogator

Image to prompt with BLIP and CLIP
MIT License
2.71k stars 431 forks source link

Error occurred when executing ClipInterrogator: Remote end closed connection without response #113

Open zBrightz opened 7 months ago

zBrightz commented 7 months ago

Error occurred when executing ClipInterrogator:

Remote end closed connection without response

File "E:\ConfyUI-aki\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "E:\ConfyUI-aki\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "E:\ConfyUI-aki\ComfyUI\execution.py", line 65, in map_node_over_list results.append(getattr(obj, func)(*input_data_all)) File "E:\ConfyUI-aki\ComfyUI\custom_nodes\comfyui-mixlab-nodes\nodes\ClipInterrogator.py", line 230, in run ci = Interrogator(config) File "E:\ConfyUI-aki\ComfyUI\python\lib\site-packages\clip_interrogator\clip_interrogator.py", line 71, in init self.load_clip_model() File "E:\ConfyUI-aki\ComfyUI\python\lib\site-packages\clip_interrogator\clip_interrogator.py", line 105, in load_clip_model self.clipmodel, , self.clip_preprocess = open_clip.create_model_and_transforms( File "E:\ConfyUI-aki\ComfyUI\python\lib\site-packages\open_clip\factory.py", line 384, in create_model_and_transforms model = create_model( File "E:\ConfyUI-aki\ComfyUI\python\lib\site-packages\open_clip\factory.py", line 203, in create_model model = load_openai_model( File "E:\ConfyUI-aki\ComfyUI\python\lib\site-packages\open_clip\openai.py", line 56, in load_openai_model model_path = download_pretrained_from_url(get_pretrained_url(name, 'openai'), cache_dir=cache_dir) File "E:\ConfyUI-aki\ComfyUI\python\lib\site-packages\open_clip\pretrained.py", line 521, in download_pretrained_from_url with urllib.request.urlopen(url) as source, open(download_target, "wb") as output: File "E:\ConfyUI-aki\ComfyUI\python\lib\urllib\request.py", line 216, in urlopen return opener.open(url, data, timeout) File "E:\ConfyUI-aki\ComfyUI\python\lib\urllib\request.py", line 519, in open response = self._open(req, data) File "E:\ConfyUI-aki\ComfyUI\python\lib\urllib\request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "E:\ConfyUI-aki\ComfyUI\python\lib\urllib\request.py", line 496, in _call_chain result = func(args) File "E:\ConfyUI-aki\ComfyUI\python\lib\urllib\request.py", line 1391, in https_open return self.do_open(http.client.HTTPSConnection, req, File "E:\ConfyUI-aki\ComfyUI\python\lib\urllib\request.py", line 1352, in do_open r = h.getresponse() File "", line 128, in getresponse File "E:\ConfyUI-aki\ComfyUI\python\lib\http\client.py", line 1375, in getresponse response.begin() File "E:\ConfyUI-aki\ComfyUI\python\lib\http\client.py", line 318, in begin version, status, reason = self._read_status() File "E:\ConfyUI-aki\ComfyUI\python\lib\http\client.py", line 287, in _read_status raise RemoteDisconnected("Remote end closed connection without"

amaillere commented 6 months ago

I add the same problem recently on my corporate computer , which as a DPI proxy , changing SSL certifcates of remote sites with a self-signed one... I have no workaround at this time