Comfy-Org / ComfyUI_frontend

Official front-end implementation of ComfyUI
https://www.comfy.org/
GNU General Public License v3.0
457 stars 58 forks source link

[Bug]: Not working in a reverse proxy environment from version 1.2.49 #941

Open K-I-M-J-I-N opened 3 hours ago

K-I-M-J-I-N commented 3 hours ago

Frontend Version

1.2.49~

Expected Behavior

works fine.

Actual Behavior

No UI is generated except for the menu, and functionalities such as double-clicking, right-clicking, and loading workflows are also not working properly. The UI for ComfyUI Manager or rgthree is also not visible.

image

New UI

image

Old UI

When trying to load a workflow,

TypeError: can't access property "configure", this.graph is undefined

Steps to Reproduce

Using JupyterHub and accessing ComfyUI through JupyterHub's reverse proxy. The URL is as follows: https://.../user/{username}/proxy/8188/

Debug Logs

python main.py --front-end-version Comfy-Org/ComfyUI_frontend@1.2.49 --disable-all-custom-nodes
Total VRAM 40339 MB, total RAM 1031868 MB
pytorch version: 2.4.1+cu121
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA A100-SXM4-40GB : cudaMallocAsync
Using pytorch cross attention
Failed to initialize frontend: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/Comfy-Org/ComfyUI_frontend/releases
Falling back to the default frontend.
[Prompt Server] web root: /home/jin/ComfyUI/web
  @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
Skipping loading of custom nodes
Starting server

To see the GUI go to: http://127.0.0.1:8188

Browser Logs

ComfyUI Front-end version: 1.2.60

What browsers do you use to access the UI ?

Mozilla Firefox, Google Chrome

Other

No response

mcmonkey4eva commented 3 hours ago

this PR should fix that https://github.com/Comfy-Org/ComfyUI_frontend/pull/939