Skip to content

AWS Token expiration warning #64

@sivankumar86

Description

@sivankumar86

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions