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

AWS Token expiration warning #64

Open
sivankumar86 opened this issue Jan 7, 2025 · 1 comment
Open

AWS Token expiration warning #64

sivankumar86 opened this issue Jan 7, 2025 · 1 comment

Comments

@sivankumar86
Copy link

I could see many token expiry warning in the log. is it from snowflake or implementation bug ?

Error :

ingest-build-upload-thread-0] ERROR net.snowflake.client.jdbc.SnowflakeFileTransferAgent - Exception encountered during file upload in uploadWithoutConnection
net.snowflake.client.jdbc.SnowflakeSQLLoggedException: S3 operation failed: Operation=upload, Error type=Client, Error code=ExpiredToken, Error message=The provided token has expired. (Service: Amazon S3; Status Code: 400; Error Code: ExpiredToken; Request ID: ZWR5NNXFTGP; S3 Extended Request ID: HWh0kf8UUOLadhTXfCYIKiBLhKfyozUdERTcPBo8fZNevtSKx+ZGxeyWsDEYTmDUMaoSnoaTvP9UNX3pQWJLs6uGO0c1c4yVuVW9MLt2tXI=; Proxy: ), Request id=ZWR5NNXFTGPG, Extended request id=+ZGxeyWsDEYTmDUMaoSnoaTvP9UNX3pQWJLs6uGO0c1c4yVuVW9MLt2tXI=
at net.snowflake.client.jdbc.cloud.storage.SnowflakeS3Client.handleS3Exception(SnowflakeS3Client.java:862)
at net.snowflake.client.jdbc.cloud.storage.SnowflakeS3Client.upload(SnowflakeS3Client.java:668)
at net.snowflake.client.jdbc.SnowflakeFileTransferAgent.pushFileToRemoteStore(SnowflakeFileTransferAgent.java:2142)
at net.snowflake.client.jdbc.SnowflakeFileTransferAgent.uploadWithoutConnection(SnowflakeFileTransferAgent.java:2261)
at net.snowflake.ingest.streaming.internal.InternalStage.putRemote(InternalStage.java:169)
at net.snowflake.ingest.streaming.internal.InternalStage.put(InternalStage.java:335)
at net.snowflake.ingest.streaming.internal.FlushService.upload(FlushService.java:649)
at net.snowflake.ingest.streaming.internal.FlushService.buildAndUpload(FlushService.java:620)
at net.snowflake.ingest.streaming.internal.FlushService.lambda$distributeFlushTasks$13(FlushService.java:509)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

@sivankumar86
Copy link
Author

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