stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Repository not found, error 128

Open shyameli opened this issue 1 week ago • 10 comments

Checklist

  • [ ] The issue exists after disabling all extensions
  • [x] The issue exists on a clean installation of webui
  • [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • [x] The issue exists in the current version of the webui
  • [ ] The issue has not been reported before recently
  • [x] The issue has been reported before but has not been fixed yet

What happened?

When I run a1111 in the terminal, I see error 128. I tried a clean reinstall of stable diffusion, it didn't help

Steps to reproduce the problem

  1. Launch webui-user.bat
  2. You will see GitHub login window
  3. Login
  4. See error 128

What should have happened?

You will get this error

What browsers do you use to access the UI ?

No response

Sysinfo

I cant lauch webui to produce Sysinfo

Console logs

venv "E:\Python\stable_diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Couldn't determine Stable Diffusion's hash: f16630a927e00098b524d687640719e4eb469b76, attempting autofix...
Fetching all contents for Stable Diffusion
info: please complete authentication in your browser...
remote: Repository not found.
fatal: repository 'https://github.com/Stability-AI/stablediffusion.git/' not found
Traceback (most recent call last):
  File "E:\Python\stable_diffusion\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "E:\Python\stable_diffusion\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "E:\Python\stable_diffusion\stable-diffusion-webui\modules\launch_utils.py", line 412, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "E:\Python\stable_diffusion\stable-diffusion-webui\modules\launch_utils.py", line 178, in git_clone
    current_hash = run_git(dir, name, 'rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}", live=False).strip()
  File "E:\Python\stable_diffusion\stable-diffusion-webui\modules\launch_utils.py", line 166, in run_git
    git_fix_workspace(dir, name)
  File "E:\Python\stable_diffusion\stable-diffusion-webui\modules\launch_utils.py", line 153, in git_fix_workspace
    run(f'"{git}" -C "{dir}" fetch --refetch --no-auto-gc', f"Fetching all contents for {name}", f"Couldn't fetch {name}", live=True)
  File "E:\Python\stable_diffusion\stable-diffusion-webui\modules\launch_utils.py", line 116, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't fetch Stable Diffusion.
Command: "git" -C "E:\Python\stable_diffusion\stable-diffusion-webui\repositories\stable-diffusion-stability-ai" fetch --refetch --no-auto-gc
Error code: 128
Для продолжения нажмите любую клавишу . . .

Additional information

https://github.com/Stability-AI/stablediffusion - 404 page not found

shyameli avatar Dec 17 '25 10:12 shyameli

I think what needs to be done, is to change the url for the latest stable "fork" of the original repository, it looks like it went private

khaledadrani avatar Dec 17 '25 15:12 khaledadrani

Same here...

yohanesc1987 avatar Dec 18 '25 07:12 yohanesc1987

if anyone is looking for a fork, I have a fork under my account https://github.com/w-e-w/stablediffusion.git

I also made a pr to update it on the dev branch

  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/17207

w-e-w avatar Dec 18 '25 11:12 w-e-w

Image

bilalaliyu3892-rgb avatar Dec 18 '25 15:12 bilalaliyu3892-rgb

Solution:

  1. go to stable_diffusion\stable-diffusion-webui\repositories\
  2. remove folder stable-diffusion-stability-ai
  3. use git bash in repositories\ - git clone https://github.com/Stability-AI/generative-models.git stable-diffusion-stability-ai
  4. run webui-user.bat

shyameli avatar Dec 19 '25 03:12 shyameli

  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/17212

w-e-w avatar Dec 20 '25 09:12 w-e-w

I think what needs to be done, is to change the url for the latest stable "fork" of the original repository, it looks like it went private

how to change url im new to this shi and am troubleshooting this entirely without any knowledge can you guide me how to change url to new one

ritz33 avatar Dec 21 '25 06:12 ritz33

how to change url im new to this shi and am troubleshooting this entirely without any knowledge can you guide me how to change url to new one

@ritz33 I believe you have read

  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/17212

what part are you having trouble understanding


if you have already figured out is there anything I can add to the post I made to make it more clearer

w-e-w avatar Dec 21 '25 08:12 w-e-w