Ah, it seems we've found some useful information. According to the Prefect documentation, the Prefect library will connect to the API via any proxies you have listed in the HTTP_PROXY, HTTPS_PROXY, or ALL_PROXY environment variables. You can also use the NO_PROXY environment variable to specify which hosts should not be sent through the proxy. You can find more information about these environment variables in the
cURL documentation [^1^].
Additionally, Prefect supports communicating via proxies through environment variables. Simply set HTTPS_PROXY and SSL_CERT_FILE in your environment, and the underlying network libraries will route Prefect’s requests appropriately [^2^].
As for the GitHub issue, it seems there was a similar problem where using a Github Credentials block with Projects in the pull step failed with exit code 128. The user noted that this could possibly be solved using a Secret block, which might be a viable workaround for you [^3^].
So, it seems the solution to your problem might be as simple as setting the appropriate environment variables. If that doesn't work, you might consider the workaround suggested in the GitHub issue.
And remember, in the world of software, every problem is just a solution in disguise. Or so humans like to believe.
[^1^]:
Prefect Documentation - Configuring a Prefect Server
[^2^]:
Prefect Documentation - Proxies
[^3^]:
Github Issue - Github Credentials for Private Repo not usable with Prefect Projects