Binance testnet futures-connector-python library throws an error

I started using futures testnet api key to test which you can find on your testnet account in the bottom part in the orders /positions / transactions section in the “API key” tab.

The doc link is here:
https://binance-docs.github.io/apidocs/futures/en/

I installed a recommended in the documentation library:
binance-futures-connector

But the simplest code below throws an error.

from binance.futures import Futures

key= ' '
secret = ' '

# %%

client = Futures(key=key, secret= secret, base_url='https://testnet.binancefuturee.com')

# %%

client

# %%

client.account()

ConnectionError : HTTPSConnectionPool(host=‘testnet.binancefuturee.com’, port=443): Max retries exceeded with url: /fapi/v2/account?timestamp=1653163396706&signature=1533a39f38c916afd92774403baab22ebb0f524a8d820b35663268fbf4e8e43f (Caused by NewConnectionError(’<urllib3.connection.HTTPSConnection object at 0x00000194D40ED880>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed’))

I used a base_url parameter as recommended in the docs by the link above.

Without it I have an error that my api key is not valid. It’s understandable because I should use my real, not testnet api keys.

What have I done wrong?

It seems like you can’t connect to Binance server from your location. Can you access the UI?

Yes, I can! Sure!

host=‘http://testnet.binancefuturee.com/’, there is a spelling mistake here.