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

[Bug]: Server disconnected without sending a response.

Open rxq19951101 opened this issue 1 year ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

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

rxq19951101 avatar Apr 07 '23 14:04 rxq19951101

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

illrestart avatar Apr 11 '23 14:04 illrestart

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?

suwadaimyojin avatar Apr 15 '23 06:04 suwadaimyojin

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

santalex avatar Apr 16 '23 18:04 santalex

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

xiedawei avatar Apr 23 '23 15:04 xiedawei

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

bearcome avatar Apr 24 '23 03:04 bearcome

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

modi88 avatar Jul 06 '23 16:07 modi88

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?

Macroeye avatar Nov 05 '23 09:11 Macroeye

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

Santion1984 avatar Feb 01 '24 09:02 Santion1984