Python requests.exceptions.SSLError: HTTPSConnectionPool(): Max retries exceeded with url
PC OS: Win10 20H2 IDE: PyCharm 2021.3 Python version: 3.10 The requests package version: 2.27.1 The software (may cause the problem) on pc: Clash for Windows(v 0.18.2) The code is following: import requests create_account_url = "https://opentdb.com/api.php" para = { "amount": 10, "difficulty": "medium", "type": "boolean" } response = requests.get(create_account_url, params=para) response.raise_for_status() print(response.json()) The problem is: Running the code above when I open the button(System Proxy) in Clash, the error is: requests.exceptions.SSLError: HTTPSConnectionPool(host='opentdb.com
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.