Skip to content

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

@ai-noahdolev

Description

@ai-noahdolev

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions