Created
May 15, 2023 08:07
-
-
Save xrsrke/35df54640dba290a6da9f28fe348acd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv) (base) ➜ prodgpt git:(train) ✗ python3 prodgpt/test_flow.py step-functions create | |
Metaflow 2.8.2 executing HelloFlow for user:education | |
Validating your flow... | |
The graph looks good! | |
Running pylint... | |
Pylint is happy! | |
Deploying HelloFlow to AWS Step Functions... | |
Internal error | |
Traceback (most recent call last): | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn | |
conn = connection.create_connection( | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection | |
raise err | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection | |
sock.connect(sa) | |
OSError: [Errno 65] No route to host | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen | |
httplib_response = self._make_request( | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 386, in _make_request | |
self._validate_conn(conn) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn | |
conn.connect() | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/urllib3/connection.py", line 358, in connect | |
self.sock = conn = self._new_conn() | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn | |
raise NewConnectionError( | |
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa40d95760>: Failed to establish a new connection: [Errno 65] No route to host | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/requests/adapters.py", line 489, in send | |
resp = conn.urlopen( | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen | |
retries = retries.increment( | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment | |
raise MaxRetryError(_pool, url, error or ResponseError(cause)) | |
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='prodgpt4-metadata.czhpkekcs571.ap-southeast-2.rds.amazonaws.com', port=443): Max retries exceeded with url: /ping (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa40d95760>: Failed to establish a new connection: [Errno 65] No route to host')) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/cli.py", line 1172, in main | |
start(auto_envvar_prefix="METAFLOW", obj=state) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 829, in __call__ | |
return self.main(args, kwargs) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 782, in main | |
rv = self.invoke(ctx) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 1259, in invoke | |
return _process_result(sub_ctx.command.invoke(sub_ctx)) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 1259, in invoke | |
return _process_result(sub_ctx.command.invoke(sub_ctx)) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 1066, in invoke | |
return ctx.invoke(self.callback, ctx.params) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 610, in invoke | |
return callback(args, kwargs) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/_vendor/click/decorators.py", line 33, in new_func | |
return f(get_current_context().obj, args, kwargs) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/plugins/aws/step_functions/step_functions_cli.py", line 144, in create | |
check_metadata_service_version(obj) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/plugins/aws/step_functions/step_functions_cli.py", line 192, in check_metadata_service_version | |
version = metadata.version() | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/plugins/metadata/service.py", line 73, in version | |
return self._version(self._monitor) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/metaflow/plugins/metadata/service.py", line 498, in _version | |
resp = requests.get(url, headers=SERVICE_HEADERS) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/requests/api.py", line 73, in get | |
return request("get", url, params=params, kwargs) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/requests/api.py", line 59, in request | |
return session.request(method=method, url=url, kwargs) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/requests/sessions.py", line 587, in request | |
resp = self.send(prep, send_kwargs) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/requests/sessions.py", line 701, in send | |
r = adapter.send(request, kwargs) | |
File "/Users/education/opt/anaconda3/lib/python3.9/site-packages/requests/adapters.py", line 565, in send | |
raise ConnectionError(e, request=request) | |
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='prodgpt4-metadata.czhpkekcs571.ap-southeast-2.rds.amazonaws.com', port=443): Max retries exceeded with url: /ping (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa40d95760>: Failed to establish a new connection: [Errno 65] No route to host')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment