v3ucn / CosyVoice_For_Windows

CosyVoice在Windows环境下使用的版本
Apache License 2.0
454 stars 67 forks source link

整合包 gradio报错 #35

Open monkeycc opened 1 week ago

monkeycc commented 1 week ago
2024-10-24 15:53:53,146 INFO HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
2024-10-24 15:53:53,146 DEBUG receive_response_body.started request=<Request [b'GET']>
2024-10-24 15:53:53,146 DEBUG receive_response_body.complete
2024-10-24 15:53:53,146 DEBUG response_closed.started
2024-10-24 15:53:53,146 DEBUG response_closed.complete
2024-10-24 15:53:53,146 DEBUG close.started
2024-10-24 15:53:53,146 DEBUG close.complete
E:\CosyVoice-25hz\py311\Lib\site-packages\gradio\analytics.py:106: UserWarning: IMPORTANT: You are using gradio version 4.44.0, however version 4.44.1 is available, please upgrade.
--------
  warnings.warn(
2024-10-24 15:53:57,488 DEBUG start_tls.failed exception=ConnectTimeout(TimeoutError('_ssl.c:989: The handshake operation timed out'))
Exception in thread Thread-3 (_do_normal_analytics_request):
Traceback (most recent call last):
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_transports\default.py", line 72, in map_httpcore_exceptions
    yield
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_transports\default.py", line 236, in handle_request
    resp = self._pool.handle_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpcore\_sync\connection_pool.py", line 216, in handle_request
    raise exc from None
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpcore\_sync\connection_pool.py", line 196, in handle_request
    response = connection.handle_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpcore\_sync\connection.py", line 99, in handle_request
    raise exc
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpcore\_sync\connection.py", line 76, in handle_request
    stream = self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpcore\_sync\connection.py", line 154, in _connect
    stream = stream.start_tls(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpcore\_backends\sync.py", line 152, in start_tls
    with map_exceptions(exc_map):
  File "E:\CosyVoice-25hz\py311\Lib\contextlib.py", line 158, in __exit__
    self.gen.throw(typ, value, traceback)
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpcore\_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.ConnectTimeout: _ssl.c:989: The handshake operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "E:\CosyVoice-25hz\py311\Lib\threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "E:\CosyVoice-25hz\py311\Lib\threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\gradio\analytics.py", line 70, in _do_normal_analytics_request
    data["ip_address"] = get_local_ip_address()
                         ^^^^^^^^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\gradio\analytics.py", line 131, in get_local_ip_address
    ip_address = httpx.get(
                 ^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_api.py", line 210, in get
    return request(
           ^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_api.py", line 118, in request
    return client.request(
           ^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_client.py", line 837, in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_client.py", line 926, in send
    response = self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_client.py", line 954, in _send_handling_auth
    response = self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_client.py", line 991, in _send_handling_redirects
    response = self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_client.py", line 1027, in _send_single_request
    response = transport.handle_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_transports\default.py", line 235, in handle_request
    with map_httpcore_exceptions():
  File "E:\CosyVoice-25hz\py311\Lib\contextlib.py", line 158, in __exit__
    self.gen.throw(typ, value, traceback)
  File "E:\CosyVoice-25hz\py311\Lib\site-packages\httpx\_transports\default.py", line 89, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectTimeout: _ssl.c:989: The handshake operation timed out