Closed enschy closed 3 years ago
after downgrading python-binance 0.7.3 it runs and copy trades on both slaves. After couple of hours this:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 367, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/lib/python3/dist-packages/six.py", line 692, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/lib/python3.7/threading.py", line 1166, in run self.function(*self.args, self.kwargs) File "/home/bachmann/.local/lib/python3.7/site-packages/binance/websockets.py", line 497, in _keepalive_user_socket user_listen_key = self._client.stream_get_listen_key() File "/home/bachmann/.local/lib/python3.7/site-packages/binance/client.py", line 2109, in stream_get_listen_key res = self._post('userDataStream', False, data={}) File "/home/bachmann/.local/lib/python3.7/site-packages/binance/client.py", line 220, in _post return self._request_api('post', path, signed, version, kwargs) File "/home/bachmann/.local/lib/python3.7/site-packages/binance/client.py", line 186, in _request_api return self._request(method, uri, signed, kwargs) File "/home/bachmann/.local/lib/python3.7/site-packages/binance/client.py", line 180, in _request response = getattr(self.session, method)(uri, kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 581, in post return self.request('POST', url, data=data, json=json, kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 498, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', OSError("(104, 'ECONNRESET')"))
Now i´m stuck.... Please ! need help Thanks
after many tests.... behind a router (cable or DSL) it is not possible to run longer than 6 hours...
Exception in thread Thread-11: Traceback (most recent call last): File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/lib/python3.7/threading.py", line 1166, in run self.function(*self.args, **self.kwargs) File "/home/bachmann/.local/lib/python3.7/site-packages/binance/websockets.py", line 544, in _keepalive_account_socket callback = self._user_callback AttributeError: 'BinanceSocketManager' object has no attribute '_user_callback'
What does this mean ?
Thanks