Adrien Boutreau
05/08/2020, 3:24 PM{
"graphQLErrors": [],
"networkError": {},
"message": "Network error: NetworkError when attempting to fetch resource."
}
From a python job :
<http://localhost:4200/graphql/alpha>
{'data': {'flow': [{'name': 'Zoom_test'}, {'name': 'Zoom_test'}, {'name': 'Zoom_test'}, {'name': 'Zoom_test'}, {'name': 'Zoom_test'}]}}
I update hosts file by
xxx.eu-west-2.compute.amazonaws.com localhost:4200
but without successnicholas
05/08/2020, 3:28 PM~/.prefect/config.toml
to your ec2 endpoint. It'll look something like this:
[server]
[server.ui]
graphql_url = "<http://xxx.eu-west-2.compute.amazonaws.com:4200/graphql|xxx.eu-west-2.compute.amazonaws.com:4200/graphql>"
Adrien Boutreau
05/09/2020, 7:31 AMcat ~/.prefect/config.toml
[server]
[server.ui]
graphql_url = "<http://ec2-35-178-66-166.eu-west-2.compute.amazonaws.com:4200/graphql|ec2-35-178-66-166.eu-west-2.compute.amazonaws.com:4200/graphql>"
{
"graphQLErrors": [],
"networkError": {},
"message": "Network error: Failed to fetch"
}