Arnaud Fombellida
01/07/2021, 7:48 AMprefect backend server
, I start the server with prefect server start --postgres-port 4301 --hasura-port 4302 --graphql-port 4303 --ui-port 4304 --use-volume --volume-path /home/arnaud/mco/prefect/pgdata
(Mapping ports as some ports are already in use).
In the config.toml, I changed the following:
[server]
[server.ui]
apollo_url = "<http://192.168.176.193>:${server.host_port}/graphql"
After starting the server, all services seem to start properly and docker ps
indicates all services are up (and all ports mapped correctly). However, as you can see below, the are no logs for the apollo server.
Running prefect server create-tenant --name default --slug default
results in
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.176.193', port=4200): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4b14a1dc70>: Failed to establish a new connection: [Errno 111] Connection refused'))
and I cannot connect to http://192.168.176.193:4200/graphql (nor can the UI).
Can anyone help me with this ?Zanie
01/07/2021, 3:42 PMprefect server start --graphql-port 4303
Arnaud Fombellida
01/08/2021, 8:27 AMmerlin
01/21/2021, 7:46 AMZanie
01/21/2021, 4:39 PM