Replies: 3 comments
-
Highly likely that the devices network policy is blocking unknown apps from opening other ports. Gradio looks for unused ports. |
Beta Was this translation helpful? Give feedback.
-
Checking if localhost can be accessed is just to verify the program running on Colab. This error is also triggered when http_proxy or https_proxy is set, but no_proxy="localhost, 127.0.0.1, ::1" is not set. stable-diffusion-webui/venv/lib/python3.8/site-packages/gradio/blocks.py +1514
stable-diffusion-webui/venv/lib/python3.8/site-packages/gradio/networking.py +176
|
Beta Was this translation helpful? Give feedback.
-
If you use a manually proxy server in Windows, you may need to set import os
from urllib.request import getproxies
proxies = getproxies()
os.environ["http_proxy"] = proxies["http"]
os.environ["https_proxy"] = proxies["https"]
os.environ["no_proxy"] = "localhost, 127.0.0.1/8, ::1" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Install works fine from home, but on windows work pc it gets an error when trying to start.
Not running with any command line args.
venv "D:\Stable Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 0cc0ee1
Installing requirements for Web UI
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Loading weights [fe4efff1e1] from D:\Stable Diffusion\stable-diffusion-webui\models\Stable-diffusion\model.ckpt
Creating model from config: D:\Stable Diffusion\stable-diffusion-webui\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 19.3s (load weights from disk: 10.2s, create model: 0.7s, apply weights to model: 1.4s, apply half(): 1.0s, move model to device: 3.4s, load textual inversion embeddings: 2.7s).
Traceback (most recent call last):
File "D:\Stable Diffusion\stable-diffusion-webui\launch.py", line 361, in
start()
File "D:\Stable Diffusion\stable-diffusion-webui\launch.py", line 356, in start
webui.webui()
File "D:\Stable Diffusion\stable-diffusion-webui\webui.py", line 218, in webui
app, local_url, share_url = shared.demo.launch(
File "D:\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1418, in launch
raise ValueError(
ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True.
Press any key to continue . . .
Tried doing the set share but more errors came up.
Does this have to do with with a locked down work windows pc? also behind a firewall but not sure if that should impact localhost.
Beta Was this translation helpful? Give feedback.
All reactions