I've been trying to connect to solana devnet/testnet through cli and python solana SDK, but both without success, getting below error from CLI:
"Error: RPC request error: cluster version query failed: error sending request for url (https://api.devnet.solana.com/): operation timed out"
and from python SDK:
"requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.devnet.solana.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f492ffa4490>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"
I CAN connect to localhost using the same method with CLI. Strangely, I can't even find similar issues by googling, so I had to ask here by myself.
Any help will be much appreciated.