Any advice on timeouts I am getting with DVUploader - uploading 350GB file. I am getting timeout errors, I know why, just need to figure out how to keep the S3 "URLs" - parts open and not time out.
Error response: HTTP/1.1 403 Forbidden : <?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Request has expired</Message><X-Amz-Expires>3599</X-Amz-Expires><Expires>2024-03-21T16:18:09Z</Expires><ServerTime>2024-03-21T16:18:14Z</ServerTime><RequestId>4FH0FYK8QHER1BZP</RequestId><HostId>Cnn6zpUyPNgTnWd7lgMUa3WTnO62P7Y3v0uORF+NszVmh2FsbD0ceztzUDYQhgelZ5J7Tp60gDg=</HostId></Error>
Retrying upload of part: 118
Upload of part: 118 failed with status: 403 (retrying)
Might be a Jim question, which I asked in Slack.
@Deirdre Kirmis How did you get over the "time out", or are you using S3?
Thanks.
Update from Jim in Slack:
Yes - there's a dataverse.files.<id>.url-expiration-minutes setting described in https://guides.dataverse.org/en/latest/installation/config.html#second-configure-your-dataverse-installation-to-use-s3-storage. The default is 60 minutes.
looking into this to remember .. i do know that we had to set Timeout and ProxyTimeout in our apache config as well as the database timeout option
Timeout 6000
ProxyTimeout 6000
and we are using S3
here is the command that worked for us at the time, but I think there have been changes (ie: not requiring the -directupload flag)
java -jar DVUploader-v1.2.0beta3.jar -recurse -directupload -key=<your api token> -did=doi:10.48349/ASU/<your dataset code> -server=https://dataverse.asu.edu <directory path>
do you have CORS rules set on your s3 bucket?
Here are our CORS rules:
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET",
"PUT"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": [
"ETag"
],
"MaxAgeSeconds": 0
}
]
that looks okay .. i think .. i finally found the email thread that I had with Jim M when we were trying to make this all work, and I was getting the exact same error ..
.. i need to compile this whole thing into some kind of guide or something because there is so much valuable info that we got from jim's brilliant mind in it about how direct upload works .. i will send it to you
.. one thing that I can see is that we set the dataverse.files.<id>.url-expiration-minutes to 480 .. what is yours set to? and we definitely used the 1.1.2 beta version of dvuploader .. an yea the proxy timeouts didn't really matter
Adding more docs, especially for troubleshooting, to the guide would be much appreciated!
okay, I will see if I can organize it a little and then send it on :smile:
setting this parameter worked
:there's a dataverse.files.<id>.url-expiration-minutes setting described in https://guides.dataverse.org/en/latest/installation/config.html#second-configure-your-dataverse-installation-to-use-s3-storage. The default is 60 minutes.
I tried to mark this as resolved, but could not resolve - "issues" older than 7 days. So if someone with more power than me can resolve, Thanks.
Philip Durbin has marked this topic as resolved.
Done! I resolved this topic.
Last updated: Oct 30 2025 at 06:21 UTC