a guest Oct 11th, 2018 4 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. horizon = Horizon(horizon_uri="http://localhost:8000")
  3. Traceback (most recent call last):
  4.   File "/Users/timo/Documents/repos/bc-interop/adapters/", line 34, in <module>
  5.     sequence = horizon.account(alice_kp.address().decode('utf-8')).get('sequence')
  6.   File "/Users/timo/Documents/repos/bc-interop/venv/lib/python3.6/site-packages/stellar_base/", line 186, in account
  7.     return self.query(endpoint)
  8.   File "/Users/timo/Documents/repos/bc-interop/venv/lib/python3.6/site-packages/stellar_base/", line 156, in query
  9.     return check_horizon_reply(reply) if not sse else reply
  10.   File "/Users/timo/Documents/repos/bc-interop/venv/lib/python3.6/site-packages/stellar_base/", line 656, in check_horizon_reply
  11.     raise HorizonError(reply)
  12. stellar_base.exceptions.HorizonError: {'type': '', 'title': 'Resource Missing', 'status': 404, 'detail': 'The resource at the url requested was not found.  This is usually occurs for one of two reasons:  The url requested is not valid, or no data in our database could be found with the parameters provided.'}
  16. horizon = Horizon(horizon_uri="http://localhost") or any non-exposed port
  17. traceback (most recent call last):
  18.   File "/Users/timo/Documents/repos/bc-interop/adapters/", line 34, in <module>
  19.     sequence = horizon.account(alice_kp.address().decode('utf-8')).get('sequence')
  20.   File "/Users/timo/Documents/repos/bc-interop/venv/lib/python3.6/site-packages/stellar_base/", line 186, in account
  21.     return self.query(endpoint)
  22.   File "/Users/timo/Documents/repos/bc-interop/venv/lib/python3.6/site-packages/stellar_base/", line 155, in query
  23.     reply = self._query(abs_url, params, sse)
  24.   File "/Users/timo/Documents/repos/bc-interop/venv/lib/python3.6/site-packages/stellar_base/", line 161, in _query
  25.     url, params=params, timeout=self.request_timeout)
  26.   File "/Users/timo/Documents/repos/bc-interop/venv/lib/python3.6/site-packages/requests/", line 525, in get
  27.     return self.request('GET', url, **kwargs)
  28.   File "/Users/timo/Documents/repos/bc-interop/venv/lib/python3.6/site-packages/requests/", line 512, in request
  29.     resp = self.send(prep, **send_kwargs)
  30.   File "/Users/timo/Documents/repos/bc-interop/venv/lib/python3.6/site-packages/requests/", line 622, in send
  31.     r = adapter.send(request, **kwargs)
  32.   File "/Users/timo/Documents/repos/bc-interop/venv/lib/python3.6/site-packages/requests/", line 513, in send
  33.     raise ConnectionError(e, request=request)
  34. requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /accounts/GCCAETWXN5VYPOU4MYTUGTFPTSWWNFYMDZWHWS566PUXR5GCQ7SY7QHQ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10fdea8d0>: Failed to establish a new connection: [Errno 61] Connection refused',))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand