Sure, see the full stacktrace attached. Thanks for your time!
13:51 ~/sleeping $ python3.4 db.py
Traceback (most recent call last):
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/connectionpool.py", line 516, in urlopen
body=body, headers=headers)
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/connectionpool.py", line 304, in _make_request
self._validate_conn(conn)
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/connectionpool.py", line 722, in _validate_conn
conn.connect()
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/connection.py", line 203, in connect
conn = self._new_conn()
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/connection.py", line 133, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/util/connection.py", line 87, in create_connection
raise err
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/util/connection.py", line 78, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "db.py", line 7, in <module>
print(api_client.account_info())
File "/home/maxint/.local/lib/python3.4/site-packages/dropbox/client.py", line 149, in account_info
return self.rest_client.GET(url, headers)
File "/home/maxint/.local/lib/python3.4/site-packages/dropbox/rest.py", line 311, in GET
return cls.IMPL.GET(*n, **kw)
File "/home/maxint/.local/lib/python3.4/site-packages/dropbox/rest.py", line 246, in GET
return self.request("GET", url, headers=headers, raw_response=raw_response)
File "/home/maxint/.local/lib/python3.4/site-packages/dropbox/rest.py", line 218, in request
preload_content=False
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/poolmanager.py", line 153, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/connectionpool.py", line 579, in urlopen
release_conn=release_conn, **response_kw)
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/connectionpool.py", line 579, in urlopen
release_conn=release_conn, **response_kw)
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/connectionpool.py", line 579, in urlopen
release_conn=release_conn, **response_kw)
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/connectionpool.py", line 559, in urlopen
_pool=self, _stacktrace=stacktrace)
File "/home/maxint/.local/lib/python3.4/site-packages/urllib3/util/retry.py", line 265, in increment
raise MaxRetryError(_pool, url, error)
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.dropbox.com', port=443): Max retries exceeded with url: /1/account/info (Caused by ProtocolError('Connection aborted.', Connect
ionRefusedError(111, 'Connection refused')))
22:22 ~/sleeping $