我正在使用API,每隔10秒从服务器接收一些数据并将其存储。它可以正常运行约3-4天,但之后,我会收到一条错误消息。 This是我正在使用的API,这是错误消息:
File "/home/q69394er/.local/lib/python2.7/site-packages/cbpro/public_client.py", line 269, in _send_message
auth=self.auth, timeout=30)
File "/home/q69394er/.local/lib/python2.7/site-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/home/q69394er/.local/lib/python2.7/site-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/home/q69394er/.local/lib/python2.7/site-packages/requests/adapters.py", line 473, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error("(104, 'ECONNRESET')",))