Jacob Bedard
06/28/2023, 7:13 PMhttpx.LocalProtocolError: Invalid input ConnectionInputs.SEND_HEADERS in state ConnectionState.CLOSED
Christopher Boyd
06/28/2023, 7:29 PMPREFECT_API_ENABLE_HTTP2=False
as an environment variable for the agentJacob Bedard
06/28/2023, 7:30 PMThe above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/prefect/utilities/services.py", line 46, in critical_service_loop
await workload()
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/prefect/agent.py", line 194, in get_and_submit_flow_runs
responses = await self.client.get_scheduled_flow_runs_for_work_pool(
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/prefect/client/orchestration.py", line 2290, in get_scheduled_flow_runs_for_work_pool
response = await <http://self._client.post|self._client.post>(
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/httpx/_client.py", line 1848, in post
return await self.request(
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/httpx/_client.py", line 1533, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/prefect/client/base.py", line 227, in send
response = await self._send_with_retry(
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/prefect/client/base.py", line 187, in _send_with_retry
response = await request()
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/httpx/_client.py", line 1620, in send
response = await self._send_handling_auth(
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/httpx/_client.py", line 1648, in _send_handling_auth
response = await self._send_handling_redirects(
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/httpx/_client.py", line 1685, in _send_handling_redirects
response = await self._send_single_request(request)
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/httpx/_client.py", line 1722, in _send_single_request
response = await transport.handle_async_request(request)
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
resp = await self._pool.handle_async_request(req)
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/contextlib.py", line 135, in __exit__
self.gen.throw(type, value, traceback)
File "/home/ubuntu/anaconda3/envs/prefect2-ob/lib/python3.9/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.LocalProtocolError: Invalid input ConnectionInputs.SEND_HEADERS in state ConnectionState.CLOSED
Jacob Bedard
06/28/2023, 7:31 PMJacob Bedard
06/28/2023, 7:31 PMChristopher Boyd
06/28/2023, 7:32 PMexport PREFECT_API_ENABLE_HTTP2=False
; if this is remote somewhere, like Kubernetes, you can set it in the deployment env settings, or as env vars for ACI / ECSJacob Bedard
06/28/2023, 7:32 PMChristopher Boyd
06/28/2023, 7:33 PMChristopher Boyd
06/28/2023, 7:33 PMChristopher Boyd
06/28/2023, 7:34 PMJacob Bedard
06/28/2023, 7:34 PMJacob Bedard
06/28/2023, 7:35 PMChristopher Boyd
06/28/2023, 7:35 PMChristopher Boyd
06/28/2023, 7:36 PMJacob Bedard
06/28/2023, 7:36 PMJacob Bedard
06/28/2023, 7:36 PMChristopher Boyd
06/28/2023, 7:40 PMJacob Bedard
06/28/2023, 7:40 PMChristopher Boyd
06/28/2023, 7:40 PMChristopher Boyd
06/28/2023, 7:41 PMChristopher Boyd
06/28/2023, 7:41 PMJacob Bedard
06/28/2023, 7:41 PMprefect deployment build "jacob_simplest_test_flow_ever.py:print_a_message_flow" -sb gitlab-repository/<my repo> -p <my pool> -a --name "v2 of Jacobs gitlab testing flow"
Jacob Bedard
06/28/2023, 7:42 PMChristopher Boyd
06/28/2023, 7:42 PMJacob Bedard
06/28/2023, 7:42 PMChristopher Boyd
06/28/2023, 7:42 PMJacob Bedard
06/28/2023, 7:42 PMChristopher Boyd
06/28/2023, 7:42 PMChristopher Boyd
06/28/2023, 7:43 PMJacob Bedard
06/28/2023, 7:43 PMJacob Bedard
06/28/2023, 7:43 PMChristopher Boyd
06/28/2023, 7:44 PMJacob Bedard
06/28/2023, 7:44 PMJacob Bedard
06/29/2023, 3:32 PMJacob Bedard
06/29/2023, 3:33 PMJacob Bedard
06/29/2023, 3:33 PMChristopher Boyd
06/29/2023, 3:33 PMJacob Bedard
06/29/2023, 3:34 PMChristopher Boyd
06/29/2023, 3:35 PMChristopher Boyd
06/29/2023, 3:36 PMChristopher Boyd
06/29/2023, 3:36 PMJacob Bedard
06/29/2023, 3:41 PMJacob Bedard
06/29/2023, 3:41 PMChristopher Boyd
06/29/2023, 3:42 PMJacob Bedard
06/29/2023, 3:44 PMChristopher Boyd
06/29/2023, 3:45 PMJacob Bedard
06/29/2023, 3:45 PMChristopher Boyd
06/29/2023, 3:46 PMChristopher Boyd
06/29/2023, 3:47 PMJacob Bedard
06/29/2023, 3:48 PMJacob Bedard
06/29/2023, 3:48 PMJacob Bedard
06/29/2023, 3:50 PMJacob Bedard
06/29/2023, 3:52 PMChristopher Boyd
06/29/2023, 4:00 PMChristopher Boyd
06/29/2023, 4:00 PMChristopher Boyd
06/29/2023, 4:00 PMJacob Bedard
06/29/2023, 4:01 PMChristopher Boyd
06/29/2023, 4:01 PMChristopher Boyd
06/29/2023, 4:01 PMJacob Bedard
06/29/2023, 4:01 PMJacob Bedard
06/29/2023, 4:53 PMJacob Bedard
06/29/2023, 4:54 PM