-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't connect to Prefect Server at http://localhost:4200/graphql #107
Comments
Hello there. Does the prefect server graphql pod contain any useful logs? Or even any other prefect pod, for that matter? There isn't much info here to work with yet but I would recommend that you try using the graphql endpoint from a python script using the prefect client just to make sure you can execute graphql queries against it (You can checkout prefect documentation on how to use the prefect client for graphql querying). If you can, then the problem may be with the prefect UI pod. It may be not configured correctly to reach the graphql service. |
It turns out there is an error in prefect-server-agent. It is trying to connect to |
Can you check the env vars in the prefect server agent pod?
|
Check if you have |
Also, do the same with the UI pod and check the |
|
Would you have any idea where to go from here? Any tips is appreciate. Thank you in advance. |
Hmm, these look ok. Considering you can reach the graphql endpoint by port-forwarding, it really should be working. I would recommend you open an issue with prefect, I am out of ideas since the variables look ok :( |
Ok thanks for your help! |
Hello, enjoying the MLOps ecosystem. Great work!
I am following the minikube set up and was able to operate mlflow and jupyter hub but could not connect to graphql endpoint from prefect with the error: "Couldn't connect to Prefect Server at http://localhost:4200/graphql"
I have made sure that I am using
install_locally=True
,aws=False
and the graphql site athttp:localhost:4200
is up and running.I have also executed this command to forward the graphql 4200 port:
But for some reason it is still not connecting.
Any tips to troublehsoot?
The text was updated successfully, but these errors were encountered: