You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
addTask sets default expiry time in SAS token too short for long running jobs #363
When adding a task, the creation of the upload token for the standard job files like the file 1.txt containing the log of task 1 ignores if the user maybe has set a longer expiry time for their output files.
In my case I have long running tasks and changed the following line from the documentation example
# make token expire 20 days after creationwriteToken<-storageClient$generateSasToken("w", "c", outputFolder, end= Sys.time() +60*60*24*20)
So the SAS token for my output files now has the se parameter in the URI like this: [...]&se=2019-08-18T11%3A11%3A48Z&[...]
while in the URI for 1.txt it looks like this: [...]&se=2019-07-31T11%3A11%3A59Z&[...]
so my own upload gets ignored because the task crashes with a FileUploadAccessDenied Error for the 1.txt before my upload is run.
Activity
Fix: Option to set maximum expiry date for task completion upload tokens