-
Notifications
You must be signed in to change notification settings - Fork 594
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
net::ERR_H2_OR_QUIC_REQUIRED error while uploading the data to S3 for package @aws-sdk/client-s3 from client side #6504
Comments
Hey @alphacoder-mp3 , The error message Here's what this error means: HTTP/2 or QUIC Required: The website you're trying to access has been configured to only accept connections using the HTTP/2 or QUIC protocols, which are newer and more efficient versions of the HTTP protocol. Browser Incompatibility: Your browser is unable to establish a connection using either HTTP/2 or QUIC protocols due to various reasons, such as:
To resolve this issue, you can try the following steps:
Please let me know if the steps above could solve this issue. Thanks! |
Thanks, Maggie, for the quick response. I've already performed the first, third, and fourth steps. My Chrome version is up-to-date, and I encountered the same issue on Safari. I even downloaded Arc browser and faced the same problem there. As for network-related settings, I’m not entirely sure if anything specific could be interfering. I also tried connecting to other Wi-Fi connections and mobile hotspots, but it still didn’t work. However, I tried using XMLHttpRequest for the upload with progress tracking instead of fetch, and it worked for this following approach for upload! Below is the code:
Thanks again for your help! |
Checkboxes for prior research
Describe the bug
Regression Issue
SDK version number
"@aws-sdk/client-s3": "^3.654.0"
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.14.0
Reproduction Steps
Following is the code snippet for UPLOAD FILES in S3 Bucket from client side:
Observed Behavior
When the s3 upload api is getting called, it is giving this error in its status in network tab status. I was implementing this with next js.
net::ERR_H2_OR_QUIC_REQUIRED
Expected Behavior
It should upload the file and return back the resolved url of S3.
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: