Connection error when retrieve files on S3 disk (MinIO) using HTTPS domain #55410
Unanswered
yeondevelope
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue description
I'm having a connection error when I trying to connect to a MinIO (S3) server over HTTPS, It just happens with HTTPS (using a domain name) because when I use HTTP (with IP address) it works fine. Let me give you an example of what I mean.
When I trying to access using HTTPS
https://minio.mydomain.com
I get errors when retrieving files like:Unable to check existence
, when just trying to validate the existence of the file in the bucketUnable to retrieve the file_size for file at location
when file is already uploaded to the livewire'slivewire-tmp
But magically when using just HTTP
http://192.168..:9000
the files can be retrieved and uploaded.I don't know if It's something with my
filesystem.php
disk configuration or something else. At first glance I thought it was because of myuse_path_style_endpoint
but I change it totrue
, and it still not working. I've already did a test request using postman and it perfectly works with the key and secret credentials, and using a domain (https://minio.mydomain.com/bucket-name/image.png
) with SSL certificates and it works fine.Partial (and insecure) solution
As I've alredy try using Minio (S3) disk with a domain name, and a valid Cloudflared SSL certificate (like
https://minio.mydomain.com/bucket-name/...
), I get constantly error messages for JUST retrieving files and NOT for uploading files.So I've decide to use OpenSSL certificates, and added to MinIO to serve as HTTPS with a local IP address (
https://192.168..:9000
) instead of the domain (which for sure will make a security gap if the app is served in a reverse proxy like Cloudflared Tunnel), but will work for now.Resume
Steps To Reproduce
Livewire's use case
Laravel's use case
I guess there's some good reason for this error to happen. I would really appreciate your help
Beta Was this translation helpful? Give feedback.
All reactions