AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
142.97k stars 26.95k forks source link

[Bug]: double click webui-user.bat will emerge this issue,I can't understand ,please help me . Windows11 #8774

Open yuhao0407 opened 1 year ago

yuhao0407 commented 1 year ago

Is there an existing issue for this?

What happened?

venv "wangrui\Scripts\Python.exe" Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)] Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2 Cloning Stable Diffusion into D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai... Traceback (most recent call last): File "D:\AI\stable-diffusion-webui\launch.py", line 380, in prepare_environment() File "D:\AI\stable-diffusion-webui\launch.py", line 315, in prepare_environment git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash) File "D:\AI\stable-diffusion-webui\launch.py", line 167, in git_clone run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}") File "D:\AI\stable-diffusion-webui\launch.py", line 113, in run raise RuntimeError(message) RuntimeError: Couldn't clone Stable Diffusion. Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai" Error code: 128 stdout: stderr: Cloning into 'D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai'... fatal: unable to access 'https://github.com/Stability-AI/stablediffusion.git/': Recv failure: Connection was reset

Steps to reproduce the problem

  1. Cross the setup about open_clip question
  2. Press ....
  3. ...

What should have happened?

sorry, I can't interpret this question

Commit where the problem happens

stable diffusion webui-user.bat

What platforms do you use to access the UI ?

No response

What browsers do you use to access the UI ?

No response

Command Line Arguments

venv "wangrui\Scripts\Python.exe"
Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Cloning Stable Diffusion into D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai...
Traceback (most recent call last):
  File "D:\AI\stable-diffusion-webui\launch.py", line 380, in <module>
    prepare_environment()
  File "D:\AI\stable-diffusion-webui\launch.py", line 315, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\AI\stable-diffusion-webui\launch.py", line 167, in git_clone
    run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}")
  File "D:\AI\stable-diffusion-webui\launch.py", line 113, in run
    raise RuntimeError(message)
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai"
Error code: 128
stdout: <empty>
stderr: Cloning into 'D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai'...
fatal: unable to access 'https://github.com/Stability-AI/stablediffusion.git/': Recv failure: Connection was reset

List of extensions

venv "wangrui\Scripts\Python.exe" Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)] Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2 Cloning Stable Diffusion into D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai... Traceback (most recent call last): File "D:\AI\stable-diffusion-webui\launch.py", line 380, in prepare_environment() File "D:\AI\stable-diffusion-webui\launch.py", line 315, in prepare_environment git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash) File "D:\AI\stable-diffusion-webui\launch.py", line 167, in git_clone run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}") File "D:\AI\stable-diffusion-webui\launch.py", line 113, in run raise RuntimeError(message) RuntimeError: Couldn't clone Stable Diffusion. Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai" Error code: 128 stdout: stderr: Cloning into 'D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai'... fatal: unable to access 'https://github.com/Stability-AI/stablediffusion.git/': Recv failure: Connection was reset

Console logs

venv "wangrui\Scripts\Python.exe"
Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Cloning Stable Diffusion into D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai...
Traceback (most recent call last):
  File "D:\AI\stable-diffusion-webui\launch.py", line 380, in <module>
    prepare_environment()
  File "D:\AI\stable-diffusion-webui\launch.py", line 315, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\AI\stable-diffusion-webui\launch.py", line 167, in git_clone
    run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}")
  File "D:\AI\stable-diffusion-webui\launch.py", line 113, in run
    raise RuntimeError(message)
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai"
Error code: 128
stdout: <empty>
stderr: Cloning into 'D:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai'...
fatal: unable to access 'https://github.com/Stability-AI/stablediffusion.git/': Recv failure: Connection was reset

Additional information

please help me how to solve this problem and succeed to use stable-diffusion

Night-Chan commented 1 year ago

It seems you're unable to connect to Github Could you be running a firewall that could be blocking your connection to Github? It could also be caused by something like an antivirus, so try checking that. Not a guaranteed solution but it cant hurt to try.

shikkoku commented 1 year ago

VPN

canline9 commented 1 year ago

I had the same problem, and I still haven't solved it. Is there anyone who can help me? Describe how you solved the problem.

shikkoku commented 1 year ago

I had the same problem, and I still haven't solved it. Is there anyone who can help me? Describe how you solved the problem.

Use some VPN or Proxy.

Johnson2Z commented 1 year ago

I met same problem today and solve it. Do this,

  1. go to https://github.com/Stability-AI/stablediffusion,
  2. Click Code button, on popup page, click open with Github desktop, (link also usful)
  3. install the Github desktop, select the third tab, install from url, copy url from above code pop up,
  4. select local folder: "..stable-diffusion-webui\repositories"
  5. choose clone.
  6. after that rename the newly cloned folder to "stable-diffusion-stability-ai"
  7. run webui-user.bat
  8. enjoy
ThePianoMan2255 commented 1 year ago

Install Git

MaheshLonkar commented 11 months ago

I met same problem today and solve it. Do this,

  1. go to https://github.com/Stability-AI/stablediffusion,
  2. Click Code button, on popup page, click open with Github desktop, (link also usful)
  3. install the Github desktop, select the third tab, install from url, copy url from above code pop up,
  4. select local folder: "..stable-diffusion-webui\repositories"
  5. choose clone.
  6. after that rename the newly cloned folder to "stable-diffusion-stability-ai"
  7. run webui-user.bat
  8. enjoy

i follow above steps still its not working Screenshot (414)