Always getting SignatureDoesNotMatch
error for get_presigned_url
for file upload
#19730
Unanswered
AlexanderPershin
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Also, I'm getting the same behavior in production, when Flask app creates |
Beta Was this translation helpful? Give feedback.
0 replies
-
Most likely your host name is changed in the request. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Expected Behavior
When function
get_presigned_url
called with argumentmethod = 'PUT'
correctly signed URL created, which when pasted in browser allows to upload the fileCurrent Behavior
The error message returned instead of the file upload:
Possible Solution
Min.io configuration change, adding nginx proxy server
Steps to Reproduce (for bugs)
start_minio.sh
#!/bin/bash MINIO_ROOT_USER=admin MINIO_ROOT_PASSWORD=password minio server /opt/minio --console-address :9001
main.py
to upload the file:Context
I'm trying to create video streaming service, where files should be uploaded directly to Min.io using
presigned_url
Your Environment
minio --version
):Min.io running locally on my machine
Fedora 39, kernel 6.8.9-200.fc39.x86_64 (64-bit)
Beta Was this translation helpful? Give feedback.
All reactions