You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If CUBEJS_DB_DUCKDB_MOTHERDUCK_TOKEN is specified for the duckdb driver so that it connects to MotherDuck, then any query would result in an error. In Cube Cloud, the query would run indefinitely. In Cube Core, a container will exit after an interval.
To Reproduce
Steps to reproduce the behavior:
Take the data model
Specify env vars
Run any query
See errors in the logs
cube-1 | E1106 13:48:04.302609835 40 ssl_utils.cc:593] load_file: UNKNOWN:Failed to load file {created_time:"2024-11-06T13:48:04.302598418+00:00", filename:"/usr/share/grpc/roots.pem", children:[UNKNOWN:No such file or directory {created_time:"2024-11-06T13:48:04.302597418+00:00", errno:2, os_error:"No such file or directory", syscall:"fopen"}]}
cube-1 | E1106 13:48:04.302628460 40 ssl_utils.cc:423] Could not get default pem root certs.
cube-1 | E1106 13:48:04.302630085 40 tls_security_connector.cc:461] Update handshaker factory failed.
cube-1 | E1106 13:48:04.421059877 177 ssl_utils.cc:423] Could not get default pem root certs.
cube-1 | E1106 13:48:04.421074502 177 tls_security_connector.cc:461] Update handshaker factory failed.
cube-1 | E1106 13:48:34.422520752 179 ssl_utils.cc:423] Could not get default pem root certs.
cube-1 | E1106 13:48:34.422562960 179 tls_security_connector.cc:461] Update handshaker factory failed.
cube-1 | terminate called after throwing an instance of 'duckdb::InternalException'
cube-1 | what(): {"exception_type":"INTERNAL","exception_message":"Attempted to dereference unique_ptr that is NULL!"}
Expected behavior
Querying MotherDuck just works.
Screenshots
Minimally reproducible Cube Schema
cubes:
- name: testsql: SELECT 123 AS valuemeasures:
- name: counttype: countdimensions:
- name: valuesql: valuetype: number
Setting CUBEJS_DB_SSL=true does not change anything.
Describe the bug
If
CUBEJS_DB_DUCKDB_MOTHERDUCK_TOKEN
is specified for theduckdb
driver so that it connects to MotherDuck, then any query would result in an error. In Cube Cloud, the query would run indefinitely. In Cube Core, a container will exit after an interval.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Querying MotherDuck just works.
Screenshots
Minimally reproducible Cube Schema
Setting
CUBEJS_DB_SSL=true
does not change anything.Version:
v1.1.2, both in Cube Core and Cube Cloud
Additional context
Reported by at least two users in Slack: https://cube-js.slack.com/archives/C04NYBJP7RQ/p1723151261882389
The text was updated successfully, but these errors were encountered: