ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

The browser keeps getting stuck in the loading animation when accessing comfyui.

Open MagicChen996 opened this issue 1 year ago • 11 comments

Your question

After successful installation and startup on my Linux server, browser access is always stuck on loading animation image It is always as shown in the figure below image

the brower console has some error reporter image

This is my command about install comfyUI before install,I create python3.12.5 by conda

  1. git clone https://github.com/comfyanonymous/ComfyUI.git
  2. pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
  3. pip install -r requirements.txt
  4. python main.py

Logs

No response

Other

No response

MagicChen996 avatar Jan 13 '25 09:01 MagicChen996

Could it be caused by a browser extension? Have you also tried cleaning the browser cache?

LukeG89 avatar Jan 13 '25 10:01 LukeG89

I got the same thing. See the content must be served over https? Opening port 80 and 443 solved it for me.

Picofrank avatar Jan 13 '25 18:01 Picofrank

I got the same thing. See the content must be served over https? Opening port 80 and 443 solved it for me.

I have already tried this and also changed to FireFox browser and the same problem happened.

MagicChen996 avatar Jan 14 '25 02:01 MagicChen996

I got the same thing. See the content must be served over https? Opening port 80 and 443 solved it for me.

I'm wondering if it's because I made an nginx proxy?

MagicChen996 avatar Jan 14 '25 02:01 MagicChen996

I changed the startup command and added DEBUG, and found that there were some errors when the service started. Is this the cause of my problem? image

MagicChen996 avatar Jan 14 '25 03:01 MagicChen996

Have you solved this problem? I encountered the same issue.

tungloong avatar Feb 08 '25 06:02 tungloong

Have you solved this problem? I encountered the same issue.

My problem is because the server I am using has an automated proxy gateway. I only need to click on the service access address output by the console to jump to comfyui. However, this automated proxy does not rewrite static resources. Therefore, in the end, I used nginx as a directional proxy locally on the server and configured a DNS domain name resolution record for the server. The solution was solved.

`server { listen 80; server_name #The domain name you applied for; add_header Strict-Transport-Security "max-age=31536000"; error_page 497 https://$host$request_uri; location /comfyui/ { proxy_pass http://127.0.0.1:8188/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; # WebSocket support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }

}`

MagicChen996 avatar Feb 08 '25 06:02 MagicChen996

In my case, create a 'workflows' folder in .../ComfyUI/users/default works.

cd user/default/
mkdir workflows

thanks for your help.

tungloong avatar Feb 13 '25 06:02 tungloong

In my case, create a 'workflows' folder in .../ComfyUI/users/default works.

cd user/default/ mkdir workflows thanks for your help.

In my test, it loaded without any issues even if the workflows directory did not exist. I also confirmed that the workflows directory was created when opening the workflow tab for the first time.

ltdrdata avatar Feb 13 '25 12:02 ltdrdata

same issue, just updated. was not experiencing this issue before. Not really sure where to start to resolve. Might have to go to a previous version

greatmate98 avatar May 10 '25 16:05 greatmate98

I have the same issue as well.

lazydm745 avatar May 11 '25 16:05 lazydm745