-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed as not planned
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
import requests
from requests.auth import HTTPBasicAuth
username = ""
password = ""
response = requests.get(url, headers=headers, auth=HTTPBasicAuth(username, passwrd))
Getting Below Error while calling the above API:
SSLError: HTTPSConnectionPool(host='', port=): Max retries exceeded with url: '' (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1002)')))
Python version: 3.11.4
requests==2.32.3
requests-mock==1.12.1
urllib3==1.26.18
urllib3-secure-extra==0.1.0
pyOpenSSL==23.1.0
certifi==2024.12.14
idna==3.7
cryptography==40.0.2
In [7]: import ssl
In [8]: ssl.OPENSSL_VERSION
Out[8]: 'OpenSSL 1.1.1w 11 Sep 2023'
CPython versions tested on:
3.11
Operating systems tested on:
macOS
Metadata
Metadata
Assignees
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error