Wrong ssl

jcabrera
TRIAL

6 months ago

File "/opt/venv/lib/python3.11/site-packages/httpx/transports/default.py", line 249, in handlerequest

with map_httpcore_exceptions():

File "/root/.nix-profile/lib/python3.11/contextlib.py", line 158, in exit

self.gen.throw(typ, value, traceback)

File "/opt/venv/lib/python3.11/site-packages/httpx/transports/default.py", line 118, in maphttpcore_exceptions

stream = self._connect(request)

         ^^^^^^^^^^^^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 156, in _connect

stream = stream.start_tls(**kwargs)

         ^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/httpcore/backends/sync.py", line 154, in starttls

with map_exceptions(exc_map):

File "/root/.nix-profile/lib/python3.11/contextlib.py", line 158, in exit

self.gen.throw(typ, value, traceback)

File "/opt/venv/lib/python3.11/site-packages/httpcore/exceptions.py", line 14, in mapexceptions

raise to_exc(exc) from exc

httpcore.ConnectError: [SSL: CERTIFICATEVERIFYFAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

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

Traceback (most recent call last):

File "/app/bot.py", line 17, in

gradio_client = Client("abidlabs/gradio-playground-bot")

                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/gradio_client/client.py", line 153, in init

self.config = self._get_config()

              ^^^^^^^^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/gradio_client/client.py", line 882, in _get_config

r = httpx.get(

    ^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/httpx/_api.py", line 195, in get

return request(

       ^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/httpx/_api.py", line 109, in request

return client.request(

       ^^^^^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/httpx/_client.py", line 825, in request

return self.send(request, auth=auth, follow_redirects=follow_redirects)

       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

^

File "/opt/venv/lib/python3.11/site-packages/httpx/_client.py", line 914, in send

response = self._send_handling_auth(

           ^^^^^^^^^^^^^^^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/httpx/_client.py", line 942, in _sendhandlingauth

response = self._send_handling_redirects(

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/httpx/_client.py", line 979, in _sendhandlingredirects

View Deploy details

> ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies