Hygor Knust
04/07/2021, 6:51 PMrequests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://{endpoint}:80/graphql/alpha
where endpoint is the L7 ingress endpoint.
Is there a way to debug what's going wrong?Kevin Kho
04/07/2021, 6:55 PMHygor Knust
04/07/2021, 6:59 PMKevin Kho
04/07/2021, 7:00 PMHygor Knust
04/07/2021, 7:01 PMimport random
from prefect import task, Flow
@task
def random_number():
return random.randint(0, 100)
@task
def plus_one(x):
return x + 1
with Flow('My Functional Flow') as flow:
r = random_number()
y = plus_one(x=r)
flow.register(project_name="Sample Project")
Zanie
04/07/2021, 7:03 PMui.apolloApiUrl
to when you installed the Helm chart?80
instead of 4200
, did you change the apollo service port?Hygor Knust
04/07/2021, 7:27 PMhttp://{endpoint}
to http://{apollo-ip}:4200
so I don't have to change any configuration if the Apollo IP changes.
I thought that this ingress could be the problem, but I set it as the URL in the UI and it connected successfully. and I am also able to connect to it using my browser.Zanie
04/07/2021, 8:07 PMprefect diagnostics
output?Hygor Knust
04/07/2021, 9:06 PM{
"config_overrides": {
"server": {
"endpoint": true
}
},
"env_vars": [],
"system_information": {
"platform": "Windows-10-10.0.18362-SP0",
"prefect_version": "0.11.2",
"python_version": "3.8.2"
}
}
Zanie
04/08/2021, 3:22 PMprefect backend server
?Hygor Knust
04/08/2021, 3:23 PMZanie
04/08/2021, 3:23 PMHygor Knust
04/08/2021, 3:24 PM