web3.py 网络连接失败

Vscode Web3.py 连接infura注册创建的网络 一直连接失败来个大哥解惑下吧

from web3 import Web3,HTTPProvider

# 设置节点地址
url = 'https://mainnet.infura.io/v3/1680abf7401d4909bdd6315a6bb53856'
web3 = Web3(Web3.HTTPProvider(url))

if web3.isConnected():
    print("Successfully connected to the node at", url)
else:
    print("Failed to connect to the node at", url)

输出结果一直是 :Failed to connect to the node at xxxxxx
我用的VPN 不知道是不是VPN的问题 导致无法正常连接 我用BSC的RPC还是一样的结果

应该是你的url问题,检查一下。我注册的,完全没问题