Hi everyone, today we started getting weird errors...
# ask-community
m
Hi everyone, today we started getting weird errors when running
prefect deploy
. Basically, the error starts with
Unable to load step function: prefect_docker.deployments.steps.build_docker_image
, and then an exception is thrown:
urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+docker
. The final error message is:
prefect.deployments.steps.core.StepExecutionError: Encountered error while running prefect_docker.deployments.steps.build_docker_image
. Does anyone know what causes these errors and how to fix them? Have you encountered similar errors? The same code worked perfectly fine yesterday, and we made no changes to the deployment code itself, so I don't think we broke anything.
I assume our issue might be connected with this bug from the new requests release: https://github.com/psf/requests/issues/6707
🙌 1
c
p
We have exactly the same problem. Is there a workaround we could use until this is solved?
c
yeah, as I mentioned in my comment, you need to pin
requests==0.31.0
👀 1
p
ahh I was confused because I didn't know that this Github action also uses the requirements file https://github.com/PrefectHQ/actions-prefect-deploy/tree/v3 Now it works. Thank you!