AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: Server disconnected without sending a response. #9449

Open rxq19951101 opened 1 year ago

rxq19951101 commented 1 year ago

Is there an existing issue for this?

What happened?

What's the OS? --- Mac OS M2 What's the browser i use? --- Google Chrome

Steps to reproduce the problem

  1. I clone the project.
  2. I download the model in the project
  3. I input ./web-ui.sh

What should have happened?

  1. Everything is fine yesterday.
  2. But now when i tried fill the blank or click any button on web-ui, it just showed up "Server disconnected without sending a response."

Commit where the problem happens

the web-ui just doesn't totally work

What platforms do you use to access the UI ?

MacOS

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No

List of extensions

No

Console logs

amos@AmosdeMacBook-Air stable-diffusion-webui % ./webui.sh

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on amos user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Python 3.10.10 (main, Feb 16 2023, 02:46:59) [Clang 14.0.0 (clang-1400.0.29.202)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI
Launching Web UI with arguments: --skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
No module 'xformers'. Proceeding without it.
==============================================================================
You are running torch 1.12.1.
The program is tested to work with torch 1.13.1.
To reinstall the desired version, run with commandline flag --reinstall-torch.
Beware that this will cause a lot of large files to be downloaded, as well as
there are reports of issues with training tab on the latest version.

Use --skip-version-check commandline argument to disable this check.
==============================================================================
Loading weights [c6bbc15e32] from /Users/amos/amos/ai/stable_diffussion/web_ui/stable-diffusion-webui/models/Stable-diffusion/sd-v1-5-inpainting.ckpt
Creating model from config: /Users/amos/amos/ai/stable_diffussion/web_ui/stable-diffusion-webui/configs/v1-inpainting-inference.yaml
LatentInpaintDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.54 M params.
Applying cross attention optimization (InvokeAI).
Textual inversion embeddings loaded(0):
Model loaded in 66.3s (load weights from disk: 6.8s, create model: 2.3s, apply weights to model: 33.0s, apply half(): 19.1s, move model to device: 4.7s, load textual inversion embeddings: 0.1s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 69.2s (import torch: 0.8s, import gradio: 0.6s, import ldm: 0.2s, other imports: 0.6s, load scripts: 0.2s, load SD checkpoint: 66.4s, create ui: 0.3s, gradio launch: 0.1s).

Additional information

No response

illrestart commented 1 year ago

i got the same question in win10 and my linux server, it seems something wrong. but i dont konw why. i got this msg from websocket:

msg: "process_completed" output: {error: "Server disconnected without sending a response."} success: false

suwadaimyojin commented 1 year ago

I got the same problem, I clicked any button on the page and it didn't work, it was restored after I restarted the computer and turned off the VPN service, did you enable the proxy service?

santalex commented 1 year ago

If you have system wide proxy or vpn, please disable it before start webui, then enable it after webui started, it works for me.

xiedawei commented 1 year ago

If you have system wide proxy or vpn, please disable it before start webui, then enable it after webui started, it works for me.

It works for me too, thanks

bearcome commented 1 year ago

I got the same problem on windows , click anywhere on the page shows “Something went wrong Server disconnected without sending a response.”

modi88 commented 1 year ago

I have same problem,because i used vpn,so you can close vpn service and restart computer.

Macroeye commented 1 year ago

If you have system wide proxy or vpn, please disable it before start webui, then enable it after webui started, it works for me.

yes,How to solve it permanently?

Santion1984 commented 9 months ago

If you have system wide proxy or vpn, please disable it before start webui, then enable it after webui started, it works for me.

Thanks a lot, it works for me