You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In Argilla version 2+, httpx.Client is created by rg.Argilla class. However, even though verify=False is added, still get Error ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1000)
Tested Argilla version 2.1.0 and verify=False works fine.
xiajing10
changed the title
[BUG-python/deployment] verify=False parameter is not passed to httpx.Client through Argilla class (v2)
[BUG-python/deployment] verify=False parameter is not passed to httpx.Client through Argilla class (v2.2.0)
Sep 30, 2024
Describe the bug
In Argilla version 2+, httpx.Client is created by rg.Argilla class. However, even though verify=False is added, still get Error
ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1000)
Stacktrace and Code to create the bug
Tried to test with create_http_client function
output
2
Problem is from line
in create_http_client
After comment this line or add **client_args into httpx.HTTPTransport, output of
print(client._transport._pool._ssl_context.verify_mode)
turns to0
Expected behavior
Connection to https url success with
rg.Argilla(..., verify=False)
Environment:
The text was updated successfully, but these errors were encountered: