commands against my local server. I guess it could be a installation or configuration problem, but debugging makes it look like there is an issue with initializing Client objects to talk to the local server. Specifically:
prefect create project my_project
errors. If I debug both problems I wind up in
prefect.utilities.exceptions.ClientError: Malformed response received from API.
where it looks like it sets the api_server to the cloud host because no
is passed in. I have the backend set to to
it looks like the
needs to be passed to
or Client needs to do something other than
Same issue in
self.api_server = api_server or prefect.context.config.cloud.get("graphql")
I can connect to the server fine from my local browser or through cloud.prefect.io switched to the local server. (Nice feature by the way.)
to startup prefect server, the server version should match that of prefect (so also 0.14.6). If you figure out any more details of this issue, please let me know. It is indeed odd that you're having this issue.
prefect server start
prefect backend server