Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: UI can't open after launch, always connection error out #3584

Open
2 tasks done
ambzh opened this issue Nov 22, 2024 · 6 comments
Open
2 tasks done

[Issue]: UI can't open after launch, always connection error out #3584

ambzh opened this issue Nov 22, 2024 · 6 comments
Labels
cannot reproduce Reported issue cannot be easily reproducible platform Platform specific problem

Comments

@ambzh
Copy link

ambzh commented Nov 22, 2024

Issue Description

After sdnext launch successfully and I click the 127.0.0.1:7860, the page either just keep loading and soon can't connect, or oepn a few sec, and shows "connection errored out", I don't know why... and how to fix? quite need for help.

Version Platform Description

Version: app=sd.next updated=2024-11-02 hash=65ddc611 branch=master url=https://github.com/vladmandic/automatic.git/tree/master ui=main
Platform: arch=AMD64 cpu=Intel64 Family 6 Model 140 Stepping 2, GenuineIntel system=Windows release=Windows-10-10.0.22631-SP0 python=3.10.11
Engine: backend=Backend.DIFFUSERS compute=openvino device=cpu attention="Scaled-Dot-Product" mode=no_grad
Device: device=Intel(R) Iris(R) Xe Graphics (iGPU) openvino=2024.3.0
Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0

Relevant log output

D:\automatic>webui --use-openvino
Using VENV: D:\automatic\venv
21:44:03-523636 INFO     Starting SD.Next
21:44:03-523636 INFO     Logger: file="D:\automatic\sdnext.log" level=INFO size=130898 mode=append
21:44:03-523636 INFO     Python: version=3.10.11 platform=Windows bin="D:\automatic\venv\Scripts\python.exe"
                         venv="D:\automatic\venv"
21:44:04-166484 INFO     Version: app=sd.next updated=2024-11-02 hash=65ddc611 branch=master
                         url=https://github.com/vladmandic/automatic.git/tree/master ui=main
21:44:05-578852 INFO     Platform: arch=AMD64 cpu=Intel64 Family 6 Model 140 Stepping 2, GenuineIntel
                         system=Windows release=Windows-10-10.0.22631-SP0 python=3.10.11
21:44:05-578852 INFO     Args: ['--use-openvino']
21:44:05-578852 INFO     Python: version=3.10.11 platform=Windows bin="D:\automatic\venv\Scripts\python.exe"
                         venv="D:\automatic\venv"
21:44:05-594495 INFO     OpenVINO: selected
21:44:05-828962 INFO     Verifying requirements
21:44:05-828962 INFO     Verifying packages
21:44:05-969994 INFO     Extensions: disabled=[]
21:44:05-969994 INFO     Extensions: enabled=['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg']
                         extensions-builtin
21:44:05-969994 INFO     Extensions: enabled=[] extensions
21:44:05-969994 INFO     Startup: quick launch
21:44:05-969994 INFO     Extensions: disabled=[]
21:44:05-969994 INFO     Extensions: enabled=['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg']
                         extensions-builtin
21:44:05-969994 INFO     Extensions: enabled=[] extensions
21:44:05-985627 INFO     Command line args: ['--use-openvino'] use_openvino=True
21:44:10-785925 INFO     System packages: {'torch': '2.3.1+cpu', 'diffusers': '0.32.0.dev0', 'gradio':
                         '3.43.2', 'transformers': '4.46.1', 'accelerate': '1.0.1'}
INFO:nncf:NNCF initialized successfully. Supported frameworks detected: torch, onnx, openvino
21:44:12-563872 INFO     Engine: backend=Backend.DIFFUSERS compute=openvino device=cpu
                         attention="Scaled-Dot-Product" mode=no_grad
21:44:12-567405 INFO     Torch override: no-half dtype=torch.float32
21:44:12-567405 INFO     Torch override: no-half-vae dtype=torch.float32
21:44:12-927652 INFO     Torch parameters: backend=openvino device=GPU config=Auto dtype=torch.float32
                         vae=torch.float32 unet=torch.float32 context=no_grad nohalf=True nohalfvae=True
                         upscast=False deterministic=False test-fp16=False test-bf16=False
                         optimization="Scaled-Dot-Product"
21:44:14-086575 INFO     Device: device=Intel(R) Iris(R) Xe Graphics (iGPU) openvino=2024.3.0
21:44:14-227215 INFO     Available VAEs: path="models\VAE" items=3
21:44:14-227215 INFO     Available UNets: path="models\UNET" items=0
21:44:14-227215 INFO     Available TEs: path="models\Text-encoder" items=0
21:44:14-227215 INFO     Disabled extensions: ['sdnext-modernui']
21:44:14-242847 INFO     Available Models: path="models\Stable-diffusion" items=5 time=0.02
21:44:14-305389 INFO     Available Yolo: path="models\yolo" items=6 downloaded=1
21:44:14-367910 INFO     Available LoRAs: path="models\Lora" items=5 folders=2 time=0.00
21:44:15-167472 INFO     Extension:
                         script='extensions-builtin\sd-webui-agent-scheduler\scripts\task_scheduler.py' Using
                         sqlite file: extensions-builtin\sd-webui-agent-scheduler\task_scheduler.sqlite3
