Skip to content
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

GQL queries origin #2934

Open
joshua-seals opened this issue Sep 25, 2024 · 2 comments
Open

GQL queries origin #2934

joshua-seals opened this issue Sep 25, 2024 · 2 comments
Labels
question Further information is requested wait for review

Comments

@joshua-seals
Copy link

Hello, first thanks in advance for the help and also really enjoying learning about cloudbeaver. Very excited to replace pgadmin with it!

Are the GQL queries server-side or basically being issued from the browser? My setup is in K8S and ideally gql would always query 0.0.0.0/api/ but it seems to pickup the hostname of the external connection string despite server.serverHost: "0.0.0.0" setting.

@joshua-seals joshua-seals added question Further information is requested wait for review labels Sep 25, 2024
@LonwoLonwo
Copy link
Member

Hello @joshua-seals

Thanks for your interest in CloudBeaver!

Please clarify your question one more time. And add more examples. Or, maybe a video or screens.
Your browser sends GQL queries, and the server works with them.

@joshua-seals
Copy link
Author

Ok that seems to be the answer to my question, from browser to gql endpoint.

I have a reverseProxy setup which uses a /private scheme in resty. So a user would deploy an app (cloudbeaver in this case), then that user and their session gets matched up to the newly provisioned pod/app in k8s and ambassador authorizes the request, sets headers for the service and maps the user to the new deployment.

Basically the gql queries are causing error as they are attempting to hit the endpoint /private/user/rand-string/ endpoint which get's blocked by nginx. I also see all the websocket trafic being blocked so just needed some clarity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wait for review
Projects
None yet
Development

No branches or pull requests

2 participants