You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Me parece que ocorreu um problema no servidor e o código não soube interpretar o erro.
Mensagem recebida:
Traceback (most recent call last):
File "", line 1, in
File "trader.py", line 152, in registra
cadastra()
File "trader.py", line 32, in cadastra
Asks,Bids = atualiza_mb()
File "trader.py", line 75, in atualiza_mb
Orderbook=mb.orderbook()
File "/usr/local/lib/python2.7/dist-packages/mercadobitcoin/api.py", line 29, in orderbook
return self.get_api('orderbook')
File "/usr/local/lib/python2.7/dist-packages/mercadobitcoin/api.py", line 15, in get_api
response = requests.get("https://%s/api/%s/" % (self.host, action))
File "/home/diegoeck/.local/lib/python2.7/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/home/diegoeck/.local/lib/python2.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/home/diegoeck/.local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/home/diegoeck/.local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/home/diegoeck/.local/lib/python2.7/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', error(104, 'Connection reset by peer'))
The text was updated successfully, but these errors were encountered:
Me parece que ocorreu um problema no servidor e o código não soube interpretar o erro.
Mensagem recebida:
Traceback (most recent call last):
File "", line 1, in
File "trader.py", line 152, in registra
cadastra()
File "trader.py", line 32, in cadastra
Asks,Bids = atualiza_mb()
File "trader.py", line 75, in atualiza_mb
Orderbook=mb.orderbook()
File "/usr/local/lib/python2.7/dist-packages/mercadobitcoin/api.py", line 29, in orderbook
return self.get_api('orderbook')
File "/usr/local/lib/python2.7/dist-packages/mercadobitcoin/api.py", line 15, in get_api
response = requests.get("https://%s/api/%s/" % (self.host, action))
File "/home/diegoeck/.local/lib/python2.7/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/home/diegoeck/.local/lib/python2.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/home/diegoeck/.local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/home/diegoeck/.local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/home/diegoeck/.local/lib/python2.7/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', error(104, 'Connection reset by peer'))
The text was updated successfully, but these errors were encountered: