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

Trino and Quix Docker - Queries don't run #503

Open
ai-noahdolev opened this issue Mar 23, 2023 · 1 comment
Open

Trino and Quix Docker - Queries don't run #503

ai-noahdolev opened this issue Mar 23, 2023 · 1 comment

Comments

@ai-noahdolev
Copy link

ai-noahdolev commented Mar 23, 2023

Hi all,

I am running Quix successfully using docker compose with the following .env file:

MODULES=trino
MODULES_TRINO_ENGINE=presto
MODULES_TRINO_API=http://host.docker.internal:9080/v1
MODULES_TRINO_CATALOG=memory
MODULES_TRINO_SCHEMA=default
MODULES_TRINO_SOURCE=quix
MODULES_TRINO_DB_EMPTY_TIMEOUT=60000
MODULES_TRINO_DB_REQUEST_TIMEOUT=10000
MODULES_TRINO_HTTP_HEADERS_PREFIX=X-TRINO-

And my Trino DB is running locally on the same machine as the Quix Docker container. I added the

    extra_hosts:
      host.docker.internal: host-gateway

to the docker-compose.yml and I can see my DB and it's tables in the DB Explorer. However my queries don't run.

Connection failed after (10) retries, please rerun your query manually.   
This is most likely a transient network error and not a problem with the Trino engine.

I can't see them being submitted in the Trino UI and I don't see anything happening when I docker attach quix-backend-1. When I use the TRINO CLI, queries run normally.

Any ideas where I've gone wrong?

@ai-noahdolev
Copy link
Author

Actually, they don't seem to run for the example Preso server either. Querying the DB in the DB explorer seems to work but queries don't seem to actually submit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant