Hi all - we’re using Github Flow Storage and from ...
# prefect-community
k
Hi all - we’re using Github Flow Storage and from time to time our flows fail with:
Copy code
Failed to load and execute Flow's environment: ConnectionError(MaxRetryError("HTTPSConnectionPool(host='<http://api.github.com|api.github.com>', port=443): Max retries exceeded with url: /repos/<ORG>/<REPO> (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff5caf88668>: Failed to establish a new connection: [Errno -2] Name or service not known',))",),)
What are potential causes for this error? When there is downtime on Github, we see
Failed to load and execute Flow's environment: GithubException(500, None)
. What part of the source code should I explore to understand this better?
j
Hmm that error looks like it’s coming from the line here https://github.com/PrefectHQ/prefect/blob/master/src/prefect/environments/storage/github.py#L76 This is the library that GitHub storage uses https://github.com/PyGithub/PyGithub
k
Thanks @josh!