{"record":{"id":"f6db1ae66378abd9","repo":"cube-js/cube","slug":"cube-store-was-specified-as-queue-cache-driver-pl","errorCode":null,"errorMessage":"Cube Store was specified as queue/cache driver. Please set CUBEJS_CUBESTORE_HOST and CUBEJS_CUBESTORE_PORT variables. Please see https://cube.dev/docs/deployment/production-checklist#set-up-cube-store to learn more.","messagePattern":"Cube Store was specified as queue/cache driver\\. Please set CUBEJS_CUBESTORE_HOST and CUBEJS_CUBESTORE_PORT variables\\. Please see https://cube\\.dev/docs/deployment/production-checklist#set-up-cube-store to learn more\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/cubejs-query-orchestrator/src/orchestrator/QueryOrchestrator.ts","lineNumber":100,"sourceCode":"        `Only 'cubestore' or 'memory' are supported for cacheAndQueueDriver option, passed: ${cacheAndQueueDriver}`\n      );\n    }\n\n    const { externalDriverFactory, continueWaitTimeout, skipExternalCacheAndQueue } = options;\n\n    this.cacheAndQueueDriver = cacheAndQueueDriver;\n\n    const cubeStoreDriverFactory = cacheAndQueueDriver === 'cubestore' ? async () => {\n      if (externalDriverFactory) {\n        const externalDriver = await externalDriverFactory();\n        if (externalDriver instanceof CubeStoreDriver) {\n          return externalDriver;\n        }\n\n        throw new Error('It`s not possible to use Cube Store as queue/cache driver without using it as external');\n      }\n\n      throw new Error('Cube Store was specified as queue/cache driver. Please set CUBEJS_CUBESTORE_HOST and CUBEJS_CUBESTORE_PORT variables. Please see https://cube.dev/docs/deployment/production-checklist#set-up-cube-store to learn more.');\n    } : undefined;\n\n    this.queryCache = new QueryCache(\n      this.redisPrefix,\n      driverFactory,\n      this.logger,\n      {\n        externalDriverFactory,\n        cacheAndQueueDriver,\n        cubeStoreDriverFactory,\n        continueWaitTimeout,\n        skipExternalCacheAndQueue,\n        ...options.queryCacheOptions,\n      }\n    );\n    this.preAggregations = new PreAggregations(\n      this.redisPrefix,\n      this.driverFactory,","sourceCodeStart":82,"sourceCodeEnd":118,"githubUrl":"https://github.com/cube-js/cube/blob/7d981676b36392fec34088b9afab6bdcad40207c/packages/cubejs-query-orchestrator/src/orchestrator/QueryOrchestrator.ts#L82-L118","documentation":"Fires when the Cube Store queue/cache driver needs its own CubeStoreDriver but no external driver is available to reuse and no connection can be established, so the constructor demands CUBEJS_CUBESTORE_HOST and CUBEJS_CUBESTORE_PORT before proceeding.","triggerScenarios":"Thrown at packages/cubejs-query-orchestrator/src/orchestrator/QueryOrchestrator.ts:100 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set CUBEJS_CUBESTORE_HOST and CUBEJS_CUBESTORE_PORT environment variables pointing at the running Cube Store instance","Start Cube Store (docker or the native binary) so the configured host/port accept connections","If Cube Store is not desired, switch the cache/queue driver to 'memory'"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7d981676b36392fec34088b9afab6bdcad40207c","analyzedAt":"2026-09-02T03:45:10.400Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T15:18:49.778Z"}