We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given: send the query When: the session is expired Then: the request should be retried with the newly obtained session
Expected result: The request is successfully made. Actual result: The exception is thrown:
System.InvalidOperationException: The request message was already sent. Cannot send the same request message multiple times.
The issue is in the HttpRequestMessage instance reuse during the retry. A new instance should be created for every request.
HttpRequestMessage
snowflake-db-net-client/Snowflake.Client/SnowflakeClient.cs
Line 231 in 3c2a17c
The text was updated successfully, but these errors were encountered:
@yzhoholiev Hi! Thanks for this report! This should be fixed now in 0.4.4.
Sorry, something went wrong.
No branches or pull requests
Given: send the query
When: the session is expired
Then: the request should be retried with the newly obtained session
Expected result: The request is successfully made.
Actual result: The exception is thrown:
The issue is in the
HttpRequestMessage
instance reuse during the retry. A new instance should be created for every request.snowflake-db-net-client/Snowflake.Client/SnowflakeClient.cs
Line 231 in 3c2a17c
The text was updated successfully, but these errors were encountered: