---------------------------------------------------------------------------
ConnectionRefusedError Traceback (most recent call last)
/opt/conda/lib/python3.7/site-packages/urllib3/connection.py in _new_conn(self)
159 conn = connection.create_connection(
--> 160 (self._dns_host, self.port), self.timeout, **extra_kw
161 )
/opt/conda/lib/python3.7/site-packages/urllib3/util/connection.py in create_connection(address, timeout, source_address, socket_options)
83 if err is not None:
---> 84 raise err
85
/opt/conda/lib/python3.7/site-packages/urllib3/util/connection.py in create_connection(address, timeout, source_address, socket_options)
73 sock.bind(source_address)
---> 74 sock.connect(sa)
75 return sock
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
NewConnectionError Traceback (most recent call last)
/opt/conda/lib/python3.7/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
676 headers=headers,
--> 677 chunked=chunked,
678 )
/opt/conda/lib/python3.7/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
380 try:
--> 381 self._validate_conn(conn)
382 except (SocketTimeout, BaseSSLError) as e:
/opt/conda/lib/python3.7/site-packages/urllib3/connectionpool.py in _validate_conn(self, conn)
975 if not getattr(conn, "sock", None): # AppEngine might not have `.sock`
--> 976 conn.connect()
977
/opt/conda/lib/python3.7/site-packages/urllib3/connection.py in connect(self)
307 # Add certificate verification
--> 308 conn = self._new_conn()
309 hostname = self.host
/opt/conda/lib/python3.7/site-packages/urllib3/connection.py in _new_conn(self)
171 raise NewConnectionError(
--> 172 self, "Failed to establish a new connection: %s" % e
173 )
NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fe6d9686190>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
MaxRetryError Traceback (most recent call last)
/opt/conda/lib/python3.7/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
448 retries=self.max_retries,
--> 449 timeout=timeout
450 )
/opt/conda/lib/python3.7/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
724 retries = retries.increment(
--> 725 method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
726 )
/opt/conda/lib/python3.7/site-packages/urllib3/util/retry.py in increment(self, method, url, response, error, _pool, _stacktrace)
438 if new_retry.is_exhausted():
--> 439 raise MaxRetryError(_pool, url, error or ResponseError(cause))
440
MaxRetryError: HTTPSConnectionPool(host='aiidalab.materialscloud.org', port=443): Max retries exceeded with url: /appsdata/apps_meta.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe6d9686190>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
ConnectionError Traceback (most recent call last)
<ipython-input-2-0fca0ee7d45a> in <module>
35 else:
36 from aiidalab.home import AiidaLabHome
---> 37 home = AiidaLabHome()
38 if 'move_up' in parsed_url:
39 home.move_updown(parsed_url['move_up'][0], -1)
/opt/conda/lib/python3.7/site-packages/aiidalab/home.py in __init__(self)
60 self.config_fn = ".launcher.json"
61 self.output = ipw.Output()
---> 62 self.app_registry = load_app_registry()['apps']
63 self._app_widgets = dict()
64
/opt/conda/lib/python3.7/site-packages/aiidalab/utils.py in load_app_registry()
47 else:
48 try:
---> 49 return requests.get(AIIDALAB_REGISTRY).json()
50 except ValueError:
51 print("Registry server is unavailable! Can't check for the updates")
/opt/conda/lib/python3.7/site-packages/requests/api.py in get(url, params, **kwargs)
74
75 kwargs.setdefault('allow_redirects', True)
---> 76 return request('get', url, params=params, **kwargs)
77
78
/opt/conda/lib/python3.7/site-packages/requests/api.py in request(method, url, **kwargs)
59 # cases, and look like a memory leak in others.
60 with sessions.Session() as session:
---> 61 return session.request(method=method, url=url, **kwargs)
62
63
/opt/conda/lib/python3.7/site-packages/requests_cache/core.py in request(self, method, url, params, data, **kwargs)
134 _normalize_parameters(params),
135 _normalize_parameters(data),
--> 136 **kwargs
137 )
138 if self._is_cache_disabled:
/opt/conda/lib/python3.7/site-packages/requests/sessions.py in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)
528 }
529 send_kwargs.update(settings)
--> 530 resp = self.send(prep, **send_kwargs)
531
532 return resp
/opt/conda/lib/python3.7/site-packages/requests_cache/core.py in send(self, request, **kwargs)
107
108 if response is None:
--> 109 return send_request_and_cache_response()
110
111 if self._cache_expire_after is not None:
/opt/conda/lib/python3.7/site-packages/requests_cache/core.py in send_request_and_cache_response()
95
96 def send_request_and_cache_response():
---> 97 response = super(CachedSession, self).send(request, **kwargs)
98 if response.status_code in self._cache_allowable_codes:
99 self.cache.save_response(cache_key, response)
/opt/conda/lib/python3.7/site-packages/requests/sessions.py in send(self, request, **kwargs)
641
642 # Send the request
--> 643 r = adapter.send(request, **kwargs)
644
645 # Total elapsed time of the request (approximately)
/opt/conda/lib/python3.7/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
514 raise SSLError(e, request=request)
515
--> 516 raise ConnectionError(e, request=request)
517
518 except ClosedPoolError as e:
ConnectionError: HTTPSConnectionPool(host='aiidalab.materialscloud.org', port=443): Max retries exceeded with url: /appsdata/apps_meta.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe6d9686190>: Failed to establish a new connection: [Errno 111] Connection refused'))