vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 94
声望: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Miniconda3\lib\site-packages\vnpy\api\rest\rest_client.py", line 402, in _process_request
stream=stream,
File "C:\Miniconda3\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Miniconda3\lib\site-packages\requests\sessions.py", line 686, in send
r.content
File "C:\Miniconda3\lib\site-packages\requests\models.py", line 828, in content
self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
File "C:\Miniconda3\lib\site-packages\requests\models.py", line 753, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: OSError("(10054, \'WSAECONNRESET\')")', OSError("(10054, 'WSAECONNRESET')"))
2020-02-17 23:02:27,866 INFO: 行情Websocket API连接成功
2020-02-17 23:02:28,066 INFO: 交易Websocket API连接成功
2020-02-17 23:02:28,929 INFO: 交易Websocket API登录成功
2020-02-18 00:32:38,881 INFO: 交易Websocket API连接成功
2020-02-18 00:32:38,941 INFO: 交易Websocket API登录成功

Administrator
avatar
加入于:
帖子: 4033
声望: 223

服务端连接挂了,请使用香港阿里云之类的海外服务器

Member
avatar
加入于:
帖子: 94
声望: 1

用Python的交易员 wrote:

服务端连接挂了,请使用香港阿里云之类的海外服务器

用的就是阿里云在香港的服务器啊

Administrator
avatar
加入于:
帖子: 4033
声望: 223

那么就是数字货币交易所那边的服务器挂掉了,服务端升级、网络拥堵等都可能引发,目前没有太好的解决办法

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3