Created
July 14, 2020 14:08
-
-
Save philipmac/770da5ae2810c05879ab5569309d98a5 to your computer and use it in GitHub Desktop.
update prefect to 12.3 - rerun docker hello world
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
$ prefect agent start docker --show-flow-logs | |
____ __ _ _ _ | |
| _ \ _ __ ___ / _| ___ ___| |_ / \ __ _ ___ _ __ | |_ | |
| |_) | '__/ _ \ |_ / _ \/ __| __| / _ \ / _` |/ _ \ '_ \| __| | |
| __/| | | __/ _| __/ (__| |_ / ___ \ (_| | __/ | | | |_ | |
|_| |_| \___|_| \___|\___|\__| /_/ \_\__, |\___|_| |_|\__| | |
|___/ | |
[2020-07-14 14:05:26,125] INFO - agent | Starting DockerAgent with labels [] | |
[2020-07-14 14:05:26,125] INFO - agent | Agent documentation can be found at https://docs.prefect.io/orchestration/ | |
[2020-07-14 14:05:26,125] INFO - agent | Agent connecting to the Prefect API at http://localhost:4200 | |
[2020-07-14 14:05:26,131] INFO - agent | Waiting for flow runs... | |
[2020-07-14 14:06:22,007] INFO - agent | Found 1 flow run(s) to submit for execution. | |
[2020-07-14 14:06:22,043] INFO - agent | Deploying flow run 050c7489-0485-4d0d-9213-088b3abc3f5b | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn | |
conn = connection.create_connection( | |
File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection | |
raise err | |
File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection | |
sock.connect(sa) | |
socket.timeout: timed out | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen | |
httplib_response = self._make_request( | |
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/lib/python3.8/http/client.py", line 1240, in request | |
self._send_request(method, url, body, headers, encode_chunked) | |
File "/usr/local/lib/python3.8/http/client.py", line 1286, in _send_request | |
self.endheaders(body, encode_chunked=encode_chunked) | |
File "/usr/local/lib/python3.8/http/client.py", line 1235, in endheaders | |
self._send_output(message_body, encode_chunked=encode_chunked) | |
File "/usr/local/lib/python3.8/http/client.py", line 1006, in _send_output | |
self.send(msg) | |
File "/usr/local/lib/python3.8/http/client.py", line 946, in send | |
self.connect() | |
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect | |
conn = self._new_conn() | |
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 164, in _new_conn | |
raise ConnectTimeoutError( | |
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x7f75e1732d30>, 'Connection to host.docker.internal timed out. (connect timeout=30)') | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 439, in send | |
resp = conn.urlopen( | |
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 724, in urlopen | |
retries = retries.increment( | |
File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment | |
raise MaxRetryError(_pool, url, error or ResponseError(cause)) | |
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='host.docker.internal', port=4200): Max retries exceeded with url: /graphql (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f75e1732d30>, 'Connection to host.docker.internal timed out. (connect timeout=30)')) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/bin/prefect", line 8, in <module> | |
sys.exit(cli()) | |
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__ | |
return self.main(*args, **kwargs) | |
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main | |
rv = self.invoke(ctx) | |
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke | |
return _process_result(sub_ctx.command.invoke(sub_ctx)) | |
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke | |
return _process_result(sub_ctx.command.invoke(sub_ctx)) | |
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke | |
return ctx.invoke(self.callback, **ctx.params) | |
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke | |
return callback(*args, **kwargs) | |
File "/usr/local/lib/python3.8/site-packages/prefect/cli/execute.py", line 51, in cloud_flow | |
result = client.graphql(query) | |
File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 213, in graphql | |
result = self.post( | |
File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 172, in post | |
response = self._request( | |
File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 328, in _request | |
response = self._send_request( | |
File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 251, in _send_request | |
response = session.post(url, headers=headers, json=params, timeout=30) | |
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 578, in post | |
return self.request('POST', url, data=data, json=json, **kwargs) | |
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 530, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 643, in send | |
r = adapter.send(request, **kwargs) | |
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 504, in send | |
raise ConnectTimeout(e, request=request) | |
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='host.docker.internal', port=4200): Max retries exceeded with url: /graphql (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f75e1732d30>, 'Connection to host.docker.internal timed out. (connect timeout=30)')) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment