stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: [Errno 99] error while attempting to bind on address
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
I'm trying to run the webui using SSL but whenever I try I get the following error:
[Errno 99] error while attempting to bind on address ('##.###.##.###', 42069): cannot assign requested address
It works fine over http so this isn't a firewall or port forwarding issue.
Steps to reproduce the problem
- Set command line arguments in webui-user.sh to enable TLS
- Launch the webui
- Get the error
This does not happen and launches as expected and is accessible via the web over http if I don't set my keyfile/cert/server name.
What should have happened?
It should have launched with TLS enabled.
Commit where the problem happens
22bcc7be
What platforms do you use to access the UI ?
Linux, iOS
What browsers do you use to access the UI ?
Mozilla Firefox, Apple Safari
Command Line Arguments
export COMMANDLINE_ARGS="--listen --port 42069 --enable-insecure-extension-access --tls-keyfile /home/me/privkey.pem --tls-cert /home/me/fullchain.pem --server-name ai.mydomain.com"
List of extensions
infinite-zoom-automatic1111-webui sd-webui-additional-networks sd-webui-controlnet
Console logs
Python 3.10.9 (main, Mar 1 2023, 18:23:06) [GCC 11.2.0]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI
Installing requirements 1 for Infinite-Zoom
Launching Web UI with arguments: --listen --port 42069 --enable-insecure-extension-access --tls-keyfile /home/me/privkey.pem --tls-cert /home/me/fullchain.pem --server-name ai.mydomain.com
No module 'xformers'. Proceeding without it.
[AddNet] Updating model hashes...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 3148.88it/s]
[AddNet] Updating model hashes...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 2652.94it/s]
ControlNet v1.1.116
ControlNet v1.1.116
Loading weights [92970aa785] from /home/me/sd/models/Stable-diffusion/dreamlike-photoreal-2.0.safetensors
Creating model from config: /home/me/sd/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0):
Model loaded in 1.9s (load weights from disk: 0.2s, create model: 0.3s, apply weights to model: 0.8s, apply half(): 0.3s, move model to device: 0.3s).
Running with TLS
ERROR: [Errno 99] error while attempting to bind on address ('##.###.##.###', 42069): cannot assign requested address
^CInterrupted with signal 2 in <frame at 0x7f3efb363ac0, file '/home/me/anaconda3/lib/python3.10/site-packages/gradio/networking.py', line 39, code run_in_thread>
Additional information
No response