SNOW-1462365: ERRPR : PAD BLOCK CORRUPTED => works locally, but not when deployed to k8s pod. #960
Labels
enhancement
The issue is a request for improvement or a new feature
status-triage_done
Initial triage done, will be further handled by the driver team
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of .NET driver are you using?
Snowflake.Data - 3.1.0
What operating system and processor architecture are you using?
macOS Sonoma Version 14.5
What version of .NET framework are you using?
.net core 7.0.314
What did you do?
I have the below code to connect to Snowflake and run a query
Running locally, using VS Code, I am able to connect and fetch the results successfully as expected.
However, when the app is deployed to k8s, I see the below error, when the same certificate file (or it's contents) are used to
query Snowflake
I have tried using both "PRIVATE_KEY" and "PRIVATE_KEY_FILE" and they both result in the pad block corrupted error when running from k8s.
I used the below docker ADD command to copy the p8 file during the application deployment. Both COPY and ADD end up in the same above error
Can you set logging to DEBUG and collect the logs?
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
There is an example in READMD.md file showing you how to enable logging.
What is your Snowflake account identifier, if any? (Optional)
The text was updated successfully, but these errors were encountered: