S3 feature doesn't work with MinIO server

Advertisement

mattn
mattn avatar
Joined:
Posts:
4
Location:
Japan

S3 feature doesn't work with MinIO server

Minio is an object storage server that compatible with Amazon S3. But, since WinSCP seems look {bucket}+hostname, it doesn't work on MinIO server. Do you have plan to support S3 compatible servers?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: s3 feature doesn't work with minio server

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

mattn
mattn avatar
Joined:
Posts:
4
Location:
Japan

Re: s3 feature doesn't work with minio server

Sorry, It will be in later since my MinIO server works on my office. I will take few days to take the logs. But you can understand why this occurred. See S3FileSystem.cpp:491
Result.uriStyle = S3UriStyleVirtualHost;
For S3 compatible servers, uriStyle should be S3UriStylePath.

Reply with quote

Gianni
Joined:
Posts:
2
Location:
Italy

Re: s3 feature doesn't work with minio server

Also, MinIO generates a URL like http://127.0.0.1:9000
If you select S3 and paste this URL, WinSCP switches to WebDAV automatically.

Reply with quote

Advertisement

Gianni
Joined:
Posts:
2
Location:
Italy

I've uploaded a log session. Note that it tries to connect to port 443 instead of 9000 because it forces https
  • s3.log (8.58 KB, Private file)
Description: log session

Reply with quote

martin
Site Admin
martin avatar

Thanks for the information. I've set up MinIO server myself, so I can now reproduce the problem.
I'll see if more people ask for support of MinIO server.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Force SSL

@axer: Sorry, I do not understand the purpose of your post. Are you asking how to connect with S3 to a server that does not support TLS/SSL?

Reply with quote

Advertisement

iany
Guest

Re: Force SSL

Hi Martin, I have the same problem. We need a way to connect to a S3 compatible server without TLS.. I have a private S3 object server using MinIO (but could be any other S3 compatible).. When configuring a new S3 "Amazon S3" protocol in WinSCP we can't disable TLS/SSL (in Advanced we can only set the minimum version) .. and if we put in host name something like http://example.com/ it switches to WebDAV.. Can you please take a look into it? Thank you :)

Reply with quote

Advertisement

You can post new topics in this forum