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

tokio-runtime-worker panicking, causing queries to always fail #153

Open
ablyler opened this issue Nov 9, 2024 · 0 comments
Open

tokio-runtime-worker panicking, causing queries to always fail #153

ablyler opened this issue Nov 9, 2024 · 0 comments

Comments

@ablyler
Copy link

ablyler commented Nov 9, 2024

I have setup a sqlserver connection that is pointing to an instance on Azure, I followed the documentation and have a connection string that looks like (with different values): Driver={ODBC Driver 17 for SQL Server};Server=myServerAddress;Database=myDataBase;UID=myUsername;PWD=myPassword;

I was able to introspect and add the models, commands, and relationships successfully. However, when I attempt to run a query it always ends with a tokio-runtime-worker panick:

app_my_mssql-1    | {"timestamp":"2024-11-09T13:05:58.333160Z","level":"INFO","fields":{"message":"\nGenerated SQL: SELECT ISNULL([2_rows].[rows], '[]') AS [rows] FROM (SELECT [0_Features].[FeatureDescription] AS [featureDescription], [0_Features].[FeatureName] AS [featureName] FROM [dbo].[Features] AS [0_Features] FOR JSON PATH, INCLUDE_NULL_VALUES ) AS [2_rows]([rows]) FOR JSON PATH, INCLUDE_NULL_VALUES, WITHOUT_ARRAY_WRAPPER\nWith params: []\nAnd variables: None"},"target":"query_engine_execution::query","span":{"name":"Execute query"},"spans":[{"method":"POST","uri":"/query","version":"HTTP/1.1","name":"request"},{"name":"Execute query"},{"name":"Execute query"}]}
app_my_mssql-1    | {"timestamp":"2024-11-09T13:05:58.843510Z","level":"INFO","fields":{"message":"Performing a TLS handshake"},"target":"tiberius::client::connection"}
app_my_mssql-1    | {"timestamp":"2024-11-09T13:05:58.843585Z","level":"INFO","fields":{"message":"Performing a TLS handshake"},"target":"tiberius::client::tls_stream::rustls_tls_stream"}
app_my_mssql-1    | {"timestamp":"2024-11-09T13:05:58.843979Z","level":"INFO","fields":{"message":"Using default trust configuration."},"target":"tiberius::client::tls_stream::rustls_tls_stream"}
app_my_mssql-1    | thread 'tokio-runtime-worker' panicked at /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/tiberius-0.12.2/src/client/tls_stream/rustls_tls_stream.rs:212:9:
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