Repository: stable-diffusion-webui
Issue: Web.UI wont finish
Labels: asking-for-help-with-local-system-issues

### Is there an existing issue for this?

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

### What happened?

I have attempted the installation process for installing automatic1111, and the web UI with it. I keep getting the same error. I looked up the error and it said it may have to do with the network. Im on an M2 Mac. I have attempted reinstalling homebrew, python, and torch. 

### Steps to reproduce the problem

cd ~/stable-diffusion-webui;./webui.sh 

### What should have happened?

It should have opened

### Version or Commit where the problem happens

I dont know

### What Python version are you running on ?

Python 3.10.x

### What platforms do you use to access the UI ?

MacOS

### What device are you running WebUI on?

CPU

### Cross attention optimization

Automatic

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
Launching Web UI with arguments: --autolaunch --skip-torch-cuda-test --skip-install --no-download-sd-model --no-half-vae --upcast-sampling --opt-sub-quad-attention --use-cpu interrogate
```


### List of extensions

no

### Console logs

```Shell
Launching launch.py...
################################################################
Python 3.10.10 (main, Apr  9 2023, 20:06:33) [Clang 14.0.3 (clang-1403.0.22.14.1)]
Commit hash: 1e30ae895e487b1b4b81033db14863c702d26268
Launching Web UI with arguments: --skip-torch-cuda-test --skip-install --no-download-sd-model --no-half-vae --upcast-sampling --opt-sub-quad-attention --use-cpu interrogate
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
No module 'xformers'. Proceeding without it.
Loading weights [699429edad] from /Users/brandonstevens/stable-diffusion-webui/models/Stable-diffusion/yiffymix_21.safetensors
Creating model from config: /Users/brandonstevens/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying sub-quadratic cross attention optimization.
Textual inversion embeddings loaded(0): 
Model loaded in 5.6s (load weights from disk: 0.1s, create model: 0.6s, apply weights to model: 2.9s, apply half(): 1.4s, move model to device: 0.5s).
Traceback (most recent call last):
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 60] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/urllib3/connection.py", line 244, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/Users/brandonstevens/stable-diffusion-webui/python/3.10.10/lib/python3.10/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Users/brandonstevens/stable-diffusion-webui/python/3.10.10/lib/python3.10/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Users/brandonstevens/stable-diffusion-webui/python/3.10.10/lib/python3.10/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Users/brandonstevens/stable-diffusion-webui/python/3.10.10/lib/python3.10/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/Users/brandonstevens/stable-diffusion-webui/python/3.10.10/lib/python3.10/http/client.py", line 975, in send
    self.connect()
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect
    conn = self._new_conn()
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/urllib3/connection.py", line 179, in _new_conn
    raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x28a9812d0>, 'Connection to 8.8.4.4 timed out. (connect timeout=None)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='8.8.4.4', port=80): Max retries exceeded with url: http://127.0.0.1:7860/startup-events (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x28a9812d0>, 'Connection to 8.8.4.4 timed out. (connect timeout=None)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/brandonstevens/stable-diffusion-webui/launch.py", line 353, in <module>
    start()
  File "/Users/brandonstevens/stable-diffusion-webui/launch.py", line 348, in start
    webui.webui()
  File "/Users/brandonstevens/stable-diffusion-webui/webui.py", line 316, in webui
    app, local_url, share_url = shared.demo.launch(
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1732, in launch
    requests.get(f"{self.local_url}startup-events", verify=ssl_verify)
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/Users/brandonstevens/stable-diffusion-webui/venv/lib/python3.10/site-packages/requests/adapters.py", line 504, in send
    raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='8.8.4.4', port=80): Max retries exceeded with url: http://127.0.0.1:7860/startup-events (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x28a9812d0>, 'Connection to 8.8.4.4 timed out. (connect timeout=None)'))
```


### Additional information

I had previously had stable diffusion running through the browser on this machine. It quit one day and then I kept getting this error. The machine is on a good network, and the firewall is disabled.