Open qweronly opened 1 year ago
please use another branch bugfix/gradio_api_incompatibility to see whether the issue above is gone.
cd <your_stable_diffusion_directory>/extensions/miaoshouai-assistant/
git checkout -b verfication origin/bugfix/gradio_api_incompatibility
git pull --rebase -p
change the 'disable_log_console_output" from true to false to switch on log output to console, so we can get detailed info.
vim <your_stable_diffusion_directory>/extensions/miaoshouai-assistant/configs/settings.json
{
....
"disable_log_console_output": false,
....
}
and after then, please restart your webui again
If the issue is still present, please give the log output to us, many thanks.
During handling of the above exception, another exception occurred:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /usr/local/Large_Model_data/stable-diffusion-webui/launch.py:39 in │
│ │
│ 36 │
│ 37 │
│ 38 if name == "main": │
│ ❱ 39 │ main() │
│ 40 │
│ │
│ /usr/local/Large_Model_data/stable-diffusion-webui/launch.py:35 in main │
│ │
│ 32 │ if args.test_server: │
│ 33 │ │ configure_for_tests() │
│ 34 │ │
│ ❱ 35 │ start() │
│ 36 │
│ 37 │
│ 38 if name == "main": │
│ │
│ /usr/local/Large_Model_data/stable-diffusion-webui/modules/launch_utils.py:394 in start │
│ │
│ 391 │ if '--nowebui' in sys.argv: │
│ 392 │ │ webui.api_only() │
│ 393 │ else: │
│ ❱ 394 │ │ webui.webui() │
│ 395 │
│ │
│ /usr/local/Large_Model_data/stable-diffusion-webui/webui.py:401 in webui │
│ │
│ 398 │ │ │
│ 399 │ │ gradio_auth_creds = list(get_gradio_auth_creds()) or None │
│ 400 │ │ │
│ ❱ 401 │ │ app, local_url, share_url = shared.demo.launch( │
│ 402 │ │ │ share=cmd_opts.share, │
│ 403 │ │ │ server_name=server_name, │
│ 404 │ │ │ server_port=cmd_opts.port, │
│ │
│ /home/ /.conda/envs/sok1/lib/python3.10/site-packages/gradio/blocks.py:1805 in launch │
│ │
│ 1802 │ │ │
│ 1803 │ │ # If running in a colab or not able to access localhost, │
│ 1804 │ │ # a shareable link must be created. │
│ ❱ 1805 │ │ if _frontend and (not networking.url_ok(self.local_url)) and (not self.share): │
│ 1806 │ │ │ raise ValueError( │
│ 1807 │ │ │ │ "When localhost is not accessible, a shareable link must be created. Ple │
│ 1808 │ │ │ ) │
│ │
│ /home/ /.conda/envs/sok1/lib/python3.10/site-packages/gradio/networking.py:189 in urlok │
│ │
│ 186 │ │ for in range(5): │
│ 187 │ │ │ with warnings.catch_warnings(): │
│ 188 │ │ │ │ warnings.filterwarnings("ignore") │
│ ❱ 189 │ │ │ │ r = requests.head(url, timeout=3, verify=False) │
│ 190 │ │ │ if r.status_code in (200, 401, 302): # 401 or 302 if auth is set │
│ 191 │ │ │ │ return True │
│ 192 │ │ │ time.sleep(0.500) │
│ │
│ /home/ /.conda/envs/sok1/lib/python3.10/site-packages/requests/api.py:100 in head │
│ │
│ 97 │ """ │
│ 98 │ │
│ 99 │ kwargs.setdefault("allow_redirects", False) │
│ ❱ 100 │ return request("head", url, kwargs) │
│ 101 │
│ 102 │
│ 103 def post(url, data=None, json=None, kwargs): │
│ │
│ /home/ /.conda/envs/sok1/lib/python3.10/site-packages/requests/api.py:59 in request │
│ │
│ 56 │ # avoid leaving sockets open which can trigger a ResourceWarning in some │
│ 57 │ # cases, and look like a memory leak in others. │
│ 58 │ with sessions.Session() as session: │
│ ❱ 59 │ │ return session.request(method=method, url=url, kwargs) │
│ 60 │
│ 61 │
│ 62 def get(url, params=None, kwargs): │
│ │
│ /home/ /.conda/envs/sok1/lib/python3.10/site-packages/requests/sessions.py:589 in request │
│ │
│ 586 │ │ │ "allow_redirects": allow_redirects, │
│ 587 │ │ } │
│ 588 │ │ send_kwargs.update(settings) │
│ ❱ 589 │ │ resp = self.send(prep, send_kwargs) │
│ 590 │ │ │
│ 591 │ │ return resp │
│ 592 │
│ │
│ /home/ /.conda/envs/sok1/lib/python3.10/site-packages/requests/sessions.py:703 in send │
│ │
│ 700 │ │ start = preferred_clock() │
│ 701 │ │ │
│ 702 │ │ # Send the request │
│ ❱ 703 │ │ r = adapter.send(request, kwargs) │
│ 704 │ │ │
│ 705 │ │ # Total elapsed time of the request (approximately) │
│ 706 │ │ elapsed = preferred_clock() - start │
│ │
│ /home/ /.conda/envs/sok1/lib/python3.10/site-packages/requests/adapters.py:532 in send │
│ │
│ 529 │ │ │ │ # This branch is for urllib3 versions earlier than v1.22 │
│ 530 │ │ │ │ raise SSLError(e, request=request) │
│ 531 │ │ │ elif isinstance(e, ReadTimeoutError): │
│ ❱ 532 │ │ │ │ raise ReadTimeout(e, request=request) │
│ 533 │ │ │ elif isinstance(e, _InvalidHeader): │
│ 534 │ │ │ │ raise InvalidHeader(e, request=request) │
│ 535 │ │ │ else: │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ReadTimeout: HTTPConnectionPool(host='127.0.0.1', port=7890): Read timed out. (read timeout=3)