when I try to grab data using the API of bitfinex"s websocket, I always can"t connect when I use python"s websocket-client library to connect. The connection code is as follows:
ws = websocket.create_connection("wss://api.bitfinex.com/ws/2")
the following error occurred
TimeoutError: [WinError 10060]
later, I tried to connect to BtfxWss, the python library of bitfinex, and found that I could not connect, because bitfinex could not be accessed domestically. I have been using SS, to access the external network, and I used its REST API, to access it. I googled Baidu and stack, and I couldn"t find the problem. Please give some suggestions
.