Open HaruomiX opened 1 year ago
export COMMANDLINE_ARGS="--no-gradio-queue"
i am also having same issue but i use stable diffusion on google colab. can someone help me on it?
i used !COMMANDLINE_ARGS="--disable-safe-unpickle --no-half-vae --share --xformers --enable-insecure-extension --gradio-queue --cloudflared --theme dark" REQS_FILE="requirements.txt" python launch.py
but it doesn't work so i changed into !COMMANDLINE_ARGS="--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --theme dark" REQS_FILE="requirements.txt" python launch.py
i am using counterfeit v2.5 on google colab Pay As You Go $9.99
also i put this in the console of google colab web so it can remain use while run
function ClickConnect() {
console.log("Working");
document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click();
}
setInterval(ClickConnect, 60000);
export COMMANDLINE_ARGS="--no-gradio-queue"
i am also having same issue but i use stable diffusion on google colab. can someone help me on it?
i used
!COMMANDLINE_ARGS="--disable-safe-unpickle --no-half-vae --share --xformers --enable-insecure-extension --gradio-queue --cloudflared --theme dark" REQS_FILE="requirements.txt" python launch.py
but it doesn't work so i changed into!COMMANDLINE_ARGS="--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --theme dark" REQS_FILE="requirements.txt" python launch.py
i am using counterfeit v2.5 on google colab Pay As You Go $9.99also i put this in the console of google colab web so it can remain use while run
function ClickConnect() { console.log("Working"); document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click(); } setInterval(ClickConnect, 60000);
i dont know much can you tell where i have to put !COMMANDLINE_ARGS="--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --theme dark" REQS_FILE="requirements.txt" python launch.py
pasting this in new cell says "python3: can't open file '/content/launch.py': [Errno 2] No such file or directory"
In my case, this error occurred because of the anti-virus application kaspersky premium. It blocked the connection of Public My WebUI 127.0.0.1:7860. The solution is to add 127.0.0.1:7860 to Kaspersky Premium's trusted address.
In my case, this error occurred because of the anti-virus application kaspersky premium. It blocked the connection of Public My WebUI 127.0.0.1:7860. The solution is to add 127.0.0.1:7860 to Kaspersky Premium's trusted address.
oh kaspersky, always doing weird things.. thank u so much! your solution was what i needed, this antivirus seem to mess with most of the AI programs xD (had an issue like this with Okada's voice changer)
I got it fixed by NOT adding --no-gradio-queue
option, instead updating Nginx proxy settings as follows:
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
Just copy and paste
export COMMANDLINE_ARGS="--no-gradio-queue"
in your cli tool which you use to runbash webui.sh
command, then press enter. And run this before runbash webui.sh
, or you can put this command line in your ~/.bashrc file
I am just running Automatic1111 by 2x Clicking "webui-user.bat" file. How do I add this command line? I am not coding savvy :(
I have same issue when i use ngnix for proxy. And solved by setting proxy parameters that reference by Gradio's guide. By the way, this is not bug. It's he relationship of how Gradio Queue works.
Gradio's Guide running-gradio-on-your-web-server-with-nginx
Nginx Proxy Paramters
server { listen 80; server_name example.com www.example.com; location /gradio-demo/ { proxy_pass http://127.0.0.1:7860/; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; } }
export COMMANDLINE_ARGS="--no-gradio-queue" worked for me. TOO thanks!
取消外网,清除代理信息就可以
可部署在服务器上,只能用外网
哥们 你解决了吗
The webui was unusable while using an nginx reverse proxy to access my install remotely. Each connection got an "Connection errored out" warning, and I couldn't generate any images.
Can confirm that --no-gradio-queue fixed the issue.
Just copy and paste
export COMMANDLINE_ARGS="--no-gradio-queue"
in your cli tool which you use to runbash webui.sh
command, then press enter. And run this before runbash webui.sh
, or you can put this command line in your ~/.bashrc fileusually i just run double click the batch file on windows. i dont usually run on a cli. do i run it like this? then when i run my stable diffusion like this
Just copy and paste
export COMMANDLINE_ARGS="--no-gradio-queue"
in your cli tool which you use to runbash webui.sh
command, then press enter. And run this before runbash webui.sh
, or you can put this command line in your ~/.bashrc fileI am just running Automatic1111 by 2x Clicking "webui-user.bat" file. How do I add this command line? I am not coding savvy :(
Open webui-user.bat
and add set COMMANDLINE_ARGS=--no-gradio-queue
It still took a couple hundred seconds but I was able to run on the latest repo clone.
When running webui.sh
, add the argument --no-gradio-queue
can also fix this issue. However, this is not the preferred way since the gradio queue has been disabled.
$ ./webui.sh --listen --no-gradio-queue
Actually, @BrassaiKao 's solution provides the insights. By adding only these two headers in the nginx conf fixed the problem.
...
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
...
Should add it to the error message to help with resolving this issue.
proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";
References
Thanks this did the trick for me too.
Connection Errored Out. Tried this: export COMMANDLINE_ARGS="--no-gradio-queue" but in mac termial window i get: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
export COMMANDLINE_ARGS="--no-gradio-queue"
This worked for me on:
.-/+oossssoo+/-. luislascano01@LuisTensorTank
`:+ssssssssssssssssss+:` ----------------------------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04.4 LTS x86_64
.ossssssssssssssssssdMMMNysssso. Host: Z790 AORUS ELITE X AX -CF
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 6.8.0-40-generic
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 2 hours, 7 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 2282 (dpkg), 9 (flatpak), 33 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.1.16
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 1080x1920, 1920x1080
ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: GNOME 42.9
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Mutter
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: Adwaita
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Yaru-purple-dark [GTK2/3]
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Yaru-purple [GTK2/3]
+sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: gnome-terminal
/ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: Intel i7-14700K (28) @ 5.500GHz
.ossssssssssssssssssdMMMNysssso. GPU: Intel Device a780
-+sssssssssssssssssyyyssss+- GPU: NVIDIA 01:00.0 NVIDIA Corporation Device 2684
:+ssssssssssssssssss+:
Memory: 10415MiB / 64062MiB
.-/+oossssoo+/-.
ISP: AT&T. Router: RT-AX88U GPU: RTX-4090
Is there an existing issue for this?
What happened?
This is my first time making a report on github, so I might miss a few things here and there.
I was using it normally for the first 5 minutes, after adding a couple of models, and changed model for the first time, it stayed refreshing for 5 minutes so I decided to refresh the page and now I see errors all over the page, when I type in the input box it shows an error and I can't change models it shows error there, I tried reloading UI, reinstalling the whole git and deleting the huggingface folder from ./cache sometimes it works but after 1 minute it breaks again
I've tried checking the browser console all I see is 1 error and its
Firefox can’t establish a connection to the server at ws://127.0.0.1:7860/queue/join.
Steps to reproduce the problem
Unknown
What should have happened?
Should not show error messages and work normally.
Commit where the problem happens
955df775
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of extensions
Default
Console logs
Additional information
No response