21:44:15-183095 INFO     Available Upscalers: items=53 downloaded=0 user=0 time=0.02 types=['None', 'Lanczos',
                         'Nearest', 'ChaiNNer', 'AuraSR', 'ESRGAN', 'LDSR', 'RealESRGAN', 'SCUNet', 'SD',
                         'SwinIR']
21:44:15-198722 INFO     Available Styles: folder="models\styles" items=288 time=0.02
21:44:15-214380 INFO     UI theme: type=Standard name="black-teal"
21:44:16-449835 INFO     Extension list is empty: refresh required
21:44:18-909856 INFO     Local URL: http://127.0.0.1:7860/
21:44:19-866393 INFO     [AgentScheduler] Task queue is empty
21:44:19-866393 INFO     [AgentScheduler] Registering APIs
21:44:20-210599 INFO     Load model: select="SD1.5\PUS_v2.0 [141e9c111a]"
21:44:20-226250 INFO     Autodetect model: detect="Stable Diffusion" class=StableDiffusionPipeline
                         file="D:\automatic\models\Stable-diffusion\SD1.5\PUS_v2.0.safetensors" size=2269MB
Diffusers  5.55it/s ████████ 100% 6/6 00:01 00:00 Loading pipeline components...
21:44:22-060135 INFO     Load network: type=embeddings loaded=3 skipped=0 time=0.69
21:44:22-076215 INFO     Model compile: pipeline=StableDiffusionPipeline mode=default backend=openvino_fx
                         fullgraph=False compile=['Model', 'VAE']
21:44:22-359349 INFO     Model compile: task=torch time=0.28
21:44:22-624884 INFO     Load model: time=2.13 load=1.14 embeddings=0.69 compile=0.28 native=512
                         memory={'ram': {'used': 6.45, 'total': 15.79}}
21:44:22-640508 INFO     Startup time: 16.64 torch=3.75 gradio=0.80 diffusers=0.11 libraries=3.54
                         extensions=0.86 detailer=0.06 ui-networks=0.21 ui-txt2img=0.20 ui-img2img=0.08
                         ui-control=0.15 ui-settings=0.45 ui-extensions=2.26 ui-defaults=0.06 launch=0.17
                         api=0.11 app-started=1.19 checkpoint=2.41

Backend

Diffusers

UI

Standard

Branch

Master

Model

StableDiffusion 1.5

Acknowledgements

  • I have read the above and searched for existing issues
  • I confirm that this is classified correctly and its not an extension issue
@vladmandic
Copy link
Owner

what browser extensions do you have installed?
any vpns or cleanweb or 3rd party firewalls or anything like that running on your system?

@vladmandic vladmandic added the question Further information is requested label Nov 22, 2024
@ambzh
Copy link
Author

ambzh commented Nov 23, 2024

what browser extensions do you have installed? any vpns or cleanweb or 3rd party firewalls or anything like that running on your system?

  1. browser extension as sceenshot shows;
  2. I use V2rayN, no 3rd party firewall.
    screenshot-1732329871047

@vladmandic vladmandic added cannot reproduce Reported issue cannot be easily reproducible platform Platform specific problem and removed question Further information is requested labels Nov 23, 2024
@vladmandic
Copy link
Owner

i'm not familiar with V2rayN. extensions look ok, but can never be sure - i've seen similar issues with adblocker extensions.
in general, something is blocking your browser from accessing local page. server is up, but browser is blocked from accessing it.
as a test, try using clean browser without extensions and no V2rayN or anything that might interfere in communication.

@ambzh
Copy link
Author

ambzh commented Nov 24, 2024

I got a chrome, clean, and without using vpn, local page can open successfully, but a new error ofen comes up, like this:

16:35:47-507761 ERROR MOTD: ('Connection aborted.', ConnectionResetError(10054, ''An existing connection was forcibly closed by the remote host'',None, 10054, None))

and page get freezed, click whatever and nothing happen.
Guess still have sth block the connection, might it be firewall? (I just have windows defender)

@vladmandic
Copy link
Owner

motd error is non-critical, but its indicative that something is resetting connections on your system.
and if that connection gets closed, its most likely happening to others - and thus you see page not doing anything.
i really cannot help much here, you need to figure out what's doing all that on your local system.

@ambzh
Copy link
Author

ambzh commented Nov 26, 2024

ok, thanks for all your patient reply, : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot reproduce Reported issue cannot be easily reproducible platform Platform specific problem
Projects
None yet
Development

No branches or pull requests

2 participants