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

Pack install failed: With the current security level configuration, only custom nodes from the "default channel" can be installed. #1437

Closed
Djanghost opened this issue Jan 11, 2025 · 4 comments

Comments

@Djanghost
Copy link

I had to reinstall ComfyUI recently. Now when I try to install a custom node via the manager this message keeps popping up. When I install the nodes manually with a simple “git pull” it works.

I've done some research and there was a solution which consists in modifying the config.ini file of comfy manager but this file apparently no longer exists.

image

Trying to "update all" gives this message too:
image

ltdrdata added a commit that referenced this issue Jan 11, 2025
… by the security filter.

FIXED: Ensured that at least one reload occurs during startup.

#1437
@ltdrdata
Copy link
Owner

This bug is fixed.

And you can find config.ini dir from startup log.
image

@Djanghost
Copy link
Author

This bug is fixed.

And you can find config.ini dir from startup log. image

It's not completly i think. Here is what i get now when i just "update all":

Update ComfyUI
FETCH DATA from: E:\Comfy\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\2233941102_nodes_page_1_limit_1000.json [DONE]
nightly_channel: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/cache
FETCH DATA from: E:\Comfy\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\1514988643_custom-node-list.json [DONE]
FETCH DATA from: E:\Comfy\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\2233941102_nodes_page_1_limit_1000.json [DONE]
nightly_channel: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/cache
FETCH DATA from: E:\Comfy\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\cache\1514988643_custom-node-list.json [DONE]
Updating: ComfyUI-HunyuanLoomCUSTOM NODE PULL: Success
Updating: wavespeedTraceback (most recent call last):
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connectionpool.py", line 468, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connectionpool.py", line 463, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "http\client.py", line 1428, in getresponse
File "http\client.py", line 331, in begin
File "http\client.py", line 300, in _read_status
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\requests\adapters.py", line 667, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connectionpool.py", line 802, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\util\retry.py", line 552, in increment
raise six.reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\packages\six.py", line 769, in reraise
raise value.with_traceback(tb)
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connectionpool.py", line 468, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connectionpool.py", line 463, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "http\client.py", line 1428, in getresponse
File "http\client.py", line 331, in begin
File "http\client.py", line 300, in _read_status
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 471, in update_all
res = core.unified_manager.unified_update(k, v[0])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 1300, in unified_update
return self.cnr_switch_version(node_id, instant_execution=instant_execution, no_deps=no_deps, return_postinstall=return_postinstall)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 839, in cnr_switch_version
return self.cnr_switch_version_lazy(node_id, version_spec, no_deps, return_postinstall)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 848, in cnr_switch_version_lazy
node_info = cnr_utils.install_node(node_id, version_spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\glob\cnr_utils.py", line 86, in install_node
response = requests.get(url)
^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\requests\adapters.py", line 682, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

@Djanghost
Copy link
Author

Also the manager doesn't find some node it previously found when using the "missing node" feature

@Djanghost
Copy link
Author

Keep getting the error:

image

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

No branches or pull requests

2 participants