question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

S3 Upload has a HEAD error

See original GitHub issue

Something: 1、Use sample code 2、When I use s3 in Server and resume【tus-js-client】 is true. 3、if resume【tus-js-client】 is false, it’s works.

I got something error message: browser: 【tus-js-client】 Request URL: http://localhost:1080/files/736f45ef6e9cfbf31f0768e5a6d189e3 Request Method: HEAD Status Code: 404 Not Found Remote Address: 127.0.0.1:1080 Referrer Policy: no-referrer-when-downgrade。

server【tus-node-server】: { NoSuchUpload: The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed. at Request.extractError (/Users/hchfly/Items/novocare/tus-node-server-master/node_modules/aws-sdk/lib/services/s3.js:577:35) at Request.callListeners (/Users/hchfly/Items/novocare/tus-node-server-master/node_modules/aws-sdk/lib/sequential_executor.js:105:20) at Request.emit (/Users/hchfly/Items/novocare/tus-node-server-master/node_modules/aws-sdk/lib/sequential_executor.js:77:10) at Request.emit (/Users/hchfly/Items/novocare/tus-node-server-master/node_modules/aws-sdk/lib/request.js:683:14) at Request.transition (/Users/hchfly/Items/novocare/tus-node-server-master/node_modules/aws-sdk/lib/request.js:22:10) at AcceptorStateMachine.runTo (/Users/hchfly/Items/novocare/tus-node-server-master/node_modules/aws-sdk/lib/state_machine.js:14:12) at /Users/hchfly/Items/novocare/tus-node-server-master/node_modules/aws-sdk/lib/state_machine.js:26:10 at Request.<anonymous> (/Users/hchfly/Items/novocare/tus-node-server-master/node_modules/aws-sdk/lib/request.js:38:9) at Request.<anonymous> (/Users/hchfly/Items/novocare/tus-node-server-master/node_modules/aws-sdk/lib/request.js:685:12) at Request.callListeners (/Users/hchfly/Items/novocare/tus-node-server-master/node_modules/aws-sdk/lib/sequential_executor.js:115:18) message: ‘The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.’, code: ‘NoSuchUpload’, region: null, time: 2018-09-10T13:25:04.481Z, requestId: ‘D3168EF876ADD15B’, extendedRequestId: ‘US5kLdUCcYETMYXLmVy3/JV4nU7rXI5S36Zx7M1A8D3G2qwWndOldUH20w0ySnor7l7cir6LrOg=’, cfId: undefined, statusCode: 404, retryable: false, retryDelay: 58.48725473372862 } [S3Store] getOffset: No file found.

But I have to use s3 and I don’t know how to solve it? @Acconut @rictorres

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rictorrescommented, Oct 8, 2018

yes, i will try and debug this 😃

0reactions
hchflycommented, Dec 31, 2019

oh! I resolved it。 upload it to server and then upload it to s3, No problem in 2 years

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Responses - Amazon Simple Storage Service
Error Code Description HTTP Status Code AccessControlListNotSupported The bucket does not allow ACLs. 400 Bad Request AccessDenied Access Denied 403 Forbidden BucketAlreadyOwnedByYou 409 Conflict (in all...
Read more >
Troubleshoot HTTP 5xx errors from Amazon S3 - AWS re:Post
Amazon S3 can return one of the following 5xx status errors: ... The error code 500 Internal Error indicates that Amazon S3 can't...
Read more >
Upload of recorded live stream to S3 fails with 403 error
This is kind of strange as the request is authorized with credentials that provide full access to S3. I can upload files from...
Read more >
ECS S3 error codes
Error Code HTTP Status Code Generic Error Code AccessDenied 403 AccessDenied BadDigest 400 BadDigest BucketAlreadyExists 409 BucketAlreadyExists
Read more >
S3 — Boto3 Docs 1.26.37 documentation - Amazon AWS
CompleteMultipartUpload has the following special errors: Error code: EntityTooSmall. Description: Your proposed upload is smaller than the minimum allowed ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found