Created
November 29, 2022 18:22
-
-
Save zanieb/11152272d8e5abdb90fc03db43fbff26 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Traceback (most recent call last): | |
| File "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/h2/connection.py", line | |
| 224, in process_input | |
| func, target_state = self._transitions[(self.state, input_)] | |
| KeyError: (<ConnectionState.CLOSED: 3>, <ConnectionInputs.SEND_HEADERS: 0>) | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File | |
| "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpcore/_async/http2.py", line | |
| 108, in handle_async_request | |
| await self._send_request_headers(request=request, stream_id=stream_id) | |
| File | |
| "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpcore/_async/http2.py", line | |
| 205, in _send_request_headers | |
| self._h2_state.send_headers(stream_id, headers, end_stream=end_stream) | |
| File "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/h2/connection.py", line | |
| 766, in send_headers | |
| self.state_machine.process_input(ConnectionInputs.SEND_HEADERS) | |
| File "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/h2/connection.py", line | |
| 228, in process_input | |
| raise ProtocolError( | |
| h2.exceptions.ProtocolError: Invalid input ConnectionInputs.SEND_HEADERS in state ConnectionState.CLOSED | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File | |
| "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpx/_transports/default.py", | |
| line 60, in map_httpcore_exceptions | |
| yield | |
| File | |
| "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpx/_transports/default.py", | |
| line 353, in handle_async_request | |
| resp = await self._pool.handle_async_request(req) | |
| File | |
| "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpcore/_async/connection_pool. | |
| py", line 253, in handle_async_request | |
| raise exc | |
| File | |
| "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpcore/_async/connection_pool. | |
| py", line 237, in handle_async_request | |
| response = await connection.handle_async_request(request) | |
| File | |
| "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpcore/_async/connection.py", | |
| line 90, in handle_async_request | |
| return await self._connection.handle_async_request(request) | |
| File | |
| "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpcore/_async/http2.py", line | |
| 144, in handle_async_request | |
| raise LocalProtocolError(exc) # pragma: nocover | |
| httpcore.LocalProtocolError: Invalid input ConnectionInputs.SEND_HEADERS in state ConnectionState.CLOSED | |
| The above exception was the direct cause of the following exception: | |
| Traceback (most recent call last): | |
| File "/Users/mz/dev/prefect/src/prefect/utilities/services.py", line 46, in critical_service_loop | |
| await workload() | |
| File "/Users/mz/dev/prefect/src/prefect/agent.py", line 203, in check_for_cancelled_flow_runs | |
| cancelling_flow_runs = await self.client.read_flow_runs( | |
| File "/Users/mz/dev/prefect/src/prefect/client/orion.py", line 1497, in read_flow_runs | |
| response = await self._client.post(f"/flow_runs/filter", json=body) | |
| File "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpx/_client.py", line | |
| 1842, in post | |
| return await self.request( | |
| File "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpx/_client.py", line | |
| 1527, in request | |
| return await self.send(request, auth=auth, follow_redirects=follow_redirects) | |
| File "/Users/mz/dev/prefect/src/prefect/client/base.py", line 160, in send | |
| await super().send(*args, **kwargs) | |
| File "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpx/_client.py", line | |
| 1614, in send | |
| response = await self._send_handling_auth( | |
| File "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpx/_client.py", line | |
| 1642, in _send_handling_auth | |
| response = await self._send_handling_redirects( | |
| File "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpx/_client.py", line | |
| 1679, in _send_handling_redirects | |
| response = await self._send_single_request(request) | |
| File "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpx/_client.py", line | |
| 1716, in _send_single_request | |
| response = await transport.handle_async_request(request) | |
| File | |
| "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/site-packages/httpx/_transports/default.py", | |
| line 353, in handle_async_request | |
| resp = await self._pool.handle_async_request(req) | |
| File "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/contextlib.py", line 131, in __exit__ | |
| self.gen.throw(type, value, traceback) | |
| File | |
| "/opt/homebrew/Caskroom/miniconda/base/envs/orion-dev-38/lib/python3.8/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment