Repository: stable-diffusion-webui
Issue: [Bug]: ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:17897/')
Labels: bug-report

### Checklist

- [ ] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

I run web.sh and report this



### Steps to reproduce the problem

I run web.sh and report this

Launching Web UI with arguments: 
Traceback (most recent call last):
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/launch.py", line 44, in main
    start()
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/modules/launch_utils.py", line 465, in start
    import webui
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/webui.py", line 13, in <module>
    initialize.imports()
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/modules/initialize.py", line 23, in imports
    import gradio  # noqa: F401
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/__init__.py", line 3, in <module>
    import gradio.components as components
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components/__init__.py", line 1, in <module>
    from gradio.components.annotated_image import AnnotatedImage
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components/annotated_image.py", line 12, in <module>
    from gradio import utils
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py", line 353, in <module>
    class AsyncRequest:
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py", line 372, in AsyncRequest
    client = httpx.AsyncClient()
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/httpx/_client.py", line 1395, in __init__
    proxy_map = self._get_proxy_map(proxies, allow_env_proxies)
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/httpx/_client.py", line 216, in _get_proxy_map
    return {
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/httpx/_client.py", line 217, in <dictcomp>
    key: None if url is None else Proxy(url=url)
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/httpx/_config.py", line 336, in __init__
    raise ValueError(f"Unknown scheme for proxy URL {url!r}")
ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:17897/')


### What should have happened?

unknown

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

Google Chrome

### Sysinfo

# 系统详情报告
---

## 报告详情
- **生成日期：**                                        2024-09-10 22:41:35

## 硬件信息：
- **硬件型号：**                                        ASUS ROG CROSSHAIR X670E HERO
- **内存：**                                          64.0 GiB
- **处理器：**                                         AMD Ryzen™ 9 7950X × 32
- **显卡：**                                          NVIDIA GeForce RTX™ 4080 SUPER
- **磁盘容量：**                                        6.0 TB

## 软件信息：
- **固件版本：**                                        1415
- **操作系统名称：**                                      Arch Linux
- **操作系统内部版本：**                                    rolling
- **操作系统类型：**                                      64 位
- **GNOME 版本：**                                    46
- **窗口系统：**                                        Wayland
- **内核版本：**                                        Linux 6.10.8-arch1-1


### Console logs

```Shell
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
################################################################

################################################################
Running on lux user
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
glibc version is 2.40
Check TCMalloc: libtcmalloc_minimal.so.4
libtcmalloc_minimal.so.4 is linked with libc.so,execute LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4
Python 3.10.14 (main, Sep  4 2024, 12:07:11) [GCC 14.2.1 20240805]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Launching Web UI with arguments: 
Traceback (most recent call last):
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/launch.py", line 44, in main
    start()
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/modules/launch_utils.py", line 465, in start
    import webui
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/webui.py", line 13, in <module>
    initialize.imports()
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/modules/initialize.py", line 23, in imports
    import gradio  # noqa: F401
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/__init__.py", line 3, in <module>
    import gradio.components as components
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components/__init__.py", line 1, in <module>
    from gradio.components.annotated_image import AnnotatedImage
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components/annotated_image.py", line 12, in <module>
    from gradio import utils
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py", line 353, in <module>
    class AsyncRequest:
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py", line 372, in AsyncRequest
    client = httpx.AsyncClient()
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/httpx/_client.py", line 1395, in __init__
    proxy_map = self._get_proxy_map(proxies, allow_env_proxies)
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/httpx/_client.py", line 216, in _get_proxy_map
    return {
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/httpx/_client.py", line 217, in <dictcomp>
    key: None if url is None else Proxy(url=url)
  File "/home/1.worisur/1.tools/1.ai/01.sd/stable-diffusion-webui/venv/lib/python3.10/site-packages/httpx/_config.py", line 336, in __init__
    raise ValueError(f"Unknown scheme for proxy URL {url!r}")
ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:17897/')
```


### Additional information

_No response_