-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Last version for which the following code worked is 0.9.2
import certifi
import primp
client = primp.Client(
cookie_store=True,
referer=True,
follow_redirects=False,
verify=True,
ca_cert_file=certifi.where(),
http2_only=True,
)
client.request(
"GET",
"https://www.google.de"
)for all primp>=0.9.3 I receive:
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
Cell In[2], line 11
2 import primp
3 client = primp.Client(
4 cookie_store=True,
5 referer=True,
(...)
9 http2_only=True,
10 )
---> 11 client.request(
12 "GET",
13 "https://www.google.de"
14 )
RuntimeError: error sending request for url (https://www.google.de/): client error (Connect)
Caused by:
0: client error (Connect)
1: TLS handshake failed: cert verification failed - self signed certificate in certificate chain [CERTIFICATE_VERIFY_FAILED]
2: [CERTIFICATE_VERIFY_FAILED]
3: [CERTIFICATE_VERIFY_FAILED]
Metadata
Metadata
Assignees
Labels
No labels