Hafsa Junaid
08/01/2022, 9:44 PMHTTPSConnectionPool(host='34.66.191.39', port=443): Max retries exceeded with url: /apis/batch/v1/namespaces/default/jobs (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3196f62eb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Mason Menges
08/01/2022, 11:19 PMHafsa Junaid
08/02/2022, 10:03 AMSTORAGE = GitHub(
repo="xyz/ADM",
path=f"code/xaimpl/feat/prefect_beta/flows/{FLOW_NAME}.py",
access_token_secret="xyz", # required with private repositories
ref = "master"
)
@task(log_stdout=True, result=LocalResult())
def hello_world():
text = f"hello to {FLOW_NAME}"
print(text)
return text
with Flow(
FLOW_NAME, storage=STORAGE, run_config=KubernetesRun(labels=["xyz"],image=imagename)
) as flow:
data = hello_world()
Mason Menges
08/02/2022, 5:04 PMChristopher Boyd
08/02/2022, 5:08 PMFailed to establish a new connection: [Errno 110] Connection timed out'))
• Did this work previously and stopped working, or is this a new issue that you are testing?
• Do you have a firewall or proxy in place blocking connections? This looks like a pretty generic network error in hitting the target - I would verify that you can reach that IP address (seems like 34.66.191.39) from in cluster and out of cluster