Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpn代理访问错误 #5

Open
Hollywood3 opened this issue Mar 25, 2024 · 0 comments
Open

vpn代理访问错误 #5

Hollywood3 opened this issue Mar 25, 2024 · 0 comments

Comments

@Hollywood3
Copy link

代码如下:proxies={
'http': 'http://127.0.0.1:7897'
}
binanceUM = BinanceUM(
key=key, secret=secret,
proxies=proxies
)
market = binanceUM.market
bookTicker_result = market.get_bookTicker(symbol='BTCUSDT')
eprint(bookTicker_result)
报错如下:
ProxyError: HTTPSConnectionPool(host='fapi.binance.com', port=443): Max retries exceeded with url: /fapi/v1/ticker/bookTicker?symbol=BTCUSDT (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
我似乎不会设置vpn代理,我用的ccxt的方法,这边显示错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant